Blocking probe for incoming messages. Returns once a message
matching (source, tag) is queued at the receiver — caller
reads status%MPI_SOURCE and status%MPI_TAG to decide who’s
talking and what kind of message it is, then issues the
matching recv. Use MPI_ANY_SOURCE / MPI_ANY_TAG to
dispatch on whichever rank speaks first.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_t), | intent(in) | :: | comm | |||
| integer(kind=int32), | intent(in) | :: | source | |||
| integer(kind=int32), | intent(in) | :: | tag | |||
| type(MPI_Status), | intent(out) | :: | status |