next up previous contents
Next: Example and Visualisation Up: Data 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: Data Distribution Previous: Alignment

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.