What is MPI_Win_flush_local?
MPI library
MPI, short for Message Passing Interface, is a library that allows you to write parallel programs in Fortran77 or C. The library uses common operating system services to exchange information among the parallel processes it creates.
MPI_Win_flush_local
This method locally completes all outstanding RMA (Remote Memory Access) operations started by the calling process to the target process specified by rank on the specified window.
Syntax
int MPI_Win_flush_local(int rank, MPI_Win win)
Parameters
-
rankis the rank of the window. -
winis the window object used by processes to perform RMA operations.
Return value
-
If unsuccessful, the function returns an error. The error, by default, aborts the MPI job.
-
In case of success, it returns
MPI_SUCCESS, which is the value returned upon successful termination of any MPI routine. -
In case an invalid window object is provided in the function’s argument,
MPI_ERR_WINis returned. -
MPI_ERR_RANKis returned if the source or destination rank is invalid. Rank must be between one and size of communicator minus one. -
MPI_ERR_OTHERis returned there are any other errors.MPI_Error_stringcan be used to get more information about this error code.
Free Resources