<div dir="ltr">Dear Wang,<br><br>In principle both the scf &amp; nscf should give exactly the same value of Fermi energy if your calculations are converged w.r.t. the k-point sampling&nbsp; (since evaluation of Fermi energy involves numerical integration in k-space). The fact that that the two procedures give different energies suggest that the k-point mesh is not converged. Since these are numerical integrations, the more the no of k-points the more accurate is the value of the integral. Therefore for Guoying&#39;s case, the value of Fermi energy obtained from scf is more accurate than that from nscf as suggested by Hande.<br>

<br>If the difference in Fermi energy is quite large, what I would suggest is to increase the no. of k-points in the nscf cal. &amp; redo it.<br><br>With regards,<br><br>Prasenjit.<br>


<br><div class="gmail_quote">2008/8/13 wangxinquan <span dir="ltr">&lt;<a href="mailto:wangxinquan@tju.edu.cn" target="_blank">wangxinquan@tju.edu.cn</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div style="font-size: 10pt; font-family: verdana;">
<div align="left"><font face="Verdana" size="2">&gt;&gt;Dear&nbsp;Guoying</font></div>
<div align="left">&gt;&gt;</div>
<div align="left">&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scf:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;k-mesh&nbsp;grids&nbsp;&nbsp;&nbsp;10*10*10&nbsp;&nbsp;(282kpoints&nbsp;in</div>
<div align="left">&gt;&gt;&nbsp;*.scf.out&nbsp;file)</div>
<div align="left">&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nscf:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;we&nbsp;give&nbsp;121&nbsp;kpoints&nbsp;along&nbsp;high&nbsp;symmetry&nbsp;direction</div>
<div align="left">&gt;&gt;&nbsp;</div>
<div align="left">&gt;&gt;</div>
<div align="left">&gt;&gt;In&nbsp;order&nbsp;to&nbsp;find&nbsp;the&nbsp;Fermi&nbsp;energy,&nbsp;the&nbsp;code&nbsp;performs&nbsp;an&nbsp;integration&nbsp;in</div>
<div align="left">&gt;&gt;k-space&nbsp;and&nbsp;this&nbsp;integration&nbsp;is&nbsp;of&nbsp;course&nbsp;numerically&nbsp;performed&nbsp;over&nbsp;the</div>
<div align="left">&gt;&gt;kpoints&nbsp;you&nbsp;provide.&nbsp;In&nbsp;the&nbsp;nscf&nbsp;run,&nbsp;you&nbsp;provide&nbsp;a&nbsp;highly&nbsp;heterogeneous</div>
<div align="left">&gt;&gt;set&nbsp;of&nbsp;kpoints&nbsp;so&nbsp;the&nbsp;Fermi&nbsp;energy&nbsp;you&nbsp;get&nbsp;is&nbsp;not&nbsp;the&nbsp;same&nbsp;as&nbsp;the&nbsp;scf</div>
<div align="left">&gt;&gt;solution&nbsp;where&nbsp;the&nbsp;BZ&nbsp;is&nbsp;sampled&nbsp;more&nbsp;evenly&nbsp;(and&nbsp;also&nbsp;more&nbsp;densely&nbsp;in&nbsp;your</div>
<div align="left">&gt;&gt;case).&nbsp;As&nbsp;a&nbsp;result,&nbsp;you&nbsp;should&nbsp;trust&nbsp;the&nbsp;scf&nbsp;result.</div>
<div align="left">&nbsp;</div>
<div align="left">Dear Guoying,</div>
<div align="left">&nbsp;</div>
<div align="left">&nbsp;&nbsp;&nbsp; In my opinion, you should use the nscf 
results if you want to calculate the band</div>
<div align="left">structure. According to the example 08&nbsp;of espresso-4.0.1, 
the calculation </div>
<div align="left">of DOS for Ni follows&nbsp;three steps:1. pw.x 
(scf);2.pw.x(nscf);3.dos.x(dos). The calculation </div>
<div align="left">of nscf&nbsp;modifies the wavefunctions obtained by scf 
calculations. You will see</div>
<div align="left">that the k-points were identified&nbsp;manually in scf while 
they were automatically&nbsp;selected in</div>
<div align="left">nscf.&nbsp;So the Fermi energy used in band structure 
calculation should&nbsp;be the result from nscf.</div>
<div align="left">&nbsp;&nbsp;&nbsp; I&#39;m not sure&nbsp;that the 
above&nbsp;suggestions&nbsp;are absolutely right. It&#39;s just my limited 
experience.</div>
<div align="left">&nbsp;You&#39;d better&nbsp;investigate&nbsp;the README file in the 
example 08 by yourself.</div>
<div align="left">&nbsp;&nbsp;&nbsp; Hope this help.</div>
<div align="left">&nbsp;</div>
<div align="left">Cheers,</div>
<div align="left">XQ Wang</div>
<div align="left">&nbsp;</div>
<div align="left">
<div><font face="Verdana" size="2">
<p style="margin: 0cm 0cm 0pt;"><span lang="FR"><font size="3"><font face="Times New Roman">=====================================</font></font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span lang="FR"><font size="3"><font face="Times New Roman">X.Q. Wang </font></font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span lang="FR"><a href="mailto:wangxinquan@tju.edu.cn" target="_blank"><font face="Times New Roman" size="3">wangxinquan@tju.edu.cn</font></a></span></p>
<p style="margin: 0cm 0cm 0pt;"><font size="3"><font face="Times New Roman"><span lang="EN-US">School</span><span lang="EN-US"> of Chemical Engineering</span><span lang="EN-US"> and Technology</span></font></font></p>
<p style="margin: 0cm 0cm 0pt;"><font size="3"><font face="Times New Roman"><span lang="EN-US">Tianjin</span><span lang="EN-US"> 
University</span></font></font></p>
<p style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman" size="3">92 Weijin Road, Tianjin, P. R. 
China</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman" size="3">tel:86-22-27890268, fax: 
86-22-27892301</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman" size="3">=====================================</font></span></p></font></div></div>
<div align="left">&nbsp;</div>
<div align="left">&nbsp;</div></div>
<br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>PRASENJIT GHOSH,<br>POST-DOC,<br>ROOM NO: 265, MAIN BUILDING,<br>CM SECTION, ICTP,<br>STRADA COSTERIA 11,<br>TRIESTE, 34104,<br>ITALY<br>PHONE: +39 040 2240 369 (O)<br>




 +39 3807528672 (M)<br>
</div>