<DIV>Dear Prof. Blaha,</DIV>  <DIV>I wish to seek your help.</DIV>  <DIV>My calculations keep crashing at lapw2 for </DIV>  <DIV>TEMP or TEMPS or GAUSS option. This </DIV>  <DIV>happens in the first SCF step.&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>1. Checking uplapw2.error the following&nbsp;message is printed:</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;'FERMI5' -&nbsp; emax too low in vector-file<BR>**&nbsp; testerror: Error in Parallel LAPW2</DIV>  <DIV>&nbsp;</DIV>  <DIV>2. Increasing emax in case.in1 from 2.0 to 10.0</DIV>  <DIV>&nbsp;&nbsp;&nbsp; the problem still persists. I reduced the mixing factor</DIV>  <DIV>&nbsp;&nbsp;&nbsp; to 0.01 and the problem is still there.&nbsp;</DIV>  <DIV>&nbsp;&nbsp;&nbsp; </DIV>  <DIV>&nbsp;</DIV>  <DIV>3. Checking case.output2up, the following is printed at the end:</DIV>  <DIV>&nbsp;</DIV>  <DIV>TEMP.-SMEARING WITH&nbsp;&nbsp;&nbsp; 0.00500 Ry<BR>&nbsp;&nbsp;&nbsp; sum over weight(k) (after&nbsp; renom.) =&nbsp; NaN<BR>&nbsp; emin
 =&nbsp;&nbsp; -3.06067&nbsp; emax =&nbsp;&nbsp;&nbsp; 2.49843</DIV>  <DIV>&nbsp;</DIV>  <DIV>4. I went into line 166 of fermi5.f in $WIENROOT/SRC_lapw2 and told print </DIV>  <DIV>enorm, sumw, fact=enorm/sumw:<BR>&nbsp;&nbsp;&nbsp; write(*,*)enorm, sumw, fact </DIV>  <DIV>&nbsp;&nbsp;&nbsp; output was 2.00000000000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000000000000E+000 Infinity</DIV>  <DIV>&nbsp;&nbsp;&nbsp; so the problem is from sumw.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Could you kindly advise me on what to do? I checked TETRA&nbsp;and it was&nbsp;fine but </DIV>  <DIV>TEMP is needed for faster convergence ad few k-points.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thank you</DIV>  <DIV>&nbsp;&nbsp;&nbsp; &nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>