-
Notifications
You must be signed in to change notification settings - Fork 111
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
Add eddiag error handling and fix AMIN error handling in VaspErrorHandler #302
Conversation
…eddrm handler to avoid custodian inducing algo_tet errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like an accidental addition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it's Dropbox's way of resolving internet failures
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #302 +/- ##
==========================================
+ Coverage 65.35% 65.56% +0.20%
==========================================
Files 54 54
Lines 5536 5546 +10
==========================================
+ Hits 3618 3636 +18
+ Misses 1918 1910 -8 ☔ View full report in Codecov by Sentry. |
@@ -548,6 +548,38 @@ def test_read_error(self): | |||
assert dct["errors"] == ["read_error"] | |||
assert dct["actions"] is None | |||
|
|||
def test_amin(self): | |||
# Cell with at least one dimension >= 50 A, but AMIN > 0.01, and calculation not yet complete | |||
shutil.copy("INCAR.amin", "INCAR") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This overwrites the existing INCAR that was copied to tmp_path
by setUP
which might cause the downstream test failure.
Key additions:
eddiag
errors, which have a message that is more generic than thezheev
error message (indicates that any ofZHEEV/ZHEEVX/DSYEV/DSYEVX
failed)AMIN
errors (unit cells with at least one dimension greater than 50 Å) when calculation hasn't failedALGO in [ALL, DAMPED]
when ISMEAR < 0