The error classes for one-sided communication are defined in Table 9 . RMA routines may (and almost certainly will) use other MPI error classes, such as MPI_ERR_OP or MPI_ERR_RANK.
MPI_ERR_WIN | invalid win argument |
MPI_ERR_BASE | invalid base argument |
MPI_ERR_SIZE | invalid size argument |
MPI_ERR_DISP | invalid disp argument |
MPI_ERR_LOCKTYPE | invalid locktype argument |
MPI_ERR_ASSERT | invalid assert argument |
MPI_ERR_RMA_CONFLICT | conflicting accesses to window |
MPI_ERR_RMA_SYNC | invalid synchronization of RMA calls |
MPI_ERR_RMA_RANGE | target memory is not part of the window (in the case of a window created with MPI_WIN_CREATE_DYNAMIC, target memory is not attached) |
MPI_ERR_RMA_ATTACH | memory cannot be attached (e.g., because of resource exhaustion) |
MPI_ERR_RMA_SHARED | memory cannot be shared (e.g., some process in the group of the specified communicator cannot expose shared memory) |
MPI_ERR_RMA_FLAVOR | passed window has the wrong flavor for the called function |