25 for (i = 0; i < size; i++) global[i] = var[i];
27 MPI_Allreduce((var==global?MPI_IN_PLACE:var),global,size,MPI_INT,MPI_SUM,*((MPI_Comm*)comm));
48 for (i = 0; i < size; i++) global[i] = var[i];
50 MPI_Allreduce((var==global?MPI_IN_PLACE:var),global,size,MPI_DOUBLE,MPI_SUM,*((MPI_Comm*)comm));
int MPISum_integer(int *, int *, int, void *)
int MPISum_double(double *, double *, int, void *)