PetscSynchronizedFlush

Flushes to the screen output from all processors involved in previous PetscSynchronizedPrintf() calls.

Synopsis

#include "sys.h"   
int PetscSynchronizedFlush(MPI_Comm comm)
Collective on MPI_Comm

Input Parameters

comm -the communicator

Notes

Usage of PetscSynchronizedPrintf() and PetscSynchronizedFPrintf() with different MPI communicators REQUIRES an intervening call to PetscSynchronizedFlush().

See Also

PetscSynchronizedPrintf(), PetscFPrintf(), PetscPrintf(), ViewerASCIIPrintf(),
ViewerASCIISynchronizedPrintf()

Examples

src/sys/examples/tutorials/ex2.c
src/vec/examples/tutorials/ex9f.F
src/vec/examples/tutorials/ex14f.F
src/vec/examples/tutorials/ex9.c

Level:intermediate
Location:src/sys/src/fileio/mprint.c
System Index
Table of Contents