[1505] | 1 | #ifndef EP_LIB_MPI_HPP_INCLUDED |
---|
| 2 | #define EP_LIB_MPI_HPP_INCLUDED |
---|
| 3 | |
---|
| 4 | namespace ep_lib |
---|
| 5 | { |
---|
| 6 | |
---|
| 7 | typedef void* MPI_Datatype; |
---|
| 8 | typedef void* MPI_Op; |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | int MPI_Send_mpi (void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); |
---|
| 12 | int MPI_Send_intercomm(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); |
---|
| 13 | |
---|
| 14 | int MPI_Ssend_mpi (void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); |
---|
| 15 | int MPI_Ssend_intercomm(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); |
---|
| 16 | |
---|
| 17 | int MPI_Isend_mpi (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); |
---|
| 18 | int MPI_Isend_intercomm(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); |
---|
| 19 | |
---|
| 20 | int MPI_Issend_mpi (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); |
---|
| 21 | int MPI_Issend_intercomm(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | int MPI_Recv_mpi (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status *status); |
---|
| 25 | |
---|
| 26 | int MPI_Irecv_mpi (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Request *request); |
---|
| 27 | |
---|
[1515] | 28 | int MPI_Comm_rank_mpi(MPI_Comm comm, int* rank); |
---|
| 29 | int MPI_Comm_size_mpi(MPI_Comm comm, int* size); |
---|
| 30 | int MPI_Comm_remote_size_mpi(MPI_Comm comm, int* size); |
---|
| 31 | |
---|
[1505] | 32 | } |
---|
| 33 | |
---|
| 34 | #endif // EP_LIB_MPI_HPP_INCLUDED |
---|