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_MAX,*((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_MAX,*((MPI_Comm*)comm));
int MPIMax_integer(int *, int *, int, void *)
MPI related function definitions.
int MPIMax_double(double *, double *, int, void *)