Below is my input and output file:<div><br></div><div>INpiut:</div><div><br></div><div><div> # self-consistent calculation</div><div>    cat &gt; <a href="http://gli.scf.in">gli.scf.in</a> &lt;&lt; EOF</div><div> &amp;control</div>
<div>    calculation = &#39;scf&#39;</div><div>    restart_mode=&#39;from_scratch&#39;,</div><div>    prefix=&#39;gli&#39;,</div><div>    pseudo_dir = &#39;$PSEUDO_DIR/&#39;,</div><div>    outdir=&#39;$TMP_DIR/&#39;</div>
<div> /</div><div> &amp;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=&#39;smearing&#39;, smearing=&#39;methfessel-paxton&#39;, degauss=0.02</div>
<div> /</div><div> &amp;electrons</div><div>    mixing_mode = &#39;plain&#39;</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 &quot;  running the scf calculation for Gr-Li...\c&quot;</div><div>    $PW_COMMAND &lt; <a href="http://gli.scf.in">gli.scf.in</a> &gt; gli.scf.out</div>
<div>    check_failure $?</div><div>    $ECHO &quot; done&quot;</div><div><br></div><div># post-processing for charge density</div><div>cat &gt; <a href="http://gli.pp.in">gli.pp.in</a> &lt;&lt; EOF</div><div>   &amp;inputpp</div>
<div>   prefix  = &#39;gli&#39;</div><div>   outdir = &#39;$TMP_DIR/&#39;</div><div>   filplot = &#39;gli.pp&#39;</div><div>   plot_num= 7</div><div>   kpoint = 36</div><div>   kband = 32</div><div>   spin_component = 0</div>
<div>   </div><div>/</div><div><br></div><div> &amp;plot</div><div>    nfile = 1</div><div>    filepp(1) = &#39;gli.pp&#39;</div><div>    weight(1) = 1.0</div><div>    iflag = 3</div><div>    output_format = 5</div><div>    fileout = &#39;gli.xsf&#39;</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">
On Wed, Jun 27, 2012 at 5:31 PM, Lorenzo Paulatto <span dir="ltr">&lt;<a href="mailto:lorenzo.paulatto@impmc.upmc.fr" target="_blank">lorenzo.paulatto@impmc.upmc.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><div class="gmail_quote">On Wed, Jun 27, 2012 at 11:03 PM, Gulcin Tetiker <span dir="ltr">&lt;<a href="mailto:gkucukdalyan@gmail.com" target="_blank">gkucukdalyan@gmail.com</a>&gt;</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 &quot;band near fermi level&quot;. 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 &quot;band near fermi level&quot;. </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 class="HOEnZb"><div class="h5">
<div><br></div><div>bests</div><br clear="all"><div><br></div>-- <br><div>Lorenzo Paulatto IdR @ IMPMC/CNRS &amp; 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>_______________________________________________<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>