Breaking: default Atomate2Settings.VASP_INHERIT_INCAR
to False
#594
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change disables VASP INCAR inheritance by default. By unanimous agreement in this morning's
atomate2
maintainer meeting (with @utf, @computron, @Andrew-S-Rosen, myself and others present), no one objected and some people (myself included) voiced strong support in favor of not inheriting INCAR params between jobs in a flow by default.Historical context
This feature was ported over when moving the
pymatgen
input sets intoatomate2
. It was not a deliberate design decision when starting atomate2.Reason for disabling
This is a foot-gun just waiting to go off. The original intended benefit was (probably) to carry
custodian
fixes from one job to the next (esp. in a double relaxation) to avoid wasting compute and potentially reaching the threshold for number of fixes imposed byMaxCustodionErrorHandler
by having to apply the same fixes to multiple jobs.While it may make sense to inherit INCAR params in rare cases, it can also hurt a job's chances of succeeding. It should not be the default for all workflows. It breaks the principle of least surprise to the user. If they need it, they should choose it explicitly.