next up previous contents
Next: PROCESSORS Declaration Up: Data Distribution Previous: Language Covered

 

HPF Directives

Can give `hints' to the compiler:

 
!HPF$ < hpf-directive > 

Examples of declarative statements:

 !HPF$ PROCESSORS, DIMENSION(16)  :: P
 !HPF$ TEMPLATE, &
 !HPF$           DIMENSION(4,4)   :: T1, T2
 !HPF$ DISTRIBUTE                 :: A
 !HPF$ DISTRIBUTE X(BLOCK)   
 !HPF$ DISTRIBUTE (CYCLIC)        :: Y1, Y2
 !HPF$ DISTRIBUTE (BLOCK,*) ONTO P :: A

Note: all HPF names must be different to Fortran 90 names.

Examples of executable statements,

 !HPF$ INDEPENDENT, NEW(i)

Compiler is at liberty to ignore any (or all) directives.

For more information, click here gif


next up previous contents
Next: PROCESSORS Declaration Up: Data Distribution Previous: Language Covered

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.