Commit 4543960d by Francois Gygi

Add MPI_File_sync in SharedFilePtr::sync

parent b0fe95cc
......@@ -44,6 +44,7 @@ class SharedFilePtr
MPI_Offset mpi_offset(void) const { return (MPI_Offset) offset_; }
void sync(void)
{
MPI_File_sync(fh_);
// set all offsets to the largest offset
#if USE_MPI
long long int s_off = offset_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment