PetscFPrintf

Prints to a file, only from the first processor in the communicator.

Synopsis

int PetscFPrintf(MPI_Comm comm,FILE* fd,char *format,...)
Not Collective

Input Parameters

comm - the communicator
fd - the file pointer
format - the usual printf() format string

Fortran Note

This routine is not supported in Fortran.

Keywords

parallel, fprintf

See Also

PetscPrintf(), PetscSynchronizedPrintf()

Location: src/sys/src/fileiomprint.c
System Index
Table of Contents