allreduce_sp_array Subroutine

private subroutine allreduce_sp_array(comm, buffer, count, op)

Arguments

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

Called by

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

Variables

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

Source Code

   subroutine allreduce_sp_array(comm, buffer, count, op)
      type(comm_t), intent(in) :: comm
      real(sp), intent(inout) :: buffer(:)
      integer, intent(in), optional :: count
      type(MPI_Op), intent(in), optional :: op
      type(MPI_Op) :: op_used
      integer :: ierr, n

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