24 for (i = 0; i < size; i++) global[i] = var[i];
26 MPI_Allreduce((var==global?MPI_IN_PLACE:var),global,size,MPI_INT,MPI_MIN,*((MPI_Comm*)comm));
47 for (i = 0; i < size; i++) global[i] = var[i];
49 MPI_Allreduce((var==global?MPI_IN_PLACE:var),global,size,MPI_DOUBLE,MPI_MIN,*((MPI_Comm*)comm));
MPI related function definitions.
int MPIMin_double(double *, double *, int, void *)
int MPIMin_integer(int *, int *, int, void *)