next up previous contents
Next: DISTRIBUTE Directive Up: Data Distribution Previous: Executable Directives

 

PROCESSORS Declaration

Can declare a conceptual processor grid. These do not have to be the same shape as the underlying hardware. For example,

 !HPF$ PROCESSORS, DIMENSION(4)     :: P1
 !HPF$ PROCESSORS, DIMENSION(2,2)   :: P2
 !HPF$ PROCESSORS, DIMENSION(2,1,2) :: P3

These declarations are in the Fortran 90 style. The HPF specification states that all processor grids in one program must contain the same number of processors. This is to give a handle on the available resources. Also, if two processors arrangements are the same shape (conformable) then the corresponding elements of each arrangement refer to the same physical processor.

Can also declare a scalar processor.

 !HPF$ PROCESSORS :: P

Return to corresponding overview page gif


next up previous contents
Next: DISTRIBUTE Directive Up: Data Distribution Previous: Executable Directives

©University of Liverpool, 1997
Wed May 28 20:20:27 BST 1997
Not for commercial use.