next up previous contents
Next: Example and Visualisation Up: Alignment and Distribution Previous: Alignment

 

Alignment Syntax

The ALIGN statement can be written in two ways.

The attributed form

 !HPF$ ALIGN (:,:) WITH T(:,:) :: A, B, C

is equivalent to

 !HPF$ ALIGN A(:,:) WITH T(:,:)
 !HPF$ ALIGN B(:,:) WITH T(:,:)
 !HPF$ ALIGN C(:,:) WITH T(:,:)

which is more long-winded.

The effect here is that A(i,j), B(i,j) and C(i,j) will reside on the same processor as T(i,j).

Can only DISTRIBUTE T; A, B and C are linked to T and will follow.

For more information, click here gif


next up previous contents
Next: Example and Visualisation Up: Alignment and Distribution Previous: Alignment

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