next up previous contents
Next: Block Distribution Up: Data Distribution Previous: PROCESSORS Declaration

 

DISTRIBUTE Directive

Distribute objects ONTO processor grids:

       REAL, DIMENSION(50)    :: A
       REAL, DIMENSION(10,10) :: B, C, D
 !HPF$ DISTRIBUTE (BLOCK) ONTO P1         :: A   !1-D
 !HPF$ DISTRIBUTE (CYCLIC,CYCLIC) ONTO P2 :: B,C !2-D
 !HPF$ DISTRIBUTE D(BLOCK,*) ONTO P1    ! alt. syntax

There must be the same number of non-* distributed dimensions as the rank of the grid.

If an object is distributed then it is said to be mapped (or have a mapping).

For more information, click here gif


next up previous contents
Next: Block Distribution Up: Data Distribution Previous: PROCESSORS Declaration

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.