PetscSynchronizedFlush#

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

Synopsis#

Collective

Input Parameters#

  • comm - the MPI communicator

  • fd - the file pointer (valid on MPI rank 0 of the communicator)

Note#

If PetscSynchronizedPrintf() and/or PetscSynchronizedFPrintf() are called with different MPI communicators there must be an intervening call to PetscSynchronizedFlush() between the calls with different MPI communicators.

Fortran Notes#

Pass PETSC_STDOUT if the flush is for standard out; otherwise pass a value obtained from PetscFOpen()

See Also#

PetscSynchronizedPrintf(), PetscFPrintf(), PetscPrintf(), PetscViewerASCIIPrintf(), PetscViewerASCIISynchronizedPrintf()

Level#

intermediate

Location#

src/sys/fileio/mprint.c

Examples#

src/vec/vec/tutorials/ex9.c
src/dm/tutorials/ex5.c
src/dm/tutorials/ex51.c
src/ksp/pc/tutorials/ex3.c
src/sys/tutorials/ex2.c
src/dm/tutorials/ex22.c
src/vec/is/sf/tutorials/ex1.c
src/vec/vec/tutorials/ex31.c
src/ts/tutorials/ex10.c
src/snes/tutorials/ex63.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages