Last change
on this file since 2236 was
1665,
checked in by yushan, 5 years ago
|
MARK: branch merged with trunk @1660. Add option --omp to enable multithreading.
|
File size:
435 bytes
|
Line | |
---|
1 | #ifndef __XIOS_MPI_HPP__ |
---|
2 | #define __XIOS_MPI_HPP__ |
---|
3 | |
---|
4 | /* skip C++ Binding for mpich , intel MPI */ |
---|
5 | #define MPICH_SKIP_MPICXX |
---|
6 | |
---|
7 | /* skip C++ Binding for SGI MPI library */ |
---|
8 | #define MPI_NO_CPPBIND |
---|
9 | |
---|
10 | /* skip C++ Binding for OpenMPI */ |
---|
11 | #define OMPI_SKIP_MPICXX |
---|
12 | |
---|
13 | |
---|
14 | #ifdef _usingEP |
---|
15 | #include <omp.h> |
---|
16 | #include <mpi.h> |
---|
17 | #include "ep_lib.hpp" |
---|
18 | #include "ep_declaration.hpp" |
---|
19 | #else |
---|
20 | #include <mpi.h> |
---|
21 | #define ep_lib |
---|
22 | #define EP_Fint MPI_Fint |
---|
23 | #endif |
---|
24 | |
---|
25 | |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.