petsc-3.9.4 2018-09-11
Report Typos and Errors
PetscPrintf
Prints to standard out, only from the first processor in the communicator. Calls from other processes are ignored.
Synopsis
PetscErrorCode
PetscPrintf
(
MPI_Comm
comm,const char format[],...)
Not Collective
Input Parameters
comm
- the communicator
format
- the usual printf() format string
Fortran Note
The call sequence is
PetscPrintf
(
MPI_Comm
, character(*),
PetscErrorCode
ierr) from Fortran. That is, you can only pass a single character string from Fortran.
See Also
PetscFPrintf
(),
PetscSynchronizedPrintf
()
Level
intermediate
Location
src/sys/fileio/mprint.c
Examples
src/sys/classes/random/examples/tutorials/ex1.c.html
src/sys/classes/random/examples/tutorials/ex2.c.html
src/sys/examples/tutorials/ex1.c.html
src/sys/examples/tutorials/ex2.c.html
src/sys/examples/tutorials/ex4.c.html
src/sys/examples/tutorials/ex5.c.html
src/sys/examples/tutorials/ex16.c.html
src/sys/examples/tutorials/ex18.c.html
src/sys/webclient/examples/tutorials/urlshorten.c.html
src/sys/webclient/examples/tutorials/googleobtainrefreshtoken.c.html
src/sys/webclient/examples/tutorials/boxobtainrefreshtoken.c.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages