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
22 #define MPI_UNSIGNED_LONG 0
23 #define MPI_LONG_LONG 0
24 #define MPI_UNSIGNED_LONG_LONG 0
26 #define MPI_ANY_SOURCE 0
30 #ifdef TOOLS_USE_MPI_PACK_NOT_CONST
31 inline int MPI_Pack(
void*,
int,MPI_Datatype,
void*,
int,
int*,MPI_Comm){
return 0;}
32 inline int MPI_Unpack(
void*,
int,
int*,
void*,
int,MPI_Datatype,MPI_Comm){
return 0;}
34 inline int MPI_Pack(
const void*,
int,MPI_Datatype,
void*,
int,
int*,MPI_Comm){
return 0;}
35 inline int MPI_Unpack(
const void*,
int,
int*,
void*,
int,MPI_Datatype,MPI_Comm){
return 0;}
48 inline int MPI_Probe(
int,
int,MPI_Comm,MPI_Status*){
return 0;}
49 inline int MPI_Get_count(
const MPI_Status*,MPI_Datatype,
int*){
return 0;}
50 inline int MPI_Send(
const void*,
int,MPI_Datatype,
int,
int,MPI_Comm){
return 0;}
51 inline int MPI_Recv(
void*,
int,MPI_Datatype,
int,
int,MPI_Comm,MPI_Status*){
return 0;}
57 #define MPI_COMM_WORLD 0
58 #define MPI_MAX_PROCESSOR_NAME 100
int MPI_Unpack(const void *, int, int *, void *, int, MPI_Datatype, MPI_Comm)
to pass h2mpi, hs2mpi /////////////////////////////////////
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_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)