Skip to content

Introduce a rule for too high NBANDS #224

@Andrew-S-Rosen

Description

@Andrew-S-Rosen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions