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
1
CHPF$ PROCESSORS Q(4)
2
CHPF$ TEMPLATE FRED(16,16)
3
CHPF$ ALIGN A(:,:) WITH FRED(:,:)
4
CHPF$ ALIGN B(I,J) WITH FRED(I+2,J+2)
5
CHPF$ DISTRIBUTE FRED(BLOCK,*)
in Table To:
©
on Tue Oct 7 1997