PetscSynchronizedFlush

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

Synopsis

int PetscSynchronizedFlush(MPI_Comm comm)
Collective on MPI_Comm

Input Parameters

comm -the communicator

Notes

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

See Also

PetscSynchronizedPrintf(), 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