source: XIOS/dev/dev_trunk_omp/src/mpi_std.hpp @ 1762

Last change on this file since 1762 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
RevLine 
[1604]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
[1646]13
14#ifdef _usingEP
15#include <omp.h>
[1604]16#include <mpi.h>
[1646]17#include "ep_lib.hpp"
18#include "ep_declaration.hpp"
[1665]19#else
[1646]20#include <mpi.h>
21#define ep_lib
[1650]22#define EP_Fint MPI_Fint
[1646]23#endif
[1604]24
[1646]25
[1604]26#endif
Note: See TracBrowser for help on using the repository browser.