PetscFPrintf

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

Synopsis

#include "sys.h"   
int PetscFPrintf(MPI_Comm comm,FILE* fd,const 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(), ViewerASCIIPrintf(),
ViewerASCIISynchronizedPrintf(), PetscSynchronizedFlush()

Level:intermediate
Location:src/sys/src/fileio/mprint.c
System Index
Table of Contents