MPE_Seq_begin(4)
NAME
MPE_Seq_begin - Begins a sequential section of code.
SYNOPSIS
#include
#include "mpe.h"
void MPE_Seq_begin( comm, ng )
MPI_Comm comm;
int ng;
INPUT PARAMETERS
comm - Communicator to sequentialize.
ng - Number in group. This many processes are allowed to
execute at the same time. Usually one.
NOTES
to be executed by the processes in rank order. Typically,
this is done with
MPE_Seq_begin( comm, 1 );
MPE_Seq_end( comm, 1 );
Often, the sequential code contains output statements (e.g.,
'printf') to be executed. Note that you may need to flush
the I/O buffers before calling 'MPE_Seq_end'; also note that
some systems do not propagate I/O in any order to the con-
troling terminal (in other words, even if you flush the out-
put, you may not get the data in the order that you want).
LOCATION
mpe_seq.c
Last change: 4/16/1997