mpi.get.sourcetag | R Documentation |
mpi.get.sourcetag
finds the source and tag of a received message.
mpi.get.sourcetag(status = 0)
status |
a status number |
When mpi.any.source
and/or mpi.any.tag
are
used by mpi.recv
or mpi.probe
, one can use
mpi.get.sourcetag
to find who sends the message or with what a tag number.
mpi.get.sourcetag
must be called immediately after calling
mpi.recv
or mpi.probe
otherwise the obtained information may not
be right.
2 dim int vector. The first integer is the source and the second is the tag.
Hao Yu
mpi.send
, mpi.recv
, mpi.probe
,
mpi.get.count
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.