Module mpi::point_to_point
source · [−]Expand description
Point to point communication
Endpoints of communication are mostly described by types that implement the Source
and
Destination
trait. Communication operations are implemented as default methods on those
traits.
Unfinished features
- 3.2.6:
MPI_STATUS_IGNORE
- 3.6: Buffer usage,
MPI_Buffer_attach()
,MPI_Buffer_detach()
- 3.9: Persistent requests,
MPI_Send_init()
,MPI_Bsend_init()
,MPI_Ssend_init()
,MPI_Rsend_init()
,MPI_Recv_init()
,MPI_Start()
,MPI_Startall()
Modules
Point to point communication traits
Structs
Describes a pending incoming message, probed by a matched_probe()
.
Will contain a value of type T
received via a non-blocking receive operation.
Describes the result of a point to point receive operation.
Traits
Something that can be used as the destination in a point to point send operation
Receive a previously probed message containing multiple instances of type Msg
into a Vec
.
Something that can be used as the source in a point to point receive operation
Functions
Sends msg
to destination
and simultaneously receives an instance of R
from
source
.
Sends the contents of msg
to destination
and
simultaneously receives a message from source
into
buf
.
Sends the contents of msg
to destination
tagging it sendtag
and
simultaneously receives a message tagged receivetag
from source
into
buf
.
Sends the contents of buf
to destination
and
simultaneously receives a message from source
and replaces the contents of
buf
with it.
Sends the contents of buf
to destination
tagging it sendtag
and
simultaneously receives a message tagged receivetag
from source
and replaces the
contents of buf
with it.
Sends msg
to destination
tagging it sendtag
and simultaneously receives an
instance of R
tagged receivetag
from source
.