nbrecv_complex_3d_array_count Subroutine

private subroutine nbrecv_complex_3d_array_count(z, count, dest, tag, handle)

Routine for nonblocking recv of z to dest. Use tag to label message and return handle for later checking.

Arguments

Type IntentOptional Attributes Name
complex, intent(inout), dimension(:,:,:) :: z
integer, intent(in) :: count
integer, intent(in) :: dest
integer, intent(in) :: tag
integer, intent(out) :: handle

Contents


Source Code

  subroutine nbrecv_complex_3d_array_count(z,count,dest,tag,handle)
    implicit none
    complex, dimension(:,:,:), intent(inout) :: z
    integer, intent(in) :: dest
    integer, intent(in) :: tag
    integer, intent(out) :: handle
    integer, intent(in) :: count
# ifdef MPI
    integer :: ierror
!$OMP MASTER
    call time_message(.false., time_mp_ptp, ' MPI Point-to-point')
!$OMP END MASTER
    call mpi_irecv(z,count,mpicmplx,dest,tag,mp_comm,handle,ierror)
!$OMP MASTER
    call time_message(.false., time_mp_ptp, ' MPI Point-to-point')
!$OMP END MASTER
# endif
  end subroutine nbrecv_complex_3d_array_count