Changeset 1642 for XIOS/dev/branch_openmp/src/mpi.hpp
- Timestamp:
- 01/23/19 10:31:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/mpi.hpp
r1328 r1642 10 10 /* skip C++ Binding for OpenMPI */ 11 11 #define OMPI_SKIP_MPICXX 12 12 13 #ifdef _usingEP 13 #include <omp.h> 14 #include "../extern/src_ep_dev/ep_lib.hpp" 15 #include "../extern/src_ep_dev/ep_declaration.hpp" 16 //using namespace ep_lib; 17 #elif _usingMPI 18 #include <mpi.h> 14 #include "ep_lib.hpp" 15 #include "ep_declaration.hpp" 19 16 #endif 20 17 18 #include <mpi.h> 19 20 #ifdef _usingMPI 21 22 #define ep_lib 23 24 #define EP_INT MPI_INT 25 #define EP_FLOAT MPI_FLOAT 26 #define EP_DOUBLE MPI_DOUBLE 27 #define EP_CHAR MPI_CHAR 28 #define EP_LONG MPI_LONG 29 #define EP_LONG_LONG_INT MPI_LONG_LONG_INT 30 #define EP_UNSIGNED_LONG MPI_UNSIGNED_LONG 31 #define EP_UNSIGNED_CHAR MPI_UNSIGNED_CHAR 32 33 34 #define EP_COMM_WORLD MPI_COMM_WORLD 35 #define EP_COMM_NULL MPI_COMM_NULL 36 #define EP_INFO_NULL MPI_INFO_NULL 37 38 #define EP_MAX MPI_MAX 39 #define EP_MIN MPI_MIN 40 #define EP_SUM MPI_SUM 41 #define EP_LOR MPI_LOR 21 42 22 43 #endif 44 45 #endif
Note: See TracChangeset
for help on using the changeset viewer.