Basic HTML version of Foils prepared
16 Sept 1995
Foil 24 Example of Distribute Directive with Complex Alignment
From
HPFtutorial CPS615 Basic Simulation Track for Computational Science --
Fall Semester 95
.
by
Geoffrey C. Fox(Tomasz Haupt)
REAL, ARRAY(12,16) :: A
REAL, ARRAY(8,10) :: B
CHPF$ PROCESSORS Q(4)
CHPF$ TEMPLATE FRED(16,16)
CHPF$ ALIGN A(:,:) WITH FRED(:,:)
CHPF$ ALIGN B(I,J) WITH FRED(I+2,J+2)
CHPF$ DISTRIBUTE FRED(BLOCK,*)
©
on Tue Oct 7 1997