source: XIOS/dev/branch_yushan/extern/src_ep_dev/ep_type.cpp @ 1063

Last change on this file since 1063 was 1053, checked in by yushan, 7 years ago

ep_lib namespace specified when netcdf involved

File size: 1005 bytes
Line 
1#include "ep_lib.hpp"
2#include <mpi.h>
3
4
5using namespace std;
6
7::MPI_Comm MPI_COMM_WORLD_STD = MPI_COMM_WORLD;
8#undef MPI_COMM_WORLD
9
10
11::MPI_Comm MPI_COMM_NULL_STD = MPI_COMM_NULL;
12#undef MPI_COMM_NULL
13
14//::MPI_Info MPI_INFO_NULL_STD = MPI_INFO_NULL;
15//#undef MPI_INFO_NULL
16
17::MPI_Request MPI_REQUEST_NULL_STD = MPI_REQUEST_NULL;
18#undef MPI_REQUEST_NULL
19
20::MPI_Datatype MPI_INT_STD = MPI_INT;
21::MPI_Datatype MPI_FLOAT_STD = MPI_FLOAT;
22::MPI_Datatype MPI_DOUBLE_STD = MPI_DOUBLE;
23::MPI_Datatype MPI_LONG_STD = MPI_LONG;
24::MPI_Datatype MPI_CHAR_STD = MPI_CHAR;
25::MPI_Datatype MPI_UNSIGNED_LONG_STD = MPI_UNSIGNED_LONG;
26::MPI_Datatype MPI_UNSIGNED_CHAR_STD = MPI_UNSIGNED_CHAR;
27
28#undef MPI_INT
29#undef MPI_FLOAT
30#undef MPI_DOUBLE
31#undef MPI_LONG
32#undef MPI_CHAR
33#undef MPI_UNSIGNED_LONG
34#undef MPI_UNSIGNED_CHAR
35
36
37::MPI_Op MPI_SUM_STD = MPI_SUM;
38::MPI_Op MPI_MAX_STD = MPI_MAX;
39::MPI_Op MPI_MIN_STD = MPI_MIN;
40
41#undef MPI_SUM
42#undef MPI_MAX
43#undef MPI_MIN
44
45#ifdef _openmpi
46//#undef MPI_Fint
47#endif
48
49
50
51
52
53
54
55
56
57
58
Note: See TracBrowser for help on using the repository browser.