source: XIOS/dev/branch_yushan_merged/extern/src_ep_dev/ep_type.cpp @ 1134

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

branch merged with trunk r1130

File size: 961 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
15::MPI_Request MPI_REQUEST_NULL_STD = MPI_REQUEST_NULL;
16#undef MPI_REQUEST_NULL
17
18::MPI_Info MPI_INFO_NULL_STD = MPI_INFO_NULL;
19#undef MPI_INFO_NULL
20
21::MPI_Datatype MPI_INT_STD = MPI_INT;
22::MPI_Datatype MPI_FLOAT_STD = MPI_FLOAT;
23::MPI_Datatype MPI_DOUBLE_STD = MPI_DOUBLE;
24::MPI_Datatype MPI_LONG_STD = MPI_LONG;
25::MPI_Datatype MPI_CHAR_STD = MPI_CHAR;
26::MPI_Datatype MPI_UNSIGNED_LONG_STD = MPI_UNSIGNED_LONG;
27::MPI_Datatype MPI_UNSIGNED_CHAR_STD = MPI_UNSIGNED_CHAR;
28
29#undef MPI_INT
30#undef MPI_FLOAT
31#undef MPI_DOUBLE
32#undef MPI_LONG
33#undef MPI_CHAR
34#undef MPI_UNSIGNED_LONG
35#undef MPI_UNSIGNED_CHAR
36
37
38::MPI_Op MPI_SUM_STD = MPI_SUM;
39::MPI_Op MPI_MAX_STD = MPI_MAX;
40::MPI_Op MPI_MIN_STD = MPI_MIN;
41
42#undef MPI_SUM
43#undef MPI_MAX
44#undef MPI_MIN
45
46
47
48
49
50
51
52
53
54
55
56
Note: See TracBrowser for help on using the repository browser.