-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Don't kill a VASP job if NBANDS is very high with no other warning #344
Comments
My proposal is as follows.
custodian/src/custodian/vasp/handlers.py Lines 727 to 751 in 880ca8b
This probably means we should be treating this as a new handler. Just like how we have an |
This has been fixed. But I have added a update_incar setting for VaspJob that solves this problem to some extent. |
I encountered a Custodian nbands issue when running the Lobster workflow: issue As long as there is enough number of basis functions, the number of empty bands should not be issue, so I do not think Custodian should settle in when NBANDS is automatically changed by VASP. |
This was already fixed in the latest custodian release. |
Sorry, forgot to mention my Custodian version is |
@shyuep thanks for the help! The new version has solved the issue. |
Code snippet
No response
What happened?
In the following block of code, if VASP updates the number of bands automatically and it's > 2x the number of electrons, Custodian will kill the job even if VASP completes with no errors.
custodian/src/custodian/vasp/handlers.py
Lines 727 to 736 in 880ca8b
In practice, having such a large number of bands is a sign of a problem by the user and can lead to spurious energetic states. I have observed this for gas-phase CO in a box. But we ultimately should not kill the job. We should just warn the user (even though it's unlikely they'll read the logs).
This was indirectly noted by @esoteric-ephemera in #342.
I can patch this, but it admittedly won't be for a little while. We should rethink how the bands stuff is being handled because in practice, it doesn't actually seem ideal...
Version
v2024.6.24
Which OS?
Log output
No response
The text was updated successfully, but these errors were encountered: