We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aab9295 commit 18fa6eaCopy full SHA for 18fa6ea
src/consts/openmpi.jl
@@ -15,10 +15,10 @@ const MPI_MAX_PROCESSOR_NAME = Cint(256)
15
# Types
16
17
# Various (signed) integer types:
18
-const MPI_Aint = Int
19
-const MPI_Fint = Int32
20
-const MPI_Count = Int
21
-const MPI_Offset = Int
+const MPI_Aint = Cptrdiff_t
+const MPI_Fint = Cint
+const MPI_Count = Int # needs to be Int to match different sizes on 32-bit/64-bit systems
+const MPI_Offset = Int # needs to be Int to match different sizes on 32-bit/64-bit systems
22
23
# Status:
24
struct MPI_Status
0 commit comments