Skip to content
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

Potential Data Inconsistency in MultiStateSampler:equilibrate #759

Open
manglav opened this issue Nov 6, 2024 · 1 comment
Open

Potential Data Inconsistency in MultiStateSampler:equilibrate #759

manglav opened this issue Nov 6, 2024 · 1 comment

Comments

@manglav
Copy link

manglav commented Nov 6, 2024

https://github.com/choderalab/openmmtools/blob/9334bc9cf7d31be62926a3867503d6c65e0a305a/openmmtools/multistate/multistatesampler.py#L704C18-L704C47

At the bottom of the function, the sampler states are saved to the checkpoint. However, even though the replica thermodynamic states are updated during equilibration, they are not saved into the checkpoint.

I would imagine we would want to keep the file consistent with the simulation, but I could be missing something. Is this expected/desired behavior?

I ask because I am running in unreliable environments, and am seeing lots of NaNs whenever a long-running simulation needs to restart.

@mikemhenry
Copy link
Contributor

This is a good question. @ijpulidos Do you know if there is a reason we do it this way? I am trying to think of a scenario where this behavior would be desirable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants