PetscFClose

Has the first processor in the communicator close a file; all others do nothing.

Synopsis

int PetscFClose(MPI_Comm comm,FILE *fd)
Collective on MPI_Comm

Input Parameters

comm - the communicator
fd - the file, opened with PetscFOpen()

Fortran Note

This routine is not supported in Fortran.

Keywords

file, close

See Also

PetscFOpen()

Level:developer
Location:src/sys/src/fileio/mpiuopen.c
System Index
Table of Contents