HP Fortran Programmer's Guide (B3908-90031; September 2011)

Porting to HP Fortran
Compatibility extensions
Chapter 11 241
As noted in the table, some of the compatibility directives are effective only if the source file is compiled
with either the +Oparallel or the +Ovectorize option; otherwise, the directive is treated as a comment
and ignored. For information about using these options, see “Using the +Ovectorize option” on page 167.
HP Fortran also recognizes several directive prefixes. A directive prefix is a vendor-specific sequence of
characters that follows the comment character and precedes the directive name. The recognized prefixes are
listed by vendor in Table 11-3. If HP Fortran reads a directive that begins with one of these prefixes but does
Table 11-2 Compatibility directives
Vendor Directive Function
Option
dependency
Cray DIR$ IVDEP Disables dependency
checks.
+Oparallel or
+Ovectorize
DIR$ NO SIDE EFFECTS Disables checks for side
effects.
+Oparallel or
+Ovectorize
DIR$ [NO]CONCUR Enables [disables] code
generation for parallel
execution.
+Oparallel
DIR$ [NO]VECTOR Enables [disables]
vectorization.
+Ovectorize
FPP$ NODEPCHK Disables dependency
checks
+Oparallel or
+Ovectorize
KAI *$* [NO]CONCURRENTIZE Enables [disables] code
generation for parallel
execution.
+Oparallel
*$* [NO]VECTORIZE Enables [disables]
vectorization.
+Ovectorize
VA S T VD$ [NO]VECTOR Enables [disables]
vectorization.
+Ovectorize
VD$ NODEPCHK Disables dependency
checks.
+Oparallel or
+Ovectorize