1 | #ifndef EP_LIB_LOCAL_HPP_INCLUDED |
---|
2 | #define EP_LIB_LOCAL_HPP_INCLUDED |
---|
3 | |
---|
4 | namespace ep_lib |
---|
5 | { |
---|
6 | #ifdef _intelmpi |
---|
7 | typedef int MPI_Datatype; |
---|
8 | typedef int MPI_Op; |
---|
9 | #elif _openmpi |
---|
10 | typedef void* MPI_Datatype; |
---|
11 | typedef void* MPI_Op; |
---|
12 | #endif |
---|
13 | |
---|
14 | |
---|
15 | int MPI_Reduce_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
16 | int MPI_Reduce_local_int (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
17 | int MPI_Reduce_local_float (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
18 | int MPI_Reduce_local_double(const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
19 | int MPI_Reduce_local_long (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
20 | int MPI_Reduce_local_ulong (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
21 | int MPI_Reduce_local_char (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
22 | |
---|
23 | |
---|
24 | int MPI_Scan_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
25 | int MPI_Scan_local_int (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
26 | int MPI_Scan_local_float (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
27 | int MPI_Scan_local_double(const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
28 | int MPI_Scan_local_long (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
29 | int MPI_Scan_local_ulong (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
30 | int MPI_Scan_local_char (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
31 | |
---|
32 | int MPI_Exscan_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
33 | int MPI_Exscan_local_int (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
34 | int MPI_Exscan_local_float (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
35 | int MPI_Exscan_local_double(const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
36 | int MPI_Exscan_local_long (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
37 | int MPI_Exscan_local_ulong (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
38 | int MPI_Exscan_local_char (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
39 | |
---|
40 | int MPI_Bcast_local (void *buffer, int count, MPI_Datatype datatype, MPI_Comm comm); |
---|
41 | int MPI_Bcast_local_int (void *buffer, int count, MPI_Comm comm); |
---|
42 | int MPI_Bcast_local_float (void *buffer, int count, MPI_Comm comm); |
---|
43 | int MPI_Bcast_local_double(void *buffer, int count, MPI_Comm comm); |
---|
44 | int MPI_Bcast_local_long (void *buffer, int count, MPI_Comm comm); |
---|
45 | int MPI_Bcast_local_ulong (void *buffer, int count, MPI_Comm comm); |
---|
46 | int MPI_Bcast_local_char (void *buffer, int count, MPI_Comm comm); |
---|
47 | |
---|
48 | int MPI_Gather_local (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, MPI_Comm comm); |
---|
49 | int MPI_Gather_local_int (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
50 | int MPI_Gather_local_float (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
51 | int MPI_Gather_local_double(const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
52 | int MPI_Gather_local_long (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
53 | int MPI_Gather_local_ulong (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
54 | int MPI_Gather_local_char (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
55 | |
---|
56 | |
---|
57 | int MPI_Gatherv_local (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, |
---|
58 | const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
59 | int MPI_Gatherv_local_int (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
60 | int MPI_Gatherv_local_float (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
61 | int MPI_Gatherv_local_double(const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
62 | int MPI_Gatherv_local_long (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
63 | int MPI_Gatherv_local_ulong (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
64 | int MPI_Gatherv_local_char (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
65 | |
---|
66 | int MPI_Scatter_local (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, MPI_Comm comm); |
---|
67 | int MPI_Scatter_local_int (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
68 | int MPI_Scatter_local_float (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
69 | int MPI_Scatter_local_double(const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
70 | int MPI_Scatter_local_long (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
71 | int MPI_Scatter_local_ulong (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
72 | int MPI_Scatter_local_char (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
73 | |
---|
74 | int MPI_Scatterv_local (const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype datatype, void *recvbuf, MPI_Comm comm); |
---|
75 | int MPI_Scatterv_local_int (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
76 | int MPI_Scatterv_local_float (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
77 | int MPI_Scatterv_local_double(const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
78 | int MPI_Scatterv_local_long (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
79 | int MPI_Scatterv_local_ulong (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
80 | int MPI_Scatterv_local_char (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
81 | |
---|
82 | int innode_memcpy(int sender, const void* sendbuf, int receiver, void* recvbuf, int count, MPI_Datatype datatype, MPI_Comm comm); |
---|
83 | |
---|
84 | int MPI_Barrier_local(MPI_Comm comm); |
---|
85 | |
---|
86 | } |
---|
87 | |
---|
88 | #endif // EP_LIB_LOCAL_HPP_INCLUDED |
---|