Hi, Deng,<br>&nbsp;this error is due to more or less lines you give in the input file.&nbsp; I checked the subroutine, and found that this error will be called for two situations , the one is wrong format, the other is wrong lines. Since your format for kpoints card is right, i think the most probability is wrong lines you gave . This situation may be due to transferring files from windows to linux.<br>
<br>Regards,<br><div class="gmail_quote">On Mon, Feb 23, 2009 at 12:43 PM, 潘登 <span dir="ltr">&lt;<a href="mailto:panda.deng.pan@gmail.com">panda.deng.pan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear All,<br>
<br>
 &nbsp;I was trying to do a Band calculation, and I got a error message like this :<br>
<br>
 &nbsp; &nbsp; &nbsp;from card_kpoints : error # &nbsp; &nbsp; &nbsp; &nbsp; 1<br>
 &nbsp; &nbsp; &nbsp;error or end of file while reading tpiba k points<br>
<br>
The inputs is :<br>
<br>
&nbsp;&amp;control<br>
 &nbsp; &nbsp; calculation = &#39;bands&#39;<br>
 &nbsp; &nbsp; restart_mode=&#39;from_scratch&#39;<br>
 &nbsp; &nbsp; prefix=&#39;BaNiAs&#39;,<br>
 &nbsp; &nbsp; pseudo_dir = &#39;/disk2/xgwan/Quantum-Espresso/espresso-4.0.3/pseudo/&#39;,<br>
 &nbsp; &nbsp; outdir=&#39;/disk2/xgwan/tmp/&#39;<br>
 &nbsp; &nbsp; wf_collect=.true.<br>
&nbsp;/<br>
&nbsp;&amp;system<br>
 &nbsp; &nbsp; ibrav=7,<br>
 &nbsp; &nbsp; celldm(1)=7.7702,<br>
 &nbsp; &nbsp; celldm(3)=2.806,<br>
 &nbsp; &nbsp; nat=10,<br>
 &nbsp; &nbsp; ntyp=3,<br>
 &nbsp; &nbsp; ecutwfc = 40.0<br>
 &nbsp; &nbsp; occupations= &#39;tetrahedra&#39;<br>
&nbsp;/<br>
&nbsp;&amp;electrons<br>
 &nbsp; &nbsp; diagonalization = &#39;cg&#39;<br>
 &nbsp; &nbsp; mixing_beta = 0.7<br>
 &nbsp; &nbsp; conv_thr = &nbsp;1.0d-6<br>
&nbsp;/<br>
ATOMIC_SPECIES<br>
&nbsp;Ba 56.00 Ba.pbe-nsp-van.UPF<br>
&nbsp;Ni 28.00 Ni.pbe-nd-rrkjus.UPF<br>
&nbsp;As 33.00 As.pbe-n-van.UPF<br>
ATOMIC_POSITIONS {crystal}<br>
&nbsp;Ba 0.0000 0.0000 &nbsp;0.0000<br>
&nbsp;Ba 0.0000 0.0000 &nbsp;0.5000<br>
&nbsp;Ni 0.5000 0.0000 &nbsp;0.2500<br>
&nbsp;Ni 0.0000 0.5000 &nbsp;0.2500<br>
&nbsp;Ni 0.5000 0.0000 &nbsp;0.7500<br>
&nbsp;Ni 0.0000 0.5000 &nbsp;0.7500<br>
&nbsp;As 0.0000 0.0000 &nbsp;0.3476<br>
&nbsp;As 0.0000 0.0000 &nbsp;0.6524<br>
&nbsp;As 0.0000 0.0000 &nbsp;0.8476<br>
&nbsp;As 0.0000 0.0000 &nbsp;0.1524<br>
K_POINTS<br>
&nbsp;311<br>
 &nbsp;-0.500 &nbsp;0.500 &nbsp;0.500 &nbsp;1<br>
 &nbsp;-0.495 &nbsp;0.495 &nbsp;0.495 &nbsp;2<br>
 &nbsp;-0.490 &nbsp;0.490 &nbsp;0.490 &nbsp;3<br>
 &nbsp;-0.485 &nbsp;0.485 &nbsp;0.485 &nbsp;4<br>
 &nbsp;-0.480 &nbsp;0.480 &nbsp;0.480 &nbsp;5<br>
...<br>
...<br>
<br>
I knew errors happened in the K_POINTS. And I have checked for many<br>
times, but I could not find where is the error.Would someone point it<br>
out for me ? Thanks a lot.<br>
<br>
Have nice day!<br>
<br>
Pan Deng<br>
Nanjing University<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">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>
</blockquote></div><br><br clear="all"><br>-- <br>Hai-Ping Lan <br>Department of Electronics ,<br>Peking University , Bejing, 100871<br><a href="mailto:lanhaiping@gmail.com">lanhaiping@gmail.com</a>, <a href="mailto:hplan@pku.edu.cn">hplan@pku.edu.cn</a><br>