73
77
/// Clones (dups) an MPIMessageGrp from MPI_COMM_WORLD
74
78
Ref<MessageGrp> clone(void);
77
81
void raw_recv(int sender, void* data, int nbyte);
78
void raw_sendt(int target, int type, void* data, int nbyte);
82
void raw_sendt(int target, int type, const void* data, int nbyte);
79
83
void raw_recvt(int type, void* data, int nbyte);
89
void sum(double*, int n, double*scratch = 0, int target = -1);
90
void sum(int*, int n, int*scratch = 0, int target = -1);
85
92
void reduce(double*, int n, GrpReduce<double>&,
86
93
double*scratch = 0, int target = -1);
87
94
void reduce(unsigned int*, int n, GrpReduce<unsigned int>&,