10 int main(
int narg,
char *arg[])
17 world = MPI_COMM_WORLD;
18 MPI_Comm_size(world,&np);
26 test = comm_reduce_slong(&comm,gs_add,(
slong*)&v,1);
28 printf(
"%02d: %d %d %d\n",(
int)comm.
id,(
int)sum[0],(
int)sum[1],(
int)test);
static double sum(struct xxt *data, double v, uint n, uint tag)
void test(const struct comm *const comm)
int main(int narg, char *arg[])
static void comm_free(struct comm *c)
void comm_scan(void *scan, const struct comm *com, gs_dom dom, gs_op op, const void *v, uint vn, void *buffer)
establishes some macros to establish naming conventions
static void comm_init(struct comm *c, comm_ext ce)