7.17 psb_rcv — Receive data
call psb_rcv(ctxt, dat, src, m)
This subroutine receives a packet of data to a destination.
- Synchronous: see usage notes.
- the communication context identifying the virtual parallel machine.
Specified as: an integer variable.
- Source process.
Specified as: an integer value 0 <= src <= np - 1.
- Number of rows.
Specified as: an integer value 0 <= m <= size(dat,1).
When dat is a rank 2 array, specifies the number of rows to be sent
independently of the leading dimension size(dat,1); must have the same
value on sending and receiving processes.
- The data to be received.
Specified as: an integer, real or complex variable, which may be a scalar,
or a rank 1 or 2 array, or a character or logical scalar. Type, kind and
rank must agree on sender and receiver process; if m is not specified, size
must agree as well.
- This subroutine implies a synchronization, but only between the calling
process and the source process src.