Skip to content

Commit 1283b9e

Browse files
committed
Redefine MPI_DISTRIBUTE_XXX constants closer to MPI_ORDER_(C|F)
1 parent 21e9b2e commit 1283b9e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/mpi.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,12 @@ enum {
322322
MPI_ORDER_C = 0xC, // 12
323323
MPI_ORDER_FORTRAN = 0xF, // 15
324324

325+
// Array Datatype Distribution
326+
MPI_DISTRIBUTE_NONE = 16,
327+
MPI_DISTRIBUTE_BLOCK = 17,
328+
MPI_DISTRIBUTE_CYCLIC = 18,
329+
MPI_DISTRIBUTE_DFLT_DARG = 19,
330+
325331
// RMA Lock Constants - arbitrary values
326332
MPI_LOCK_SHARED = 21,
327333
MPI_LOCK_EXCLUSIVE = 22,
@@ -366,12 +372,6 @@ enum {
366372
MPI_COMBINER_RESIZED = 316,
367373
MPI_COMBINER_VALUE_INDEX = 317,
368374

369-
// File Operation Constants (?)
370-
MPI_DISTRIBUTE_NONE = 404,
371-
MPI_DISTRIBUTE_BLOCK = 401,
372-
MPI_DISTRIBUTE_CYCLIC = 402,
373-
MPI_DISTRIBUTE_DFLT_DARG = 403,
374-
375375
// File Position Constants
376376
MPI_SEEK_CUR = 601,
377377
MPI_SEEK_END = 602,

0 commit comments

Comments
 (0)