create_win_dynamic Function

private function create_win_dynamic(comm) result(win)

Create dynamic MPI window

For windows where memory will be attached later. Useful for load balancing counters.

Arguments

Type IntentOptional Attributes Name
type(comm_t), intent(in) :: comm

Return Value type(win_t)


Called by

proc~~create_win_dynamic~2~~CalledByGraph proc~create_win_dynamic~2 create_win_dynamic interface~win_create_dynamic~2 win_create_dynamic interface~win_create_dynamic~2->proc~create_win_dynamic~2

Variables

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

Source Code

   function create_win_dynamic(comm) result(win)
      !! Create dynamic MPI window
      !!
      !! For windows where memory will be attached later.
      !! Useful for load balancing counters.
      type(comm_t), intent(in) :: comm
      type(win_t) :: win
      integer(int32) :: ierr

      ! A single rank has no peer. Reaching this means the caller
      ! did not take its `size() == 1` path -- which is a bug worth
      ! stopping for, not one to hide by returning quietly.
      error stop "pic_mpi_serial: create_win_dynamic needs a peer rank"
   end function create_win_dynamic