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

communications: do not use MPI_REQUEST_NULL as sentinel value #73

Merged
merged 2 commits into from
Jun 30, 2020

Conversation

andrea-iob
Copy link
Member

On some MPI implementaiotns (i.e., MPICH), the function MPI_Ibarrier can return a MPI_REQUEST_NULL if the communicator size is 1. Thus, it is not possible to use MPI_REQUEST_NULL as a sentinel value.

A separate boolean is introduced to track if the local exchange has completed.

On some MPI implementaiotns (i.e., MPICH), the function MPI_Ibarrier
can return a MPI_REQUEST_NULL if the communicator size is 1. Thus,
it is not possible to use MPI_REQUEST_NULL as a sentinel value.

A separate boolean is introduced to track if the local exchange
has completed.
@andrea-iob andrea-iob merged commit a49b5ee into master Jun 30, 2020
@andrea-iob andrea-iob deleted the communications.fix.sentinel.value branch June 30, 2020 12:31
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