PetscSynchronizedFPrintf
Prints synchronized output to the specified file from several processors. Output of the first processor is followed by that of the second, etc.
Synopsis
int PetscSynchronizedFPrintf(MPI_Comm comm,FILE* fp,const char format[],...)
Not Collective
Input Parameters
comm | - the communicator
|
fd | - the file pointer
|
format | - the usual printf() format string
|
Notes
Usage of PetscSynchronizedFPrintf() with different MPI communicators
REQUIRES an intervening call to PetscSynchronizedFlush().
The length of the formatted message cannot exceed 256 charactors.
Contributed by: Matthew Knepley
See Also
PetscSynchronizedPrintf(), PetscSynchronizedFlush(), PetscFPrintf(),
PetscFOpen()
Level:intermediate
Location:src/sys/src/fileio/mprint.c
System Index
Table of Contents