win_fence Subroutine

private subroutine win_fence(this, assert)

Type Bound

win_t

Arguments

Type IntentOptional Attributes Name
class(win_t), intent(in) :: this
integer, intent(in), optional :: assert

Calls

proc~~win_fence~2~~CallsGraph proc~win_fence~2 win_t%win_fence mpi_win_fence mpi_win_fence proc~win_fence~2->mpi_win_fence

Variables

Type Visibility Attributes Name Initial
integer, private :: assert_val
integer, private :: ierr

Source Code

   subroutine win_fence(this, assert)
      class(win_t), intent(in) :: this
      integer, intent(in), optional :: assert
      integer :: ierr, assert_val

      if (present(assert)) then
         assert_val = assert
      else
         assert_val = 0_int32
      end if

      call MPI_Win_fence(assert_val, this%m_win, ierr)
   end subroutine win_fence