Create dynamic MPI window
For windows where memory will be attached later. Useful for load balancing counters.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_t), | intent(in) | :: | comm |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | private | :: | ierr |
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