MPI_File_sync
Causes all previous writes to be transferred to the storage deviceint MPI_File_sync( MPI_File mpi_fh );
Parameters
- mpi_fh
- [in] file handle (handle)
Remarks
Calling MPI_FILE_SYNC with mpi_fh causes all previous writes to mpi_fh by the calling process to be transferred to the storage device. If other processes have made updates to the storage device, then all such updates become visible to subsequent reads of mpi_fh by the calling process. MPI_FILE_SYNC may be necessary to ensure sequential consistency in certain cases (see above).
MPI_FILE_SYNC is a collective operation.
The user is responsible for ensuring that all nonblocking requests and split collective operations on mpi_fh have been completed before calling MPI_FILE_SYNC---otherwise, the call to MPI_FILE_SYNC is erroneous.
Example Code
The following sample code illustrates MPI_File_sync.
Insert code here.
DOWNLOAD
Win32 DeinoMPI.2.0.1.msi
Win64 DeinoMPI.x64.2.0.1.msi