next up previous contents
Next: Scalar Variables Up: Data Distribution Previous: Distribution of Allocatables

 

The Owner-Computes Rule

This is a rule oft-used in HPF Compilation Systems. It says that:

the processor that owns the left-hand side element will perform the calculation.

For example, in

   DO i = 1,n
    a(i-1) = b(i*6)/c(i+j)-a(i**i)
   END DO

the processor that owns a(i-1) will perform the assignment. The components of the RHS expression may have to be communicated to this processor before the assignment is made.

For more information, click here gif


next up previous contents
Next: Scalar Variables Up: Data Distribution Previous: Distribution of Allocatables

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