comm_send_integer_array_2d_n Subroutine

public subroutine comm_send_integer_array_2d_n(comm, data, count, dest, tag)

Blocking send of a contiguous 2D int32 array using an explicit count, no dim-prefix. Pairs with comm_recv_integer_array_2d_n.

Arguments

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

Calls

proc~~comm_send_integer_array_2d_n~~CallsGraph proc~comm_send_integer_array_2d_n comm_send_integer_array_2d_n mpi_send mpi_send proc~comm_send_integer_array_2d_n->mpi_send

Called by

proc~~comm_send_integer_array_2d_n~~CalledByGraph proc~comm_send_integer_array_2d_n comm_send_integer_array_2d_n interface~send send interface~send->proc~comm_send_integer_array_2d_n

Variables

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

Source Code

   subroutine comm_send_integer_array_2d_n(comm, data, count, dest, tag)
      !! Blocking send of a contiguous 2D int32 array using an explicit
      !! count, no dim-prefix.  Pairs with `comm_recv_integer_array_2d_n`.
      type(comm_t), intent(in) :: comm
      integer(int32), intent(in) :: data(:, :)
      integer(int32), intent(in) :: count
      integer(int32), intent(in) :: dest
      integer(int32), intent(in) :: tag
      integer(int32) :: ierr

      call MPI_Send(data, count, MPI_INTEGER, dest, tag, &
                    comm%m_comm, ierr)
   end subroutine comm_send_integer_array_2d_n