Checks if the request is null/invalid
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(request_t), | intent(in) | :: | this |
pure function request_is_null(this) result(is_null) !! Checks if the request is null/invalid class(request_t), intent(in) :: this logical :: is_null ! 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: request_is_null needs a peer rank" end function request_is_null