Skip to content

Commit 5008169

Browse files
authored
Merge pull request #71 from mpi-forum/fix-mpi_character
Fix the ABI value for `MPI_CHARACTER` to match the MPI 5.0 standard
2 parents e458367 + fddf317 commit 5008169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mpi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ typedef struct MPI_ABI_Datatype* MPI_Datatype;
124124
#define MPI_COMPLEX ((MPI_Datatype)0x0000021b)
125125
#define MPI_DOUBLE_PRECISION ((MPI_Datatype)0x0000021c)
126126
#define MPI_DOUBLE_COMPLEX ((MPI_Datatype)0x0000021d)
127+
#define MPI_CHARACTER ((MPI_Datatype)0x0000021e)
127128
#define MPI_LONG_DOUBLE ((MPI_Datatype)0x00000220)
128129
#define MPI_C_LONG_DOUBLE_COMPLEX ((MPI_Datatype)0x00000224)
129130
#define MPI_CXX_LONG_DOUBLE_COMPLEX ((MPI_Datatype)0x00000225)
@@ -153,7 +154,6 @@ typedef struct MPI_ABI_Datatype* MPI_Datatype;
153154
#define MPI_UINT64_T ((MPI_Datatype)0x00000259)
154155
#define MPI_LOGICAL1 ((MPI_Datatype)0x000002c0)
155156
#define MPI_INTEGER1 ((MPI_Datatype)0x000002c1)
156-
#define MPI_CHARACTER ((MPI_Datatype)0x000002c3)
157157
#define MPI_LOGICAL2 ((MPI_Datatype)0x000002c8)
158158
#define MPI_INTEGER2 ((MPI_Datatype)0x000002c9)
159159
#define MPI_REAL2 ((MPI_Datatype)0x000002ca)

0 commit comments

Comments
 (0)