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 #166 Incorrect block mapping for cyclic MPI job distribution across nodes #170

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

vasdommes
Copy link
Collaborator

  • In allocate_blocks(), use ranks from node communicator instead of global ranks (which can be assigned to nodes in different ways), see details in Incorrect block mapping for cyclic MPI job distribution across nodes #166
  • Make Block_Cost comparison deterministic if costs are equal (compare block indices in that case).
  • In Block Grid Mapping (debug output), print each block in block_index(dim,num_points) format, instead of old (block_index,num_points)

This makes comparison deterministic if costs are equal.
…ss nodes

Use ranks from node communicator instead of global ranks (which can be assigned to nodes in different ways).
@vasdommes vasdommes added the bug label Jan 5, 2024
@vasdommes vasdommes added this to the 2.6.2 milestone Jan 5, 2024
@vasdommes vasdommes merged commit 6f34878 into master Jan 5, 2024
2 checks passed
@vasdommes vasdommes deleted the block-mapping branch January 5, 2024 02:42
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