-
Notifications
You must be signed in to change notification settings - Fork 113
Description
When modeling very small systems (e.g. a single CO molecule in a box) with VASP, if NBANDS
is too large, the electronic structure (e.g. the DOS) can be completely unphysical. I found this out the hard way when, by default, running a single node job on Cori caused NBANDS = 64
yet I was modeling a CO molecule where NBANDS = 6
might be more appropriate. In the former case, countless fictitious states were introduced into the DOS.
We should introduce some sort of rule that makes sure NBANDS
isn't too high for small systems.
Brainstorming with @mkhorton yields the following possible rule:
if NBANDS > 2*default NBANDS where default NBANDS is max(NELECT/2+NIONS/2, 0.6*NELECT), then kill job and restart with the default unless LOPTICS = .TRUE.
, in which case use a factor of 10 as the cutoff.