next up previous contents
Next: Simple 2D Alignment Example Up: Data Distribution Previous: Alignment Syntax

Example and Visualisation

Simple example,

      REAL, DIMENSION(10) :: A, B, C
!HPF$ ALIGN (:) WITH C(:) :: A, B

tex2html_wrap45021

The alignment says: A(i) and B(i) reside on same processor as C(i). Because of the `: 's, A, B and C must conform. If we have

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

then there is no requirement that the arrays conform.

For more information, click here gif


next up previous contents
Next: Simple 2D Alignment Example Up: Data Distribution Previous: Alignment Syntax

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