Skip to content

Commit 0a29d05

Browse files
authored
Merge pull request #945 from JuliaParallel/eschnett/MPIABI-constants
Correct MPIABI constants (don't use @const_ref)
2 parents c82c78f + 9d27fd0 commit 0a29d05

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/api/mpiabi.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -256,18 +256,18 @@ const MPI_C_COMPLEX = MPI_C_FLOAT_COMPLEX
256256
@const_ref MPI_WEIGHTS_EMPTY Ptr{Cint} 11
257257

258258
# Maximum Sizes for Strings
259-
@const_ref MPI_MAX_DATAREP_STRING Cint 128
260-
@const_ref MPI_MAX_ERROR_STRING Cint 512
261-
@const_ref MPI_MAX_INFO_KEY Cint 256
262-
@const_ref MPI_MAX_INFO_VAL Cint 1024
263-
@const_ref MPI_MAX_LIBRARY_VERSION_STRING Cint 8192
264-
@const_ref MPI_MAX_OBJECT_NAME Cint 128
265-
@const_ref MPI_MAX_PORT_NAME Cint 1024
266-
@const_ref MPI_MAX_PROCESSOR_NAME Cint 256
267-
@const_ref MPI_MAX_STRINGTAG_LEN Cint 1024
268-
@const_ref MPI_MAX_PSET_NAME_LEN Cint 1024
259+
const MPI_MAX_DATAREP_STRING = Cint( 128)
260+
const MPI_MAX_ERROR_STRING = Cint( 512)
261+
const MPI_MAX_INFO_KEY = Cint( 256)
262+
const MPI_MAX_INFO_VAL = Cint(1024)
263+
const MPI_MAX_LIBRARY_VERSION_STRING = Cint(8192)
264+
const MPI_MAX_OBJECT_NAME = Cint( 128)
265+
const MPI_MAX_PORT_NAME = Cint(1024)
266+
const MPI_MAX_PROCESSOR_NAME = Cint( 256)
267+
const MPI_MAX_STRINGTAG_LEN = Cint(1024)
268+
const MPI_MAX_PSET_NAME_LEN = Cint(1024)
269269
# Assorted Constants
270-
@const_ref MPI_BSEND_OVERHEAD Cint 512
270+
const MPI_BSEND_OVERHEAD = Cint( 512)
271271

272272
# Mode Constants - must be powers-of-2 to support OR-ing
273273
# File Open Modes

0 commit comments

Comments
 (0)