MPI_Barrier
--- Blocks until all process have reached this routine.
Input Parameters
- comm
- communicator (handle)
Notes
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.
Algorithm
A tree-like or combine algorithm is used to broadcast a message
to all members of the communicator. We can modifiy this to
use "blocks" at a later time (see MPI_Bcast).
Synopsis
#include "mpi.h"
int MPI_Barrier ( comm )
MPI_Comm comm;
Location: barrier.c