PetscPrintf
Prints to standard out, only from the first processor in the communicator.
Synopsis
#include "sys.h"
int PetscPrintf(MPI_Comm comm,const char format[],...)
Not Collective
Input Parameters
| comm | - the communicator
|
| format | - the usual printf() format string
|
Fortran Note
This routine is not supported in Fortran.
Notes: %A is replace with %g unless the value is < 1.e-12 when it is
replaced with < 1.e-12
Keywords
parallel, printf
See Also
PetscFPrintf(), PetscSynchronizedPrintf()
Examples
src/sys/examples/tutorials/ex4.c
src/sys/examples/tutorials/ex1.c
src/sys/examples/tutorials/ex2.c
Level:intermediate
Location:src/sys/src/fileio/mprint.c
System Index
Table of Contents