MPI_File_sync(3)
MPI_File_sync - Causes all previous writes to be transferred to the storage device
As shipped in IRIX 6.5.19. Added in IRIX 6.5.19.
NAME MPI_File_sync - Causes all previous writes to be transferred to the storage device SYNOPSIS C: #include "mpi.h" int MPI_File_sync(MPI_File fh) Fortran: INCLUDE "mpif.h" (or USE MPI) INTEGER fh, ierror CALL MPI_FILE_SYNC(fh, ierror) DESCRIPTION MPI_File_sync is a collective operation that causes all previous writes to fh by the calling process to be transferred to the storage device. If other processes have made updates to the storage device, all such updates become visible to subsequent reads of fh by the calling process. In certain cases, calling MPI_File_sync might be necessary to ensure sequential consistency. MPI_File_sync accepts the following argument: fh Specifies the file handle (handle). The user is responsible for ensuring that all nonblocking requests and split collective operations on fh have been completed before calling MPI_File_sync; otherwise, the call to MPI_File_sync is erroneous. ierror Specifies the return code value for successful completion, which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mpif.h file. Notes for Fortran All MPI objects (for example, MPI_Datatype, MPI_Comm, MPI_File) are of type INTEGER. SEE ALSO MPI_File_open(3), MPI_IO(3)