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 issue with MPI tags on some MPI distributions. #1268

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

BradWhitlock
Copy link
Member

Some blueprint algorithms use MPI tags to help indicate intent of a message and they may use large numbers for the tags. It turns out that some MPI distributions do not like large tag values. This PR changes a communication helper class in relay so it passes tags through a safe_tag() function that clamps tags at MPI_TAG_UB so they work with MPI rather than having MPI abort.

Copy link
Member

@cyrush cyrush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice detective work! Thanks for resolving this issue

@BradWhitlock BradWhitlock merged commit 3809c53 into develop Apr 8, 2024
25 checks passed
@BradWhitlock BradWhitlock deleted the bugfix/whitlock/fix_mpi_tag_issue branch April 8, 2024 17:50
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

Successfully merging this pull request may close these issues.

2 participants