callls MPI_Win_Sync on the array’s shared memory window to sync rma This has to be called between read/write epochs to ensure all tasks of a node are looking at the same shared data
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(shared_array_real_t) | :: | this |
subroutine sync_real (this)
class(shared_array_real_t) :: this
integer(MPIArg) :: ierr
call MPI_Win_Sync(this%win, ierr)
call MPI_Barrier(mpi_comm_intra, ierr)
end subroutine sync_real