next up previous contents
Next: Scalar Arguments Up: Procedures Previous: Array Arguments Example 2

 

Collapsing Dimensions

If a dimension has a scalar index it is collapsed. Consider,

!HPF$ DISTRIBUTE (BLOCK,BLOCK) :: A, B
     ...
    CALL Xubbie(A(i,:),b(i,:))
     ...
    SUBROUTINE Xubbie(x,y)
     REAL, DIMENSION(:) :: x, y
     !HPF$ DISTRIBUTE (BLOCK) :: x, y

Will cause remapping. With 16 processors:

For more information, click here gif


next up previous contents
Next: Scalar Arguments Up: Procedures Previous: Array Arguments Example 2

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