[mpich-discuss] Behavioral change for MPI_Ibarrier(MPI_COMM_SELF, &r) in mpich-3.2
Jed Brown
jed at jedbrown.org
Mon Dec 7 00:04:22 CST 2015
In MPICH 3.2, MPI_Ibarrier(MPI_COMM_SELF,&r) returns r ==
MPI_REQUEST_NULL. This is also the case for other communicators of size
1. Previous versions of MPICH and also all versions of Open MPI return
a valid request not equal to MPI_REQUEST_NULL. This bit me because it
was natural to compare to MPI_REQUEST_NULL in a conditional for an
Ibarrier/Issend/Iprobe algorithm. It can be worked around with a
slightly more complicate conditional, but is this change intentional?
The call returns a request handle, which must be passed to a
completion call.
-- MPI-3 §5.12
This does not say "unless the communicator has size 1".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151206/57831920/attachment.sig>
-------------- next part --------------
_______________________________________________
discuss mailing list discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list