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 *global, double *var, int size, void *comm)
int MPIMin_integer(int *global, int *var, int size, void *comm)