mp_sendrecv Interface

public interface mp_sendrecv

Module Procedures

private subroutine mp_sendrecv_iv(msgin, dest, msgout, source, comm)

Sends and receives vector data

Arguments

Type IntentOptional Attributes Name
integer(kind=int_4), intent(in), CONTIGUOUS :: msgin(:)

Data to send

integer, intent(in) :: dest

Process to send data to

integer(kind=int_4), intent(out), CONTIGUOUS :: msgout(:)

Received data

integer, intent(in) :: source

Process from which to receive

type(mp_comm_type), intent(in) :: comm

Message passing environment identifier

private subroutine mp_sendrecv_lv(msgin, dest, msgout, source, comm)

Sends and receives vector data

Arguments

Type IntentOptional Attributes Name
integer(kind=int_8), intent(in), CONTIGUOUS :: msgin(:)

Data to send

integer, intent(in) :: dest

Process to send data to

integer(kind=int_8), intent(out), CONTIGUOUS :: msgout(:)

Received data

integer, intent(in) :: source

Process from which to receive

type(mp_comm_type), intent(in) :: comm

Message passing environment identifier

private subroutine mp_sendrecv_dv(msgin, dest, msgout, source, comm)

Sends and receives vector data

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(in), CONTIGUOUS :: msgin(:)

Data to send

integer, intent(in) :: dest

Process to send data to

real(kind=real_8), intent(out), CONTIGUOUS :: msgout(:)

Received data

integer, intent(in) :: source

Process from which to receive

type(mp_comm_type), intent(in) :: comm

Message passing environment identifier

private subroutine mp_sendrecv_rv(msgin, dest, msgout, source, comm)

Sends and receives vector data

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(in), CONTIGUOUS :: msgin(:)

Data to send

integer, intent(in) :: dest

Process to send data to

real(kind=real_4), intent(out), CONTIGUOUS :: msgout(:)

Received data

integer, intent(in) :: source

Process from which to receive

type(mp_comm_type), intent(in) :: comm

Message passing environment identifier

private subroutine mp_sendrecv_zv(msgin, dest, msgout, source, comm)

Sends and receives vector data

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(in), CONTIGUOUS :: msgin(:)

Data to send

integer, intent(in) :: dest

Process to send data to

complex(kind=real_8), intent(out), CONTIGUOUS :: msgout(:)

Received data

integer, intent(in) :: source

Process from which to receive

type(mp_comm_type), intent(in) :: comm

Message passing environment identifier

private subroutine mp_sendrecv_cv(msgin, dest, msgout, source, comm)

Sends and receives vector data

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(in), CONTIGUOUS :: msgin(:)

Data to send

integer, intent(in) :: dest

Process to send data to

complex(kind=real_4), intent(out), CONTIGUOUS :: msgout(:)

Received data

integer, intent(in) :: source

Process from which to receive

type(mp_comm_type), intent(in) :: comm

Message passing environment identifier