Align the first dimension of A with the second dimension of B (and vice-versa):
REAL, DIMENSION(10,10) :: A, B !HPF$ ALIGN A(i,:) WITH B(:,i)
This says: i, j, elements A(i,j) and B(j,i) are local. Could also be written:
!HPF$ ALIGN A(:,j) WITH B(j,:)
or
!HPF$ ALIGN A(i,j) WITH B(j,i)
Here i and j are ``symbols'' not variables and are used to match dimensions their value (if any) is unimportant.
For more information, click here