-
Notifications
You must be signed in to change notification settings - Fork 80
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 setting VASP_RUN_DDEC6: bool = False
#587
Conversation
@@ -84,6 +84,11 @@ class Atomate2Settings(BaseSettings): | |||
description="Whether to run the Bader program when parsing VASP calculations." | |||
"Requires the bader executable to be on the path.", | |||
) | |||
VASP_RUN_DDEC6: bool = Field( |
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.
It also requires an environment variable DDEC6_ATOMIC_DENSITIES_DIR
. I mean, by default it assumes local directory but it's unlikely the user will copy the atomic densities to the local dir if not directed.
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.
Yeah, we were discussing over at materialsproject/emmet#869 (comment). I think it would be best not to bother the user with this and just handle it automatically.
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.
I see. Just double-check the licensing that this would be permitted, assuming you mean that you'll ship it.
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.
Not ship in the pymatgen
package since it would burden many non-users of chargemol
to download those files. But once they're in the repo, we have a stable raw.github.com
URL from where we could wget
them.
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.
Ah, that's smart. But one thing to note is that not all compute nodes have access to the network, so you might want to have a fallback option.
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, fallback option for no-network situations is on the TODO list.
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.
Oh yes, please. Most computing centers in Europe don't have any outside connection on the compute nodes.
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.
Or at Princeton... 😉
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #587 +/- ##
==========================================
- Coverage 75.57% 75.40% -0.18%
==========================================
Files 83 83
Lines 6793 6805 +12
Branches 1001 1008 +7
==========================================
- Hits 5134 5131 -3
- Misses 1348 1360 +12
- Partials 311 314 +3
|
…TINGS.VASP_RUN_DDEC6
6828524
to
e952724
Compare
Similar to existing setting
VASP_RUN_BADER
, allows saving DDEC6 charge analysis automatically in any VASPTaskDoc
.atomate2/src/atomate2/settings.py
Line 82 in a3215db
Related PR materialsproject/emmet#869