[1134] | 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 | |
---|
[1287] | 14 | int MPI_Reduce_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int local_root, MPI_Comm comm); |
---|
[1134] | 15 | |
---|
| 16 | int MPI_Scan_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
| 17 | |
---|
| 18 | int MPI_Exscan_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
| 19 | |
---|
[1287] | 20 | int MPI_Bcast_local (void *buffer, int count, MPI_Datatype datatype, int local_root, MPI_Comm comm); |
---|
| 21 | |
---|
| 22 | int MPI_Gather_local (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, int local_root, MPI_Comm comm); |
---|
[1134] | 23 | |
---|
| 24 | int MPI_Gatherv_local (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, |
---|
[1287] | 25 | const int recvcounts[], const int displs[], int local_root, MPI_Comm comm); |
---|
[1134] | 26 | |
---|
[1287] | 27 | int MPI_Scatter_local(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int local_root, MPI_Comm comm); |
---|
[1134] | 28 | |
---|
[1287] | 29 | int MPI_Scatterv_local(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, |
---|
| 30 | MPI_Datatype recvtype, int local_root, MPI_Comm comm); |
---|
[1134] | 31 | |
---|
| 32 | int MPI_Barrier_local(MPI_Comm comm); |
---|
| 33 | |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | #endif // EP_LIB_LOCAL_HPP_INCLUDED |
---|