A few definitions, from the point of view of automatic parallelization, are needed:
An array is a variable that is declared with at least one dimension.
A pure scalar is a scalar variable that is not aliased—not referenced in an EQUIVALENCE or POINTER statement.
Example: Array/scalar:
dimension a(10) real m(100,10), s, u, x, z equivalence ( u, z ) pointer ( px, x ) s = 0.0 ... |
Both m and a are array variables; s is pure scalar. The variables u, x, z, and px are scalar variables, but not pure scalars.