<html><head></head><body bgcolor="#FFFFFF"><div>Thanks Duy. I changed it to 25 but it still gives error. <br></div><div><br>On Jun 27, 2012, at 6:27 PM, Duy Le <<a href="mailto:ttduyle@gmail.com">ttduyle@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>You should check out how many bands you have in your calculations. It looks like to me that you don't have that many bands.<div>6 C + 1 Li -> 25 electrons????<br clear="all">----------------------------------------------------<br>

Duy Le<br>Postdoctoral Associate<br>Department of Physics<br>University of Central Florida.<br>Website: <a href="http://www.physics.ucf.edu/~dle" target="_blank">http://www.physics.ucf.edu/~dle</a><br>
<br><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 6:19 PM, Gulcin Kucukdalyan <span dir="ltr"><<a href="mailto:gkucukdalyan@gmail.com" target="_blank">gkucukdalyan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Below is my input and output file:<div><br></div><div>INpiut:</div><div><br></div><div><div> # self-consistent calculation</div><div>    cat > <a href="http://gli.scf.in" target="_blank">gli.scf.in</a> << EOF</div>

<div> &control</div>
<div>    calculation = 'scf'</div><div>    restart_mode='from_scratch',</div><div>    prefix='gli',</div><div>    pseudo_dir = '$PSEUDO_DIR/',</div><div>    outdir='$TMP_DIR/'</div>


<div> /</div><div> &system</div><div>    ibrav=  4, celldm(1) =8.0777, celldm(3)=0.83305, nat=  7, ntyp= 2,</div><div>    ecutwfc =60.0,</div><div>    ecutrho = 500.0</div><div> occupations='smearing', smearing='methfessel-paxton', degauss=0.02</div>


<div> /</div><div> &electrons</div><div>    mixing_mode = 'plain'</div><div>    mixing_beta = 0.7</div><div>    conv_thr =  1.0d-7</div><div> /</div><div>ATOMIC_SPECIES</div><div> C   12.0107  C.pz-rrkjus.UPF</div>


<div> Li  6.9142   Li.pz-n-vbc.UPF</div><div>ATOMIC_POSITIONS</div><div>C       -0.000169177  -0.000292351   0.000000000</div><div>C        0.333413183  -0.000292351   0.000000000</div><div>C        0.500204479   0.288597992   0.000000000</div>


<div>C        0.333413183   0.577488334   0.000000000</div><div>C       -0.000169177   0.577488334   0.000000000</div><div>C       -0.166960373   0.288597992   0.000000000</div><div>Li       0.166621953   0.288597992   0.416524683</div>


<div>K_POINTS AUTOMATIC</div><div>5 5 6 0 0 0 </div><div>EOF</div><div>    $ECHO "  running the scf calculation for Gr-Li...\c"</div><div>    $PW_COMMAND < <a href="http://gli.scf.in" target="_blank">gli.scf.in</a> > gli.scf.out</div>


<div>    check_failure $?</div><div>    $ECHO " done"</div><div><br></div><div># post-processing for charge density</div><div>cat > <a href="http://gli.pp.in" target="_blank">gli.pp.in</a> << EOF</div>

<div class="im"><div>   &inputpp</div>
<div>   prefix  = 'gli'</div><div>   outdir = '$TMP_DIR/'</div><div>   filplot = 'gli.pp'</div><div>   plot_num= 7</div></div><div>   kpoint = 36</div><div>   kband = 32</div><div class="im"><div>

   spin_component = 0</div>
<div>   </div><div>/</div><div><br></div><div> &plot</div><div>    nfile = 1</div><div>    filepp(1) = 'gli.pp'</div><div>    weight(1) = 1.0</div><div>    iflag = 3</div><div>    output_format = 5</div><div>

    fileout = 'gli.xsf'</div>
</div><div>    /</div><div><br></div><div><br></div><div>Output:</div><div><br></div><div><div>  Plotting k_point =  36  band = 32</div><div><br></div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div>


<div><br></div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div>     from local_dos : error #         1</div><div>     wrong band specified</div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div>


<div><br></div><div>     stopping ...</div><div><br></div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div>     from local_dos : error #         1</div><div>     wrong band specified</div>


<div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div>     stopping ...</div><div><br></div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div>


<div>     from local_dos : error #         1</div><div>     wrong band specified</div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div>     stopping ...</div><div>


     from local_dos : error #         1</div><div>     wrong band specified</div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div>     stopping ...</div><div><br>


</div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div>     from local_dos : error #         1</div><div>     wrong band specified</div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div>


<div><br></div><div>     stopping ...</div><div><br></div><div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div>     from local_dos : error #         1</div><div>     wrong band specified</div>


<div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div>     stopping ...</div></div><div><br></div><div>Thank you</div><div><br></div><div><br></div><br><div class="gmail_quote">

<div><div class="h5">
On Wed, Jun 27, 2012 at 5:31 PM, Lorenzo Paulatto <span dir="ltr"><<a href="mailto:lorenzo.paulatto@impmc.upmc.fr" target="_blank">lorenzo.paulatto@impmc.upmc.fr</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
<div><div class="gmail_quote">On Wed, Jun 27, 2012 at 11:03 PM, Gulcin Tetiker <span dir="ltr"><<a href="mailto:gkucukdalyan@gmail.com" target="_blank">gkucukdalyan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div bgcolor="#FFFFFF"><div>Thanks for the response. I used those numbers also but the code gave error. I guess they symbolize different things. For example, if we only wanna calculate the charge density in gamma point kpoint should be 1. Also, for kband someone use "band near fermi level". I was just wondering where can i get all these information<br>



</div><div></div></div></blockquote></div><div><br></div></div><div>I do not understand what you mean by "band near fermi level". </div><div><br></div><div>kband is an interger positive number, it must be smaller or equal to the number of bands.</div>



<div><br></div><div>If you are getting some erro, please report which error you get, maybe it has nothing to do with the value of kband. A good idea is to alway provide a copy of your input and out when you have a problem.</div>


<div><div>
<div><br></div><div>bests</div><br clear="all"><div><br></div>-- <br><div>Lorenzo Paulatto IdR @ IMPMC/CNRS & Université Paris 6</div><div>phone: <a href="tel:%2B33%20%280%291%2044275%20084" value="+33144275084" target="_blank">+33 (0)1 44275 084</a> / skype: paulatz</div>


<div>www:   <a href="http://www-int.impmc.upmc.fr/~paulatto/" target="_blank">http://www-int.impmc.upmc.fr/~paulatto/</a></div>
<div>mail:  23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05</div><br>
</div></div><br></div></div><div class="im">_______________________________________________<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></div></blockquote></div><br></div>
<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>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Pw_forum mailing list</span><br><span><a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a></span><br><span><a href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a></span><br></div></blockquote></body></html>