Skip to content

Fix issue #319 #320

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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open

Fix issue #319 #320

wants to merge 1 commit into from

Conversation

lohedges
Copy link
Contributor

This PR fixes #319 by resetting the internal step counter of the dynamics object when a NaN crash occurs. Previously this was not reset, so that the time stamp for energy and trajectory frames would get out of sync following a crash. This problem is amplified when running repex since OpenMM state is swapped between replicas, meaning the internal clock for a replica could get changed following an exchange.

  • I confirm that I have merged the latest version of devel into this branch before issuing this pull request (e.g. by running git pull origin devel): [y]
  • I confirm that I have added a changelog entry to the changelog (we will add a link to this PR as part of the review): [y]
  • I confirm that I have permission to release this code under the GPL3 license: [y]

Tagging @akalpokas

@lohedges lohedges requested a review from chryswoods June 21, 2025 11:30
@lohedges lohedges added the bug Something isn't working label Jun 21, 2025
@lohedges lohedges deployed to sire-build June 21, 2025 11:30 — with GitHub Actions Active
@lohedges lohedges removed the request for review from chryswoods June 21, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Energy trajectory issues
1 participant