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
Priority of incar parameters #583
Comments
Hmm I think that the documentation is probably outdated here! |
@espenfl, could you confirm this? |
@gpetretto Yes, any input supplied in the |
Environment
Steps that lead to the error
According to the documentation (https://aiida-vasp.readthedocs.io/en/latest/concepts/parameters.html#how-parameters-are-prioritized-and-set) the parameters set through
inputs.parameters.incar
should have the lowest priority. However, considering the run_relax.py example and addingediffg
to theINCAR
dictionary I have that this is the value actually used in the calculation, even though theinputs.relax.force_cutoff
is set to a different value.i.e. with this modification
VASP is executed with EDIFFG=-0.1, contrarily to the example described in the documentation.
Looking at the code it seems that when the
_set_override_vasp_parameters
is called in theParametersMassage
aiida-vasp/aiida_vasp/assistant/parameters.py
Line 216 in e6d711e
inputs.relax.force_cutoff
is overridden by the one ininputs.parameters.incar.ediffg
.Is this is bug, or am I missing something?
The text was updated successfully, but these errors were encountered: