Maintaining Consistency for Data Access Semantics
Function Syntax
MPI_File_sync(MPI_File fh)
PMPI_File_sync(MPI_File fh)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
fh |
File handle |
Non-empty |
Input |
Return Value
MPI_SUCCESS
Notes
This function always returns MPI_SUCCESS. Data is flushed to the drive only after MPI_File_close or PMPI_File_close is called.
Parent topic: File Operations