next up previous contents
Next: Commentary Up: Data Distribution Previous: 2D Distribution Example

Visualisation of * Distribution

A * instead of a distribution method means: ``do not distribute this dimension''.

    PROGRAM Skwiffy
     IMPLICIT NONE
     REAL, DIMENSION(4,4)         :: A, B, C
!HPF$ PROCESSORS, DIMENSION(4)    :: Q
!HPF$ DISTRIBUTE (*,BLOCK) ONTO Q :: A, B, C
      B = 1; C = 1; A = B + C; PRINT*, A
    END PROGRAM Skwiffy

tex2html_wrap22286

Each processor gets the whole dimension.

For more information, click here gif

Now try this question gif


next up previous contents
Next: Commentary Up: Data Distribution Previous: 2D Distribution Example

Adam Marshall ©University of Liverpool, 1996
Tue Nov 26 19:51:50 GMT 1996