Basic HTML version of Foils prepared 17 Sept 1996

Foil 38 Distribution Directive in HPF

From New CPS615HPF and Fortran90 Discussion Sept 17 96 Basic Simulation Track for Computational Science CPS615 -- Fall Semester 96. by Geoffrey C. Fox, Tom Haupt


1 Syntax:
2 !HPF$ DISTRIBUTE distributee (dist-format)
3 [ONTO dist-target]
4 Allowed forms of dist-format:
  • * -- Implies no distribution in this index
  • BLOCK -- Critical to minimize communication
  • CYCLIC -- Critical for load balancing
  • BLOCK(int-expr) -- Not Obviously useful!
  • CYCLIC(int-expr) -- Very useful
5 Examples:
  • CHPF$ DISTRIBUTE TEMP(BLOCK,CYCLIC)
  • !HPF$ DISTRIBUTE FRED(BLOCK(10)) ONTO P
  • *HPF$ DISTRIBUTE (BLOCK,*) :: MYTEMPLATE

in Table To:


© on Tue Oct 7 1997