Hi, Deng,<br> this error is due to more or less lines you give in the input file. 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"><<a href="mailto:panda.deng.pan@gmail.com">panda.deng.pan@gmail.com</a>></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>
I was trying to do a Band calculation, and I got a error message like this :<br>
<br>
from card_kpoints : error # 1<br>
error or end of file while reading tpiba k points<br>
<br>
The inputs is :<br>
<br>
&control<br>
calculation = 'bands'<br>
restart_mode='from_scratch'<br>
prefix='BaNiAs',<br>
pseudo_dir = '/disk2/xgwan/Quantum-Espresso/espresso-4.0.3/pseudo/',<br>
outdir='/disk2/xgwan/tmp/'<br>
wf_collect=.true.<br>
/<br>
&system<br>
ibrav=7,<br>
celldm(1)=7.7702,<br>
celldm(3)=2.806,<br>
nat=10,<br>
ntyp=3,<br>
ecutwfc = 40.0<br>
occupations= 'tetrahedra'<br>
/<br>
&electrons<br>
diagonalization = 'cg'<br>
mixing_beta = 0.7<br>
conv_thr = 1.0d-6<br>
/<br>
ATOMIC_SPECIES<br>
Ba 56.00 Ba.pbe-nsp-van.UPF<br>
Ni 28.00 Ni.pbe-nd-rrkjus.UPF<br>
As 33.00 As.pbe-n-van.UPF<br>
ATOMIC_POSITIONS {crystal}<br>
Ba 0.0000 0.0000 0.0000<br>
Ba 0.0000 0.0000 0.5000<br>
Ni 0.5000 0.0000 0.2500<br>
Ni 0.0000 0.5000 0.2500<br>
Ni 0.5000 0.0000 0.7500<br>
Ni 0.0000 0.5000 0.7500<br>
As 0.0000 0.0000 0.3476<br>
As 0.0000 0.0000 0.6524<br>
As 0.0000 0.0000 0.8476<br>
As 0.0000 0.0000 0.1524<br>
K_POINTS<br>
311<br>
-0.500 0.500 0.500 1<br>
-0.495 0.495 0.495 2<br>
-0.490 0.490 0.490 3<br>
-0.485 0.485 0.485 4<br>
-0.480 0.480 0.480 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>