comm_irecv_real_sp Subroutine

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

Non-blocking receive of a single single-precision real

Arguments

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

Calls

proc~~comm_irecv_real_sp~~CallsGraph proc~comm_irecv_real_sp comm_irecv_real_sp mpi_irecv mpi_irecv proc~comm_irecv_real_sp->mpi_irecv

Called by

proc~~comm_irecv_real_sp~~CalledByGraph proc~comm_irecv_real_sp comm_irecv_real_sp interface~irecv irecv interface~irecv->proc~comm_irecv_real_sp

Variables

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

Source Code

   subroutine comm_irecv_real_sp(comm, data, source, tag, request)
      !! Non-blocking receive of a single single-precision real
      type(comm_t), intent(in) :: comm
      real(sp), intent(out) :: data
      integer(int32), intent(in) :: source
      integer(int32), intent(in) :: tag
      type(request_t), intent(out) :: request
      integer(int32) :: ierr

      call MPI_Irecv(data, 1, MPI_REAL, source, tag, comm%m_comm, request%m_request, ierr)
      request%is_valid = .true.
   end subroutine comm_irecv_real_sp