-
Notifications
You must be signed in to change notification settings - Fork 15
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
dont write kpoints file #558
Conversation
|
Pull Request Test Coverage Report for Build 1966145612
💛 - Coveralls |
I think vasp calculates it differently from pyiron, so I think keeping the k-point calculation on the pyiron side is the better option to compare between different codes. |
Yes, you are right (see here) they are not 100% equivalent. Although the "pyironic" way is to do what @pmrv suggested, this won't be consistent with your other calculations. So I guess we have to use a workaround like you implemented. |
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 would be nice to write a simple unittest for jobs like this to check it it works (some examples here). Additionally, we should warn users when 'KSPACING' is there in the INCAR file but a KPOINTS file is also present
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.
lgtm.
EDIT: I defer to @sudarsan-surendralal on the unit tests issue, not sure how and where to do that best, but I guess making a job with run_mode='manual'
and then checking input files written should be possible.
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.
LGTM! I added a unit test for this and it works.
Thanks |
Bcause it is possible to use KSPACING in INCAR and I have to calculate some data in a consistent manner with that setting so I need an option to not write the KPOINTS file.
This is an ugly workaround so I am open to other suggestions. Also it does not get stored in hdf, but the hdf storage of GenericParameters looks mysterious to me and I didn't want to put too much effort into the ugly workaround.