-
Notifications
You must be signed in to change notification settings - Fork 82
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
output_trajectory
is not complete when launching another ionic minimization iteration
#937
Comments
output_trajectory
is not complete when launching the another ionic minimization iteration output_trajectory
is not complete when launching another ionic minimization iteration
Yeah, fair point. The issue here lies in the I know @sphuber has been working quite a bit at moving all the parsing to the XML file for the |
The fix for this feature request would not touch the I wouldn't call this is a "bug" though. It is simply a design decision. I can understand the intuition that one might expect the complete trajectory in this case, but that is only in this specific case. Probably if the first calculation "hard" failed and it restarted from scratch, you wouldn't expect that trajectory in the final one. So now we have to start deciding which cases we merge and in which we don't. Maybe there is not a clear answer here, and it could actually create cases that would be counter-intuitive for users in another way. Most importantly though, if we were to change this, it is backwards incompatible and so cannot just add this change in a normal release. |
Good point, I hadn't thought about this in much detail. With the
I guess that depends on whether we define it as a "bug" or not. 😏 But we'll have to start thinking about a major release soonish anyways, because the changes I would like to make for the |
Since this is related to |
What about the What if instead we add an option to request merging and then add the merged trajectory as a separate output, e.g., |
Yes.
I didn't see an inconsistency if
|
True, but perhaps some of the outputs that require merging will change? Perhaps not, but I'd avoid having to deal with adapting the merging as well in the XML parsing PR.
Merging the
Not saying this means we shouldn't go forward with this, but let's make sure we aren't missing anything. |
I don't see how that would even be possible. The
Very good point, and trajectory data tends to get large! |
Haha, I'm clearly not being clear enough. I meant that if we first introduce merging of the outputs at the |
One idea would be to add a tool to the |
No, I don't see a reason why not. The code in |
Great! Ideally a An example here is the In this case the method would be exactly the same, but in other cases (like merging the |
In the
PwRelaxWorkChain
, if thePwCalculation
failed withThe ionic minimization cycle did not converge after the maximum number of steps.
The work chain will launch another iteration. After completing the work chain after two iterations, it only exports theoutput_trajectory
of the lastPwCalculation
as the finalouput_trajectory
. However, the correct trajectory should combine the twooutput_trajectory
and export as the finaloutput_trajectory
.Here is an example:
output_trajectory 1
output_trajectory 2
Now the
output_trajectory
=output_trajectory 2
The correct one should be:
output_trajectory
=output_trajectory 1
+output_trajectory 2
The text was updated successfully, but these errors were encountered: