allreduce_dp Subroutine

private subroutine allreduce_dp(comm, buffer, op)

Arguments

Type IntentOptional Attributes Name
type(comm_t), intent(in) :: comm
real(kind=dp), intent(inout) :: buffer
type(MPI_Op), intent(in), optional :: op

Called by

proc~~allreduce_dp~2~~CalledByGraph proc~allreduce_dp~2 allreduce_dp interface~allreduce~2 allreduce interface~allreduce~2->proc~allreduce_dp~2

Variables

Type Visibility Attributes Name Initial
integer, private :: ierr
type(MPI_Op), private :: op_used

Source Code

   subroutine allreduce_dp(comm, buffer, op)
      type(comm_t), intent(in) :: comm
      real(dp), intent(inout) :: buffer
      type(MPI_Op), intent(in), optional :: op
      type(MPI_Op) :: op_used
      integer :: ierr

      ! One rank: the buffer already holds this rank's own
      ! contribution, which IS the reduction of one term.
   end subroutine allreduce_dp