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

Fix parallel handling of data in repeated trajectory runs for 'rotate' and 'average' #1113

Merged
merged 16 commits into from
Nov 5, 2024

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Nov 5, 2024

Version 6.29.7. Previously, if a dataset was created with rotate or average in parallel the initial trajectory processing run would be fine, but if that data was to be used in a subsequent trajectory processing run that would fail. This is because data sets are synced to master for output, but not broadcast back out to non-master ranks. This PR fixes this behavior for rotate and average. Also adds a test to ensure this works properly for rotate. Should address #1096.

Under the hood, a bunch of MPI broadcast routines have been added to almost all of the DataSet classes. This is to eventually enable syncing datasets across all ranks for running commands like filter in parallel (some time in the future).

@drroe drroe added the MPI label Nov 5, 2024
@drroe drroe self-assigned this Nov 5, 2024
@drroe drroe merged commit 65a2fbe into Amber-MD:master Nov 5, 2024
13 checks passed
@drroe drroe deleted the parallel.datafilter branch November 5, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant