source: XIOS/dev/dev_trunk_omp/extern/src_ep_dev2/ep_lib_mpi.hpp @ 1717

Last change on this file since 1717 was 1651, checked in by yushan, 5 years ago

dev on EP for tracing with itac. Tested on ADA with test_omp

File size: 1.5 KB
Line 
1#ifndef EP_LIB_MPI_HPP_INCLUDED
2#define EP_LIB_MPI_HPP_INCLUDED
3#ifdef _usingEP
4
5namespace ep_lib
6{
7
8  typedef void* MPI_Datatype;
9  typedef void* MPI_Op;
10
11
12  int MPI_Send_mpi      (void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm);
13  int MPI_Ssend_mpi      (void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm);
14  int MPI_Isend_mpi      (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request);
15  int MPI_Issend_mpi      (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request);
16 
17 
18  int MPI_Recv_mpi      (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status *status);
19  int MPI_Irecv_mpi      (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Request *request);
20
21  int MPI_Iprobe_mpi(int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status);
22  int MPI_Improbe_mpi(int src, int tag, MPI_Comm comm, int *flag, MPI_Message *message, MPI_Status *status);
23 
24  int MPI_Comm_rank_mpi(MPI_Comm comm, int* rank);
25  int MPI_Comm_size_mpi(MPI_Comm comm, int* size);
26  int MPI_Comm_remote_size_mpi(MPI_Comm comm, int* size);
27
28  int MPI_Comm_dup_mpi(MPI_Comm comm, MPI_Comm *newcomm);
29  int MPI_Comm_free_mpi(MPI_Comm *comm);
30
31  int MPI_Barrier_mpi(MPI_Comm comm);
32 
33  int MPI_Intercomm_create_mpi(MPI_Comm local_comm, int local_leader, MPI_Comm peer_comm, int remote_leader, int tag, MPI_Comm *newintercomm);
34
35}
36#endif
37
38#endif // EP_LIB_MPI_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.