MPI_Win_wait function
Completes an RMA exposure epoch begun with MPI_Win_post.
Syntax
int MPIAPI MPI_Win_wait(
MPI_Win win
);
Parameters
- win
Window object.
Return value
Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.
In Fortran, the return value is stored in the IERROR parameter.
Fortran
MPI_WIN_WAIT(WIN, IERROR)
INTEGER WIN, IERROR
Remarks
Completes an RMA exposure epoch started by a call to MPI_Win_post on win. This call matches calls to MPI_Win_complete issued by each of the origin processes that were granted access to the window during this epoch. The call to MPI_Win_wait will block until all matching calls to MPI_Win_complete have occurred. This guarantees that all these origin processes have completed their RMA accesses to the local window. When the call returns, all these RMA accesses will have completed at the target window.
Requirements
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Library |
Msmpi.lib |
DLL |
Msmpi.dll |