The following five examples have already been met when dealing with the distribution of arrays. The colon notation implies conformance between the two objects, the symbolic notation is used when there is no shape conformance. This is just the same as with arrays.
ALIGN A(:) WITH T1(:,*)
-- i,
element A(i) is replicated along row T1(i,:).ALIGN C(i,j) WITH T2(j,i)
-- the transpose of C
is aligned to T1,ALIGN B(:,*) WITH T3(:)
-- i,
row B(i,:) is collapsed onto TEMPLATE element T2(i),DISTRIBUTE (BLOCK,CYCLIC) :: T1, T2
DISTRIBUTE T1(CYCLIC,*) ONTO P
-- rows of T1 are
distributed in a round-robin fashion.
Return to corresponding overview page