Skip to content

Commit 4fa63fa

Browse files
committed
Fix the ABI value of various constants and predefined handles
* MPI_ERRORS_(RETURN|ABORT) * MPI_COMBINER_F90_(REAL|COMPLEX|INTEGER) * MPI_SEEK_(CUR|END|SET) * MPI_(APPNUM|LASTUSEDCODE|UNIVERSE_ZIZE)
1 parent 90d88b0 commit 4fa63fa

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

mpi.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ typedef struct MPI_ABI_Info* MPI_Info;
9090
typedef struct MPI_ABI_Errhandler* MPI_Errhandler;
9191
#define MPI_ERRHANDLER_NULL ((MPI_Errhandler)0x00000140)
9292
#define MPI_ERRORS_ARE_FATAL ((MPI_Errhandler)0x00000141)
93-
#define MPI_ERRORS_RETURN ((MPI_Errhandler)0x00000142)
94-
#define MPI_ERRORS_ABORT ((MPI_Errhandler)0x00000143)
93+
#define MPI_ERRORS_ABORT ((MPI_Errhandler)0x00000142)
94+
#define MPI_ERRORS_RETURN ((MPI_Errhandler)0x00000143)
9595

9696
typedef struct MPI_ABI_Request* MPI_Request;
9797
#define MPI_REQUEST_NULL ((MPI_Request)0x00000180)
@@ -360,9 +360,9 @@ enum {
360360
MPI_COMBINER_STRUCT = 110,
361361
MPI_COMBINER_SUBARRAY = 111,
362362
MPI_COMBINER_DARRAY = 112,
363-
MPI_COMBINER_F90_INTEGER = 113,
364-
MPI_COMBINER_F90_REAL = 114,
365-
MPI_COMBINER_F90_COMPLEX = 115,
363+
MPI_COMBINER_F90_REAL = 113,
364+
MPI_COMBINER_F90_COMPLEX = 114,
365+
MPI_COMBINER_F90_INTEGER = 115,
366366
MPI_COMBINER_RESIZED = 116,
367367
MPI_COMBINER_VALUE_INDEX = 117,
368368

@@ -404,9 +404,9 @@ enum {
404404
MPI_WIN_SEPARATE = 322,
405405

406406
/* File Positioning */
407-
MPI_SEEK_SET = 401,
408-
MPI_SEEK_CUR = 402,
409-
MPI_SEEK_END = 403
407+
MPI_SEEK_CUR = 401,
408+
MPI_SEEK_END = 402,
409+
MPI_SEEK_SET = 403
410410
};
411411

412412
/* File Operation Constants */
@@ -422,9 +422,9 @@ enum {
422422
MPI_IO = 502,
423423
MPI_HOST = 503, /* deprecated: MPI-4.1 */
424424
MPI_WTIME_IS_GLOBAL = 504,
425-
MPI_UNIVERSE_SIZE = 505,
426-
MPI_APPNUM = 506,
427-
MPI_LASTUSEDCODE = 507,
425+
MPI_APPNUM = 505,
426+
MPI_LASTUSEDCODE = 506,
427+
MPI_UNIVERSE_SIZE = 507,
428428

429429
/* Window */
430430
MPI_WIN_BASE = 601,

0 commit comments

Comments
 (0)