-
Notifications
You must be signed in to change notification settings - Fork 86
Disable the barostat during FIRE minimization #773
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
Disable the barostat during FIRE minimization #773
Conversation
@ijpulidos @mikemhenry : This seems to be solving the issues with random crashes when starting NPT equilibration after FIRE minimization that I mentioned on Tuesday. On some short test calculations I'm not seeing any crashes. |
openmmtools/integrators.py
Outdated
@@ -2371,7 +2371,7 @@ def __init__(self, timestep=1.0 * unit.femtoseconds, tolerance=None, alpha=0.1, | |||
self.addGlobalVariable("delta_t", timestep.value_in_unit_system(unit.md_unit_system)) | |||
|
|||
# Update context state. | |||
self.addUpdateContextState() | |||
#self.addUpdateContextState() |
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 removed this as I had seen this (openmm/openmm#1237 (comment)), but in test calculations I don't see crashes if we update the context state so this may not be necessary?
Actually, as @jthorton pointed out, removing the |
I like setting the pressure to |
looks like we have a test that checks that actually |
I can't edit this PR, @hannahbaumann can you check the box described here? https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork |
Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
🚀 New features to boost your workflow:
|
Description
As has been described here (#557), box vectors can change during energy minimization using the FIRE minimizer, leading to instabilities. This PR temporarily disables the barostat for the minimization.
Changelog message