s_mpi_allreduce_sum Subroutine

public subroutine s_mpi_allreduce_sum(var_loc, var_glb)

The following subroutine takes the input local variable from all processors and reduces to the sum 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_sum~~CallsGraph proc~s_mpi_allreduce_sum s_mpi_allreduce_sum mpi_allreduce mpi_allreduce proc~s_mpi_allreduce_sum->mpi_allreduce

Contents

None