Data Distribution: Affinity
usage of AFFINITY clause:
iterations are scheduled such that each processor does iterations over data that is placed in the memory near to that processor
!$SGI DISTRIBUTE A(BLOCK),B(BLOCK)
C$SGI AFFINITY(I)=DATA(A(I))
!$SGI DISTRIBUTE A(BLOCK),B(BLOCK)
C$SGI AFFINITY(I)=thread(I/(N/P))