89. Barrier Synchronization


Up: Contents Next: Broadcast Previous: Specifics for Intercommunicator Collective Operations

MPI_BARRIER( comm )
IN commcommunicator (handle)

int MPI_Barrier(MPI_Comm comm )

MPI_BARRIER(COMM, IERROR)
INTEGER COMM, IERROR
void MPI::Comm::Barrier() const = 0

If comm is an intracommunicator, MPI_BARRIER blocks the caller until all group members have called it. The call returns at any process only after all group members have entered the call. If comm is an intercommunicator, the barrier is performed across all processes in the intercommunicator. In this case, all processes in one group (group A) of the intercommunicator may exit the barrier when all of the processes in the other group (group B) have entered the barrier.



Up: Contents Next: Broadcast Previous: Specifics for Intercommunicator Collective Operations


Return to MPI-2.1 Standard Index
Return to MPI Forum Home Page

MPI-2.0 of July 1, 2008
HTML Generated on July 6, 2008