Skip to content

Fix issue #152#153

Merged
lohedges merged 2 commits into
develfrom
fix_152
Jun 15, 2026
Merged

Fix issue #152#153
lohedges merged 2 commits into
develfrom
fix_152

Conversation

@lohedges

Copy link
Copy Markdown
Contributor

This PR closes #152 by adding a sentinel file to indicate full completion for repex simulations. This avoids restart issues when a system file is written with an update time stamp, but the simulation crashes (or is killed) during trajectory reconstruction. Cleanup is only performed when the .done file is written, allowing recovery from partially written final checkpoints.

I've also removed a small redundant attribute from the DynamicsCache to reduce the memory footprint. This variable can be created in scope, i.e. there is no need to store it.

@lohedges lohedges added bug Something isn't working enhancement New feature or request cresset Related to work with Cresset labels Jun 15, 2026
@lohedges lohedges merged commit 533237b into devel Jun 15, 2026
4 checks passed
@lohedges lohedges deleted the fix_152 branch June 15, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cresset Related to work with Cresset enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle restarts from crashes during final checkpoint

1 participant