Changeset 1759
- Timestamp:
- 10/18/19 15:25:19 (5 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_SERVICES/src
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_SERVICES/src/mpi.hpp
r1639 r1759 12 12 13 13 #include <mpi.h> 14 #include <climits> 15 #include <cstdint> 16 17 #if SIZE_MAX == UCHAR_MAX 18 #define MPI_SIZE_T MPI_UNSIGNED_CHAR 19 #elif SIZE_MAX == USHRT_MAX 20 #define MPI_SIZE_T MPI_UNSIGNED_SHORT 21 #elif SIZE_MAX == UINT_MAX 22 #define MPI_SIZE_T MPI_UNSIGNED 23 #elif SIZE_MAX == ULONG_MAX 24 #define MPI_SIZE_T MPI_UNSIGNED_LONG 25 #elif SIZE_MAX == ULLONG_MAX 26 #define MPI_SIZE_T MPI_UNSIGNED_LONG_LONG 27 #else 28 #error "Unable to find MPI_SIZE_T equivalent type" 29 #endif 30 31 #include "mpi_tools.hpp" 14 32 15 33 #endif
Note: See TracChangeset
for help on using the changeset viewer.