Commit 20ed0f4a authored by William Gropp's avatar William Gropp
Browse files

[svn-r10747] Correct error class (late change to MPI-3 removed the WRONG from the error class

parent cb3dad44
......@@ -782,10 +782,10 @@ typedef int (MPIX_Grequest_wait_function)(int, void **, double, MPI_Status *);
#define MPIX_ERR_PROC_FAIL_STOP 54 /* Process failure */
#define MPI_ERR_RMA_RANGE 55 /* */
#define MPI_ERR_RMA_ATTACH 56 /* */
#define MPI_ERR_RMA_SHARED 57 /* */
#define MPI_ERR_RMA_WRONG_FLAVOR 58 /* */
#define MPI_ERR_RMA_RANGE 55 /* */
#define MPI_ERR_RMA_ATTACH 56 /* */
#define MPI_ERR_RMA_SHARED 57 /* */
#define MPI_ERR_RMA_FLAVOR 58 /* */
#define MPI_ERR_LASTCODE 0x3fffffff /* Last valid error code for a
predefined error class */
......
......@@ -23,7 +23,7 @@ int MPIDI_CH3_SHM_Win_shared_query(MPID_Win *win_ptr, int target_rank, MPI_Aint
comm_size = win_ptr->comm_ptr->local_size;
if (win_ptr->create_flavor != MPI_WIN_FLAVOR_SHARED) {
MPIU_ERR_SETANDJUMP(mpi_errno, MPI_ERR_RMA_WRONG_FLAVOR, "**winflavor");
MPIU_ERR_SETANDJUMP(mpi_errno, MPI_ERR_RMA_FLAVOR, "**winflavor");
}
/* Scan the sizes to locate the first process that allocated a nonzero
......
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