PetscSynchronizedPrintf
Prints synchronized output from several processors. Output of the first processor is followed by that of the second, etc.
Synopsis
int PetscSynchronizedPrintf(MPI_Comm comm,char *format,...)
Not
Collective
Input Parameters
comm | - the communicator
|
format | - the usual printf() format string
|
Notes
Usage of PetscSynchronizedPrintf() with different MPI
communicatorsREQUIRES an intervening call to PetscSynchronizedFlush().
The length of the formatted message cannot exceed 256 charactors.
See Also
PetscSynchronizedFlush(), PetscSynchronizedFPrintf(), PetscFPrintf(),
PetscPrintf()
Examples
src/sys/examples/tutorials/ex2.c
src/vec/examples/tutorials/ex9.c
Location: src/sys/src/fileiomprint.c
System Index
Table of Contents