MPI_Barrier(3) (10/24/1994) MPI_Barrier(3)
NAME
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
Page 1 (printed 3/8/95)