next up previous contents
Next: What Happens When a Up: Distributions and Processor Arrangements Previous: Distributions and Processor Arrangements

Examples

These examples of DISTRIBUTE directives for dummy arguments illustrate the various combinations:

!HPF$ DISTRIBUTE URANIA (CYCLIC) ONTO GALILEO
The language processor should do whatever it takes to cause URANIA to have a CYCLIC distribution on the processor arrangement GALILEO.
!HPF$ DISTRIBUTE POLYHYMNIA * ONTO ELVIS

The language processor should do whatever it takes to cause POLYHYMNIA to be distributed onto the processor arrangement ELVIS, using whatever distribution format it currently has (which might be on some other processor arrangement).

!HPF$ DISTRIBUTE THALIA *(CYCLIC) ONTO *FLIP

The language processor should do whatever it takes to cause THALIAto ahave a CYCLIC distribution on the processor arrangement FLIP; the programmer believes that the acrual is already distributed in this fashion and that no remapping is required.

!HPF$ DISTRIBUTE EUTERPE (CYCLIC) ONTO *

The language processor should do whatever it takes to cause EUTERPE to have a CYCLIC distribution onto whatever processor arrangement the actual was distributed onto.

!HPF$ DISTRIBUTE ERATO * ONTO *

The mapping of ERATO should not be changed from that of the actual argument.

Note that DISTRIBUTE ERATO * ONTO * does not mean the same thing as

!HPF$ DISTRIBUTE ERATO (*) ONTO *

This latter means: distribute ERATO * (that is, on-processor) onto whatever processor arrangement the actual was distributed onto. The processor arrangement is necessarily scalar in this case.