Routine for nonblocking recv of z to dest. Use tag to label message and return handle for later checking.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(out), | dimension(:,:) | :: | z | ||
integer, | intent(in) | :: | dest | |||
integer, | intent(in) | :: | tag | |||
integer, | intent(out) | :: | handle |
subroutine nbrecv_complex_2d_array(z,dest,tag,handle)
implicit none
complex, dimension(:,:), intent(out) :: z
integer, intent(in) :: dest
integer, intent(in) :: tag
integer,intent(out) :: handle
# ifdef MPI
call nbrecv_complex_2d_array_count(z,size(z),dest,tag,handle)
# else
call mp_abort("receive")
UNUSED_DUMMY(dest); UNUSED_DUMMY(tag)
handle = 0 ; z = 0
# endif
end subroutine nbrecv_complex_2d_array