SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
sion_datatypes_mpi.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3 *****************************************************************************
4 ** Copyright (c) 2008-2019 **
5 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6 ** **
7 ** See the file COPYRIGHT in the package base directory for details **
8 ****************************************************************************/
9 
14 #ifndef SION_SION_DATATYPES_MPI_H
15 #define SION_SION_DATATYPES_MPI_H
16 
17 #if defined(MPI_VERSION) || defined(SION_MPI) || defined(SION_OMPI)
18 
19 #if defined(_SION_LINUX)
20 #define SION_MPI_INT32 MPI_INT
21 #define SION_MPI_INT64 MPI_LONG_LONG
22 #elif defined(_SION_DARWIN)
23 #define SION_MPI_INT32 MPI_INT
24 #define SION_MPI_INT64 MPI_LONG_LONG
25 #elif defined(_SION_AIX)
26 #define SION_MPI_INT32 MPI_INT
27 #define SION_MPI_INT64 MPI_LONG_LONG
28 #elif defined(_SION_BGP)
29 #define SION_MPI_INT32 MPI_INTEGER4
30 #define SION_MPI_INT64 MPI_INTEGER8
31 #elif defined(_SION_BGQ)
32 #define SION_MPI_INT32 MPI_INTEGER4
33 #define SION_MPI_INT64 MPI_INTEGER8
34 #endif
35 
36 #endif
37 
38 #endif