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 aVec
. - Something that can be used as the source in a point to point receive operation
Functions
- Sends
msg
todestination
and simultaneously receives an instance ofR
fromsource
. - Sends the contents of
msg
todestination
and simultaneously receives a message fromsource
intobuf
. - Sends the contents of
msg
todestination
tagging itsendtag
and simultaneously receives a message taggedreceivetag
fromsource
intobuf
. - Sends the contents of
buf
todestination
and simultaneously receives a message fromsource
and replaces the contents ofbuf
with it. - Sends the contents of
buf
todestination
tagging itsendtag
and simultaneously receives a message taggedreceivetag
fromsource
and replaces the contents ofbuf
with it. - Sends
msg
todestination
tagging itsendtag
and simultaneously receives an instance ofR
taggedreceivetag
fromsource
.