win_get_sp Subroutine

private subroutine win_get_sp(this, target_rank, target_disp, count, buffer)

Type Bound

win_t

Arguments

Type IntentOptional Attributes Name
class(win_t), intent(in) :: this
integer, intent(in) :: target_rank
integer(kind=MPI_ADDRESS_KIND), intent(in) :: target_disp
integer, intent(in) :: count
real(kind=sp), intent(out) :: buffer(*)

Calls

proc~~win_get_sp~2~~CallsGraph proc~win_get_sp~2 win_t%win_get_sp mpi_get mpi_get proc~win_get_sp~2->mpi_get

Variables

Type Visibility Attributes Name Initial
integer, private :: ierr

Source Code

   subroutine win_get_sp(this, target_rank, target_disp, count, buffer)
      class(win_t), intent(in) :: this
      integer, intent(in) :: target_rank
      integer(MPI_ADDRESS_KIND), intent(in) :: target_disp
      integer, intent(in) :: count
      real(sp), intent(out) :: buffer(*)
      integer :: ierr

      call MPI_Get(buffer, count, MPI_REAL, &
                   target_rank, target_disp, count, MPI_REAL, &
                   this%m_win, ierr)
   end subroutine win_get_sp