comm_irecv_integer Subroutine

private subroutine comm_irecv_integer(comm, data, source, tag, request)

Initiates a non-blocking receive operation. The request must be waited on using wait() or test() before the buffer can be used.

Arguments

Type IntentOptional Attributes Name
type(comm_t), intent(in) :: comm
integer(kind=int32), intent(out) :: data
integer(kind=int32), intent(in) :: source
integer(kind=int32), intent(in) :: tag
type(request_t), intent(out) :: request

Called by

proc~~comm_irecv_integer~2~~CalledByGraph proc~comm_irecv_integer~2 comm_irecv_integer interface~irecv~2 irecv interface~irecv~2->proc~comm_irecv_integer~2

Variables

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

Source Code

   subroutine comm_irecv_integer(comm, data, source, tag, request)
      !! Initiates a non-blocking receive operation. The request must be
      !! waited on using wait() or test() before the buffer can be used.
      type(comm_t), intent(in) :: comm
      integer(int32), intent(out) :: data
      integer(int32), intent(in) :: source
      integer(int32), intent(in) :: tag
      type(request_t), intent(out) :: request
      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: comm_irecv_integer needs a peer rank"
   end subroutine comm_irecv_integer