Basic HTML version of Foils prepared 17 Sept 1996

Foil 25 Syntax of HPF Directives

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 HPF directives are consistent with Fortran 90 syntax except for the special prefix for directive:
  • !HPF$ (only version allowed with free format)
  • CHPF$
  • *HPF$
2 Two forms of the directives are allowed
  • Specification statements, such as
  • !HPF$ DISTRIBUTE MYTEMPLATE(BLOCK) ONTO P
  • Equivalent Attributed form, such as,
  • !HPF$ DISTRIBUTE (BLOCK) ONTO P :: MYTEMPLATE

in Table To:


© on Tue Oct 7 1997