Changes between Initial Version and Version 1 of mpich/MPI_Barrier


Ignore:
Timestamp:
Jul 23, 2008, 11:39:52 AM (16 years ago)
Author:
wade
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mpich/MPI_Barrier

    v1 v1  
     1= MPI_Barrier =
     2Blocks until all process have reached this routine.
     3
     4= Synopsis =
     5{{{
     6#include "mpi.h"
     7int MPI_Barrier (MPI_Comm comm )
     8}}}
     9
     10= Input Parameters =
     11{{{
     12  comm  communicator (handle)
     13}}}
     14
     15= Notes =
     16Blocks the caller until all group members have called it; the call returns at any process only after all group members have entered the call.
     17
     18= Algorithm =
     19If the underlying device cannot do better, a tree-like or combine algorithm is used to broadcast a message wto all members of the communicator. We can modifiy this to use "blocks" at a later time (see MPI_Bcast).