s_mpi_allreduce_max Subroutine

public subroutine s_mpi_allreduce_max(var_loc, var_glb)

The following subroutine takes the input local variable from all processors and reduces to the maximum of all values. The reduced variable is recorded back onto the original local variable on each processor. @param var_loc Some variable containing the local value which should be reduced amongst all the processors in the communicator. @param var_glb The globally reduced value

Arguments

TypeIntentOptionalAttributesName
real(kind=kind(0d0)), intent(in) :: var_loc
real(kind=kind(0d0)), intent(out) :: var_glb

Calls

proc~~s_mpi_allreduce_max~~CallsGraph proc~s_mpi_allreduce_max s_mpi_allreduce_max mpi_allreduce mpi_allreduce proc~s_mpi_allreduce_max->mpi_allreduce

Contents

None