7.16 psb_snd — Send data
call psb_snd(ctxt, dat, dst, m)
This subroutine sends a packet of data to a destination.
- Synchronous: see usage notes.
- the communication context identifying the virtual parallel machine.
Specified as: an integer variable.
- The data to be sent.
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.
- Destination process.
Specified as: an integer value 0 <= dst <= 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.
- This subroutine implies a synchronization, but only between the calling
process and the destination process dst.