-
Notifications
You must be signed in to change notification settings - Fork 99
MPI_Comm
cannot expected to be a pointer
#1799
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
Conversation
I am actually not sure why the first |
MPI_Comm
cannot expected to be a pointer
what is the empty state of MPICH? 0 here? |
@yhmtsai , yes, empty state is NULL, or 0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some typos are caught by spell-check. could you also change those?
|
Fixes an issue where it was expected that MPI_Comm is comparable to a pointer. But some implementations (like MPICH) just use a reference to an
int
and hence are not comparable tostd::nullptr_t