comm_send_real_dp Subroutine

private subroutine comm_send_real_dp(comm, data, dest, tag)

Blocking send of a single double precision real to specified destination

Arguments

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

Called by

proc~~comm_send_real_dp~2~~CalledByGraph proc~comm_send_real_dp~2 comm_send_real_dp interface~send~2 send interface~send~2->proc~comm_send_real_dp~2

Variables

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

Source Code

   subroutine comm_send_real_dp(comm, data, dest, tag)
      !! Blocking send of a single double precision real to specified destination
      type(comm_t), intent(in) :: comm
      real(dp), intent(in) :: data
      integer(int32), intent(in) :: dest
      integer(int32), intent(in) :: tag
      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_send_real_dp needs a peer rank"
   end subroutine comm_send_real_dp