win_fetch_and_add_i64 Subroutine

private subroutine win_fetch_and_add_i64(this, target_rank, target_disp, value, result)

Type Bound

win_t

Arguments

Type IntentOptional Attributes Name
class(win_t), intent(in) :: this
integer(kind=int32), intent(in) :: target_rank
integer(kind=MPI_ADDRESS_KIND), intent(in) :: target_disp
integer(kind=int64), intent(in) :: value
integer(kind=int64), intent(out) :: result

Calls

proc~~win_fetch_and_add_i64~~CallsGraph proc~win_fetch_and_add_i64 win_t%win_fetch_and_add_i64 mpi_fetch_and_op mpi_fetch_and_op proc~win_fetch_and_add_i64->mpi_fetch_and_op

Called by

proc~~win_fetch_and_add_i64~~CalledByGraph proc~win_fetch_and_add_i64 win_t%win_fetch_and_add_i64 proc~dlb_next dlb_next proc~dlb_next->proc~win_fetch_and_add_i64

Variables

Type Visibility Attributes Name Initial
integer(kind=int32), private :: ierr

Source Code

   subroutine win_fetch_and_add_i64(this, target_rank, target_disp, value, result)
      class(win_t), intent(in) :: this
      integer(int32), intent(in) :: target_rank
      integer(MPI_ADDRESS_KIND), intent(in) :: target_disp
      integer(int64), intent(in) :: value
      integer(int64), intent(out) :: result
      integer(int32) :: ierr

      call MPI_Fetch_and_op(value, result, MPI_INTEGER8, &
                            target_rank, target_disp, MPI_SUM, this%m_win, ierr)
   end subroutine win_fetch_and_add_i64