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

Communicator equality: same object vs. MPI_Comm_compare() #16376

Open
drwells opened this issue Dec 21, 2023 · 0 comments
Open

Communicator equality: same object vs. MPI_Comm_compare() #16376

drwells opened this issue Dec 21, 2023 · 0 comments

Comments

@drwells
Copy link
Member

drwells commented Dec 21, 2023

From #16369 (comment): I don't remember the details, but I ran into a circumstance in one of my projects in which I had to use MPI_Comm_compare() since there were duplicated communicators with the same network (i.e., either MPI_CONGRUENT or MPI_IDENT). We should probably assert equality through that function instead of just checking the pointers whenever we just need MPI_CONGRUENT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant