<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'>Hi,<br><br>In addition to Stefano's comment I would recommend check your input file by means of XCrysDen&nbsp; in order to see whether you have correct structure. At this time it seems to be incorrect. <br><br>Besides, use lower convergence threshold, conv_thr=1d-8, 1e-6 looks quite high.<br><br>Bests,<br>Eyvaz.<br><br>-------------------------------------------------------------------<br>
Prof. Eyvaz Isaev, <br>
Theoretical Physics Department, Moscow State Institute of Steel &amp; Alloys, Russia, <br>
Department of Physics, Chemistry, and Biology (IFM), Linkoping University, Sweden <br>
Condensed Matter Theory Group, Uppsala University, Sweden <br>
Eyvaz.Isaev@fysik.uu.se, isaev@ifm.liu.se, eyvaz_isaev@yahoo.com<br><br>--- On <b>Wed, 7/9/08, Stefano Baroni <i>&lt;baroni@sissa.it&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Stefano Baroni &lt;baroni@sissa.it&gt;<br>Subject: Re: [Pw_forum] negative value of polarization and Z* for Pb in Tetragonal PbTiO3 and discrepancy<br>To: "sathya subramanyan" &lt;sathya_sheela1985001@rediffmail.com&gt;, "PWSCF Forum" &lt;pw_forum@pwscf.org&gt;<br>Date: Wednesday, July 9, 2008, 3:53 AM<br><br><div id="yiv1925734647">what I was suggesting is that YOU perform a convergence test and ley us know ...<div>SB</div><div><br><div><div>On Jul 8, 2008, at 6:44 PM, sathya subramanyan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p> &nbsp; Dear Sir,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I have checked the k -point sampling for the tetragonal PbTiO3 and I hope
 that the k-point sampling is alright. I am giving below the input file for your reference. Pl, let me know if anything is wrong in the input.:<br> <br> &nbsp;  THE I/P FILE FOR TETRAGONAL PbTiO3<br> <br> &amp;CONTROL<br> &nbsp; &nbsp;  calculation&nbsp; = 'nscf'<br> &nbsp; &nbsp;  pseudo_dir&nbsp; &nbsp; = '/home/nbaski/espresso-4.0/pseudo/'<br> &nbsp; &nbsp;  outdir&nbsp; &nbsp; &nbsp; &nbsp; = '/home/nbaski/tmp/'<br> &nbsp; &nbsp; lberry&nbsp; &nbsp; &nbsp; &nbsp; = .true.<br> &nbsp; &nbsp;  gdir&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3<br> &nbsp; &nbsp;  nppstr&nbsp; &nbsp; &nbsp; &nbsp; = 7<br> /<br> &amp;SYSTEM<br> &nbsp; &nbsp;  ibrav&nbsp; &nbsp; &nbsp; &nbsp; = 6<br> &nbsp; &nbsp; &nbsp; celldm(1)&nbsp; &nbsp; = 7.3415<br> &nbsp; &nbsp;  celldm(3)&nbsp; &nbsp; = 1.0653<br> &nbsp; &nbsp;  nat&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5<br> &nbsp; &nbsp;  ntyp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3<br> &nbsp; &nbsp;  nbnd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
 22<br> &nbsp; &nbsp;  ecutwfc&nbsp; &nbsp; &nbsp; = 30.0<br> &nbsp; &nbsp;  occupations&nbsp; = 'fixed'<br> &nbsp; &nbsp;  degauss&nbsp; &nbsp; &nbsp; = 0.00<br> /<br> &amp;ELECTRONS<br> &nbsp;  conv_thr&nbsp; &nbsp; &nbsp; = 1e-5<br> &nbsp; &nbsp;  mixing_beta&nbsp; = 0.3<br> /<br> ATOMIC_SPECIES<br> &nbsp;  Pb&nbsp; 207.2&nbsp; &nbsp; &nbsp; Pb.vdb.UPF<br> &nbsp;  Ti&nbsp; &nbsp; 47.867&nbsp; &nbsp; Ti.vdb.UPF<br> &nbsp;  O&nbsp; &nbsp; 15.9994&nbsp; O.vdb.UPF<br> ATOMIC_POSITIONS<br> &nbsp;  Pb&nbsp; &nbsp; 0.00000&nbsp; &nbsp; 0.00000&nbsp; &nbsp; 0.01000<br> &nbsp;  Ti&nbsp; &nbsp; 0.50000&nbsp; &nbsp; 0.50000&nbsp; &nbsp; 0.53770<br> &nbsp;  O&nbsp; &nbsp; 0.50000&nbsp; &nbsp; 0.50000&nbsp; &nbsp; 0.11180<br> &nbsp;  O&nbsp; &nbsp; 0.00000&nbsp; &nbsp; 0.50000&nbsp; &nbsp; 0.61740<br> &nbsp;  O&nbsp; &nbsp; 0.50000&nbsp; &nbsp; 0.00000&nbsp; &nbsp; 0.61740<br> K_POINTS {automatic}<br> &nbsp;  4 4 7&nbsp; 1 1 1<br> <br> <br> <br> <br> <br> Thank
 you in advance for any help<br> SATHYA SHEELA.S<br> Grad. Student<br> Department of Physics<br> National Institute of Technology<br> Tiruchirapalli <br> <br> <br> On Fri, 27 Jun 2008 Stefano Baroni wrote :<br> &gt;the sum of the all the effective charges should be zero for any&nbsp; structure, due dynamical charge neutrality (or acoustic sum rule, or&nbsp; whatever you want to call the fact that a homogeneouse electric field&nbsp; will not exert a net (and infinite!) force on a crystal. Vioation of&nbsp; this charge neutrality/acoustic sum rule are often due to numerical&nbsp; inaccuracy, often inaccurate k-point sampling. you may want to check&nbsp; the convergence of your calculations with respect to the number of k&nbsp; points and/or try to calculate the effective charges using linear- response theory. SB<br> &gt;<br> &gt;On Jun 27, 2008, at 11:51 AM, sathya subramanyan wrote:<br> &gt;<br> &gt;&gt;<br> &gt;&gt;Dear Developers,<br> &gt;&gt;&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  I am trying to calculate the Berry Phaze&nbsp; Polarization and effective charge on Pb(with the displacement of . 01*ao) for PbTiO3(tetragonal) but am getting a negative value, using&nbsp; quantum espresso ver 4.0.<br> &gt;&gt;<br> &gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  When I run the example 10 for cubic phase the&nbsp; polarization and the Z* comes out to be alright. But, when I try for&nbsp; tetragonal phase, I am getting negative ionic phase leading to&nbsp; negative polarization for Pb.<br> &gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  If I compare the out put file for both cubic and&nbsp; tertragonal phase, to my surprise in the cubic phase the total ionic&nbsp; phase comes out to be positive (actually, if you sum it is&nbsp; negative), where as in the case of tetragonal phase the ionic phase&nbsp; comes out to be negative (but, it is positive if you sum
 the same&nbsp; way as for the cubic).<br> &gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  I do not understand this differrent summing rule for&nbsp; different phases. I am attaching both the input and out files for&nbsp; cubic and tetragonal phases. I would appreciate any useful&nbsp; suggestions to clear this point.<br> &gt;&gt;I am very sorry for the long mail and data files.<br> &gt;&gt;<br> &gt;&gt;- 620015<br> &gt;&gt;India<br> &gt;&gt;<br> &gt;&gt;_______________________________________________<br> &gt;&gt;Pw_forum mailing list<br> &gt;&gt;<a rel="nofollow" target="_blank" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br> &gt;&gt;<a rel="nofollow" target="_blank" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a><br> &gt;<br> &gt;---<br> &gt;Stefano Baroni - SISSA&nbsp; &amp;&nbsp; DEMOCRITOS National Simulation Center -&nbsp; Trieste<br> &gt;<a rel="nofollow"
 target="_blank" href="http://www.sissa.it/%7Ebaroni">http://www.sissa.it/~baroni</a> / [+39] 040 3787 406 (tel) -528 (fax) /&nbsp; stefanobaroni (skype)<br> &gt;<br> &gt;La morale est une logique de l'action comme la logique est une morale&nbsp; de la pensée - Jean Piaget<br> &gt;<br> &gt;Please, if possible, don't&nbsp; send me MS Word or PowerPoint attachments<br> &gt;Why? See:&nbsp; <a rel="nofollow" target="_blank" href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html</a><br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> </p> <br><br> <table style="font-family: Verdana; font-size: 11px; line-height: 15px;" border="0" cellpadding="0" cellspacing="0" height="57" width="644"><tbody><tr><td><a rel="nofollow" target="_blank"
 href="http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/2206641_2199021/2201649/1?PARTNER=3&amp;OAS_QUERY=null"><img src="http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/2206641_2199021/creative_2201649.gif" alt="Rediff Shopping" border="0"></a></td></tr></tbody></table>_______________________________________________<br>Pw_forum mailing list<br><a rel="nofollow" target="_blank" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>http://www.democritos.it/mailman/listinfo/pw_forum<br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style=""><span
 class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px;
 text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style=""><div><div style="margin: 0px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">---</span></font></div><div style="margin: 0px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Stefano Baroni - SISSA</span></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp;</span></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">&amp;</span></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp;</span></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">DEMOCRITOS National Simulation Center - Trieste</span></font></div><div style="margin: 0px;"><font
 class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><a rel="nofollow" target="_blank" href="http://www.sissa.it/%7Ebaroni">http://www.sissa.it/~baroni</a> /&nbsp;[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)</span></font></div><div style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; min-height: 14px; font-size: 12px;"><br style="font-size: 12px;"></div><div style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; min-height: 14px; font-size: 12px;"><span class="Apple-style-span" style="font-size: 14px;"><div style="margin: 0px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:
 12px;">La morale est une logique de l'action comme la logique est une morale de la pensée - Jean Piaget</span></font></div><div style="margin: 0px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div></span></div><div style="margin: 0px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Please, if possible, don't</span></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp;</span></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">send me MS Word or PowerPoint attachments</span></font></div><div style="margin: 0px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Why? See:</span></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:
 12px;">&nbsp;&nbsp;</span></font><font class="Apple-style-span" size="3" color="#0023e9"><span class="Apple-style-span" style="font-size: 12px;"><a rel="nofollow" target="_blank" href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html</a></span></font></div><div><font class="Apple-style-span" size="3" color="#0023e9"><span class="Apple-style-span" style="font-size: 12px;"><br class="webkit-block-placeholder"></span></font></div></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></div><pre>_______________________________________________<br>Pw_forum mailing list<br>Pw_forum@pwscf.org<br>http://www.democritos.it/mailman/listinfo/pw_forum</pre></blockquote></td></tr></table><br>