Disable the barostat during FIRE minimization#773
Disable the barostat during FIRE minimization#773mikemhenry merged 5 commits intochoderalab:mainfrom
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
|
|
||
| # Update context state. | ||
| self.addUpdateContextState() | ||
| #self.addUpdateContextState() |
There was a problem hiding this comment.
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