source: XIOS/trunk/extern/src_ep/ep_declaration.cpp @ 1034

Last change on this file since 1034 was 1034, checked in by yushan, 4 years ago

adding src_ep into extern folder

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