public subroutine comm_irecv_real_dp_array_n(comm, data, count, source, tag, request)
Non-blocking receive with explicit count (for device pointers in host_data blocks)
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(comm_t),
|
intent(in) |
|
|
:: |
comm |
|
|
real(kind=dp)
|
|
|
|
:: |
data(:) |
|
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
count |
|
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
source |
|
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
tag |
|
|
type(request_t),
|
intent(out) |
|
|
:: |
request |
|
Variables
| Type |
Visibility | Attributes |
|
Name |
| Initial | |
|
integer(kind=int32),
|
private |
|
:: |
ierr |
|
|
|
Source Code
subroutine comm_irecv_real_dp_array_n(comm, data, count, source, tag, request)
!! Non-blocking receive with explicit count (for device pointers in host_data blocks)
type(comm_t), intent(in) :: comm
real(dp) :: data(:)
integer(int32), intent(in) :: count
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_real_dp_array_n needs a peer rank"
end subroutine comm_irecv_real_dp_array_n