ENDIF()
-if(ARCH_32_BITS)
- set(MPI_ADDRESS_SIZE 4)
-else()
- set(MPI_ADDRESS_SIZE 8)
-endif()
-
include(CheckFunctionExists)
include(CheckTypeSize)
include(CheckIncludeFile)
parameter(MPI_BXOR=11)
INTEGER MPI_ADDRESS_KIND, MPI_OFFSET_KIND
- PARAMETER (MPI_ADDRESS_KIND=@MPI_ADDRESS_SIZE@)
- PARAMETER (MPI_OFFSET_KIND=@MPI_ADDRESS_SIZE@)
+ PARAMETER (MPI_ADDRESS_KIND=@CMAKE_SIZEOF_VOID_P@)
+ PARAMETER (MPI_OFFSET_KIND=@CMAKE_SIZEOF_VOID_P@)
integer MPI_COMBINER_NAMED, MPI_COMBINER_DUP
integer MPI_COMBINER_CONTIGUOUS, MPI_COMBINER_VECTOR
C (C) 2003 by Argonne National Laboratory.
C See COPYRIGHT in top-level directory.
C
- integer*@MPI_ADDRESS_SIZE@ aint, aintv(max_asizev)
+ integer*@CMAKE_SIZEOF_VOID_P@ aint, aintv(max_asizev)