Skip to content

Commit e272092

Browse files
committed
Add omitted windows MPI constants
1 parent c7f6287 commit e272092

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

src/win_mpiconstants.jl

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ const MPI_BAND = Int32(1476395014)
2828
const MPI_BOR = Int32(1476395016)
2929
const MPI_BXOR = Int32(1476395018)
3030
const MPI_LAND = Int32(1476395013)
31+
const MPI_LOCK_EXCLUSIVE = Int32(234)
32+
const MPI_LOCK_SHARED = Int32(235)
3133
const MPI_LOR = Int32(1476395015)
3234
const MPI_LXOR = Int32(1476395017)
3335
const MPI_MAX = Int32(1476395009)
3436
const MPI_MAXLOC = Int32(1476395020)
3537
const MPI_MIN = Int32(1476395010)
3638
const MPI_MINLOC = Int32(1476395019)
39+
const MPI_NO_OP = Int32(0x5800000e)
3740
const MPI_PROD = Int32(1476395012)
3841
const MPI_REPLACE = Int32(1476395021)
3942
const MPI_SUM = Int32(1476395011)
@@ -51,6 +54,8 @@ const HAVE_MPI_COMM_C2F = false
5154

5255
const MPI_ABORT = (:MPI_ABORT, "msmpi.dll")
5356
const MPI_INIT = (:MPI_INIT, "msmpi.dll")
57+
const MPI_COMM_FREE = (:MPI_COMM_FREE, "msmpi.dll")
58+
const MPI_COMM_GET_PARENT = (:MPI_COMM_GET_PARENT, "msmpi.dll")
5459
const MPI_COMM_RANK = (:MPI_COMM_RANK, "msmpi.dll")
5560
const MPI_COMM_SIZE = (:MPI_COMM_SIZE, "msmpi.dll")
5661
const MPI_COMM_SPLIT = (:MPI_COMM_SPLIT, "msmpi.dll")
@@ -69,29 +74,43 @@ const MPI_ALLTOALL = (:MPI_ALLTOALL, "msmpi.dll")
6974
const MPI_ALLTOALLV = (:MPI_ALLTOALLV, "msmpi.dll")
7075
const MPI_INITIALIZED = (:MPI_INITIALIZED, "msmpi.dll")
7176
const MPI_FINALIZED = (:MPI_FINALIZED, "msmpi.dll")
77+
const MPI_FETCH_AND_OP = (:MPI_FETCH_AND_OP, "msmpi.dll")
7278
const MPI_OP_CREATE = (:MPI_OP_CREATE, "msmpi.dll")
7379
const MPI_OP_FREE = (:MPI_OP_FREE, "msmpi.dll")
7480
const MPI_SCATTER = (:MPI_SCATTER, "msmpi.dll")
7581
const MPI_SCATTERV = (:MPI_SCATTERV, "msmpi.dll")
7682
const MPI_SEND = (:MPI_SEND, "msmpi.dll")
7783
const MPI_SCAN = (:MPI_SCAN, "msmpi.dll")
7884
const MPI_EXSCAN = (:MPI_EXSCAN, "msmpi.dll")
85+
const MPI_GET = (:MPI_GET, "msmpi.dll")
86+
const MPI_GET_ADDRESS = (:MPI_GET_ADDRESS, "msmpi.dll")
87+
const MPI_GET_COUNT = (:MPI_GET_COUNT, "msmpi.dll")
7988
const MPI_GATHER = (:MPI_GATHER, "msmpi.dll")
8089
const MPI_GATHERV = (:MPI_GATHERV, "msmpi.dll")
8190
const MPI_COMM_DUP = (:MPI_COMM_DUP, "msmpi.dll")
91+
const MPI_INTERCOMM_MERGE = (:MPI_INTERCOMM_MERGE, "msmpi.dll")
8292
const MPI_IPROBE = (:MPI_IPROBE, "msmpi.dll")
8393
const MPI_PROBE = (:MPI_PROBE, "msmpi.dll")
84-
const MPI_COMM_FREE = (:MPI_COMM_FREE, "msmpi.dll")
85-
const MPI_GET_COUNT = (:MPI_GET_COUNT, "msmpi.dll")
94+
const MPI_PUT = (:MPI_PUT, "msmpi.dll")
8695
const MPI_TEST = (:MPI_TEST, "msmpi.dll")
8796
const MPI_TESTSOME = (:MPI_TESTSOME, "msmpi.dll")
8897
const MPI_TESTANY = (:MPI_TESTANY, "msmpi.dll")
8998
const MPI_TESTALL = (:MPI_TESTALL, "msmpi.dll")
9099
const MPI_TYPE_CREATE_STRUCT = (:MPI_TYPE_CREATE_STRUCT, "msmpi.dll")
91100
const MPI_TYPE_COMMIT = (:MPI_TYPE_COMMIT, "msmpi.dll")
92101
const MPI_WAIT = (:MPI_WAIT, "msmpi.dll")
93-
const MPI_WAITSOME = (:MPI_WAITSOME, "msmpi.dll")
94102
const MPI_WAITANY = (:MPI_WAITANY, "msmpi.dll")
103+
const MPI_WAITSOME = (:MPI_WAITSOME, "msmpi.dll")
104+
const MPI_WIN_ATTACH = (:MPI_WIN_ATTACH, "msmpi.dll")
105+
const MPI_WIN_CREATE = (:MPI_WIN_CREATE, "msmpi.dll")
106+
const MPI_WIN_CREATE_DYNAMIC = (:MPI_WIN_CREATE, "msmpi.dll")
107+
const MPI_WIN_DETACH = (:MPI_WIN_DETACH, "msmpi.dll")
108+
const MPI_WIN_FENCE = (:MPI_WIN_FENCE, "msmpi.dll")
109+
const MPI_WIN_FLUSH = (:MPI_WIN_FLUSH, "msmpi.dll")
110+
const MPI_WIN_FREE = (:MPI_WIN_FREE, "msmpi.dll")
111+
const MPI_WIN_LOCK = (:MPI_WIN_LOCK, "msmpi.dll")
112+
const MPI_WIN_SYNC = (:MPI_WIN_SYNC, "msmpi.dll")
113+
const MPI_WIN_UNLOCK = (:MPI_WIN_UNLOCK, "msmpi.dll")
95114
const MPI_CANCEL = (:MPI_CANCEL, "msmpi.dll")
96115
const MPI_ALLREDUCE = (:MPI_ALLREDUCE, "msmpi.dll")
97116

0 commit comments

Comments
 (0)