allreduce_i32 Subroutine

private subroutine allreduce_i32(comm, buffer, op)

Arguments

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

Called by

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

Variables

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

Source Code

   subroutine allreduce_i32(comm, buffer, op)
      type(comm_t), intent(in) :: comm
      integer(int32), 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_i32