#include "petscsys.h" PetscErrorCode PetscInfoAllow(PetscBool flag, const char filename[])Not Collective, each processor may call this separately, but printing is only turned on if the lowest processor number associated with the PetscObject associated with the call to PetscInfo() has called this routine.
flag | - PETSC_TRUE or PETSC_FALSE | |
filename | - optional name of file to write output to (defaults to stdout) |