Explanation of " Charge density could not be read from file CHGCAR for ICHARG>10 " error message

Problems running VASP: crashes, internal errors, "wrong" results.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
hess8
Newbie
Newbie
Posts: 18
Joined: Fri Jan 08, 2010 3:05 pm
License Nr.: 1022
Location: Utah, USA

Explanation of " Charge density could not be read from file CHGCAR for ICHARG>10 " error message

#1 Post by hess8 » Tue Oct 25, 2011 9:52 pm

Not a bug (but error message could be improved)

Also says " WARNING: dimensions on CHGCAR file are different "

It took me a while to find the source of this issue, and so I wanted to document it somewhere for others to find. When doing a band structure calculation, the precision and the energy cutoff must be the same as in the self-consistent run that generated the CHGCAR you are going to use in for band structure run.
Last edited by hess8 on Tue Oct 25, 2011 9:52 pm, edited 1 time in total.
Bret

duncand

Explanation of " Charge density could not be read from file CHGCAR for ICHARG>10 " error message

#2 Post by duncand » Tue Mar 12, 2013 3:09 pm

Several other common tags can inadvertently cause this error as well.

1) As the above post suggests, make sure PREC is the same for both calculations, but don't just rely on automatic values for bands and cutoff energy. Instead, explicitly set ENCUT and NBANDS to the value contained in your SC calculation's OUTCAR file. Try using ISMEAR = 0.

2) Make sure your cell dimensions have not changed (e.g. if you are using ISIF=3). If they have, do a static (IBRION=-1, NSW=0) SC calculation to get a good CHGCAR.

3) Make sure your mesh hasn't changed (NGX, NGY, NGZ, NGXF, NGYF, NGZF). This part is important if you ever use tags like ADDGRID or ENAUG.

4) If all else fails, do a static self-consistent calculation and use the resulting CHGCAR in your NSC calculation.
Last edited by duncand on Tue Mar 12, 2013 3:09 pm, edited 1 time in total.

Post Reply