comm_isend_real_sp_array Subroutine

private subroutine comm_isend_real_sp_array(comm, data, dest, tag, request)

Non-blocking send of a single-precision real array

Arguments

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

Called by

proc~~comm_isend_real_sp_array~2~~CalledByGraph proc~comm_isend_real_sp_array~2 comm_isend_real_sp_array interface~isend~2 isend interface~isend~2->proc~comm_isend_real_sp_array~2

Variables

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

Source Code

   subroutine comm_isend_real_sp_array(comm, data, dest, tag, request)
      !! Non-blocking send of a single-precision real array
      type(comm_t), intent(in) :: comm
      real(sp), intent(in) :: data(:)
      integer(int32), intent(in) :: dest
      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_isend_real_sp_array needs a peer rank"
   end subroutine comm_isend_real_sp_array