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_wrap28667

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

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