4 #ifndef tools_mpi_dummy_mpi_h
5 #define tools_mpi_dummy_mpi_h
16 #define MPI_UNSIGNED 0
19 #define MPI_UNSIGNED_CHAR 0
24 #define MPI_UNSIGNED_LONG 0
25 #define MPI_LONG_LONG 0
26 #define MPI_UNSIGNED_LONG_LONG 0
28 #define MPI_ANY_SOURCE 0
32 #ifdef TOOLS_USE_MPI_PACK_NOT_CONST
33 inline int MPI_Pack(
void*,
int,MPI_Datatype,
void*,
int,
int*,MPI_Comm){
return 0;}
34 inline int MPI_Unpack(
void*,
int,
int*,
void*,
int,MPI_Datatype,MPI_Comm){
return 0;}
36 inline int MPI_Pack(
const void*,
int,MPI_Datatype,
void*,
int,
int*,MPI_Comm){
return 0;}
37 inline int MPI_Unpack(
const void*,
int,
int*,
void*,
int,MPI_Datatype,MPI_Comm){
return 0;}
50 inline int MPI_Probe(
int,
int,MPI_Comm,MPI_Status*){
return 0;}
51 inline int MPI_Get_count(
const MPI_Status*,MPI_Datatype,
int*){
return 0;}
52 inline int MPI_Send(
const void*,
int,MPI_Datatype,
int,
int,MPI_Comm){
return 0;}
53 inline int MPI_Recv(
void*,
int,MPI_Datatype,
int,
int,MPI_Comm,MPI_Status*){
return 0;}
59 #define MPI_COMM_WORLD 0
60 #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 *)
to pass h2mpi, hs2mpi /////////////////////////////////////
int MPI_Init(int *, char ***)
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)