10.2.7 Distribute Procedure

The Distribute Procedure takes an input vector from the IO processor and divides it up (distributes it) across all of the processors. This is the opposite of the Assemble procedure.

Calling syntax:

call Distribute (Output, Input, Lengths) |

Input variable:

Input |
A real, integer or logical vector that is defined on the IO processor and which is to be distributed over all of the processors. | ||

Lengths |
An integer vector of dimension NPEs
containing the number of elements of the input vector
which are to be distributed to each PE. Lengths is only
defined on the IO PE. In the special case of one element
to each processor, this vector must not be included. |

Output variable:

Output |
The distributed version of the Input
vector, with a piece on every processor. |

The Distribute code listing contains additional documentation.

Michael L. Hall