4 #ifndef tools_mpi_dummy_mpi_h 5 #define tools_mpi_dummy_mpi_h 16 #define MPI_UNSIGNED 0 18 #define MPI_UNSIGNED_CHAR 0 23 #ifdef TOOLS_USE_MPI_PACK_NOT_CONST 24 inline int MPI_Pack(
void*,
int,MPI_Datatype,
void*,
int,
int*,MPI_Comm){
return 0;}
25 inline int MPI_Unpack(
void*,
int,
int*,
void*,
int,MPI_Datatype,MPI_Comm){
return 0;}
27 inline int MPI_Pack(
const void*,
int,MPI_Datatype,
void*,
int,
int*,MPI_Comm){
return 0;}
28 inline int MPI_Unpack(
const void*,
int,
int*,
void*,
int,MPI_Datatype,MPI_Comm){
return 0;}
37 inline int MPI_Probe(
int,
int,MPI_Comm,MPI_Status*){
return 0;}
38 inline int MPI_Get_count(
const MPI_Status*,MPI_Datatype,
int*){
return 0;}
39 inline int MPI_Send(
const void*,
int,MPI_Datatype,
int,
int,MPI_Comm){
return 0;}
40 inline int MPI_Recv(
void*,
int,MPI_Datatype,
int,
int,MPI_Comm,MPI_Status*){
return 0;}
46 #define MPI_COMM_WORLD 0 47 #define MPI_MAX_PROCESSOR_NAME 100 int MPI_Unpack(const void *, int, int *, void *, int, MPI_Datatype, MPI_Comm)
int MPI_Comm_size(MPI_Comm, int *)
int MPI_Recv(void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Status *)
int MPI_Get_count(const MPI_Status *, MPI_Datatype, int *)
int MPI_Pack(const void *, int, MPI_Datatype, void *, int, int *, MPI_Comm)
int MPI_Comm_rank(MPI_Comm, int *)
int MPI_Init(int *, char ***)
int MPI_Status
to pass h2mpi, hs2mpi /////////////////////////////////////
int MPI_Probe(int, int, MPI_Comm, MPI_Status *)
void * MPI_Comm
to pass hd2mpi ////////////////////////////////////////////
int MPI_Get_processor_name(char *, int *)
int MPI_Send(const void *, int, MPI_Datatype, int, int, MPI_Comm)