00001 #ifndef MPIB_P2P_H_
00002 #define MPIB_P2P_H_ 1
00003
00004 #include <mpi.h>
00005
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018
00023 int p2p_init_max_fragment_size();
00024
00031 int p2p_init(MPI_Comm comm, int proc_num_spawned);
00032
00037 int p2p_finalize();
00038
00040 int MPIB_Send_wrapper(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm);
00041
00043 int MPIB_Isend_wrapper(void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request);
00044
00046 int MPIB_Recv_wrapper(void* buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status* status);
00047
00049 int MPIB_Irecv_wrapper(void* buf, int count, MPI_Datatype datatype, int source,
00050 int tag, MPI_Comm comm, MPI_Request* request);
00051
00053 int MPIB_Waitall_wrapper(int count, MPI_Request* array_of_requests, MPI_Status* array_of_statuses);
00054
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058
00062 #endif