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

 

Example and Visualisation

Simple example,

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

tex2html_wrap28763

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: Alignment and Distribution Previous: Alignment Syntax

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