PetscErrorCode PetscPClose(MPI_Comm comm,FILE *fd)Collective on MPI_Comm, but only process 0 runs the command
comm | - MPI communicator, only processor zero runs the program | |
fp | - the file pointer where program input or output may be read or NULL if don't care |