for further exposition. If an explicit mapping
directive appears for the dummy argument, thereby overriding the
default distribution, then the actual argument must be a whole array or
a regular array section; it may not be an expression of any other form.
If none of the attributes INHERIT, ALIGN, and DISTRIBUTE
is specified
explicitly for a dummy argument, then the template of the dummy
argument has the same shape as the dummy itself and the dummy argument
is aligned to its template by the identity mapping.
An INHERIT directive may be combined with other directives, with
the attributes stated in any order, more or less consistent with
Fortran 90 attribute syntax.
Consider the following example:
REAL DOUGH(100)
!HPF$ INHERIT BREAD
The inherited template of BREAD has shape [100]; element BREAD(I)
is aligned with element 5 + 2*I of the inherited template and, since BREAD does not
appear in a prescriptive DISTRIBUTE directive, it has a BLOCK(10) distribution.