next up previous contents
Next: The FORTRAN 77 Local Library Up: HPF_CRAFT Functional Summary Previous: The ATOMIC UPDATE Directive

The GEOMETRY Directive

The GEOMETRY directive is simliar to a typedef in C, only it is for data mapping. It allows the user to conveniently change the mappings of many arrays at the same time. It is similar in many ways to the TEMPLATE directive, but since it is bound to no particular extent it is sometimes easier to apply.

 
!HPF$ 		 GEOMETRY geom(d_1 [, d_2, ..., d_n])

!HPF$ DISTRIBUTE ( geom ) [::] var_1[, var_2, ..., var_m]

Where d_i indicates one of the allowable distribution formats.
 
!HPF$ 		 GEOMETRY GBB(BLOCK, CYCLIC)

REAL A(300,300), B(400,400)

!HPF$ DISTRIBUTE (GBB) :: A, B

! if GBB changes then both A and B change



Logan Ratner
Wed Mar 19 15:53:20 CST 1997