'mpi_send_receive' of an array from a processor to another processor More...
Namespaces | |
module | mod_mpi_send_receive |
Send/receive an array from a MPI process to another Generic send/receive routines of an array from a MPI process to another. They encapsulate MPI call for sake of simplicity. | |
With 'mpi_send_receive', a processor can send an array to another processor (nonblocking exchange). These routines encapsulate MPI calls for sake of simplicity.
Generic interfaces:
or
'array', 'array_from', and 'array_to' can be 'integer', 'double precision' or 'logical' arrays. The rank of these arrays can be 1, 2, 3, or 4.
Warning: 'array_sent' and 'array_recv' must have the same rank and type.
Example for the first interface:
Example for the second interface: