Table 43 Compatibility directives (continued)

Vendor

Directive

Function

Option dependency

KAI

*$*

Enables [disables] code

+Oparallel

 

[NO]CONCURRENTIZE

generation for parallel

 

 

 

execution.

 

 

*$* [NO]VECTORIZE

Enables [disables]

+Ovectorize

 

 

vectorization.

 

VAST

VD$ [NO]VECTOR

Enables [disables]

+Ovectorize

 

 

vectorization.

 

 

VD$ NODEPCHK

Disables dependency checks.

+Oparallelor +Ovectorize

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 doesnot recognize the directive name, it issues a warning and ignores the directive. A directive takes effect only if the compiler recognizes both its prefix and name—that is, it must be either one of HP’s own directives or one of those listed in Table 11-2.

Table 44 Directive prefixes recognized by HP Fortran

Prefix

Vendor

$

SGI

$HP$

HP

$PAR

X3H5

*$*

KAI

DIR$

Cray

FPP

Cray

HPF$

High Performance Fortran

VD$

VAST

Intrinsic procedures

In addition to the standard Fortran 90 intrinsics, HP Fortran provides a number of nonstandard intrinsics. Many of these are compatible with nonstandard intrinsics available on other implementations. Table 11-4 lists all HP Fortran nonstandard intrinsics by their generic names. Where a specific intrinsic exists, it can be accessed by referencing its generic name. See the HP Fortran Programmer’s Reference for information about both specific and generic intrinsics.

Table 45 Nonstandard intrinsic procedures in HP Fortran

ABORT

DCOTAND

IARGC

ISNAN

RAND

ACOSD

DFLOAT

IDATE

IXOR

RNUM

ACOSH

DNUM

IDIM

JNUM

RSHFT

AND

DREAL

IGETARG

LOC

RSHIFT

ASIND

EXIT

IJINT

LSHFT

SECNDS

ASINH

FLUSH

IMAG

LSHIFT

SIND

ATAN2D

FNUM

INT1

MALLOC

SIZEOF

ATAND

FREE

INT2

MCLOCK

SRAND

Compatibility extensions 143

Page 143
Image 143
HP UX Fortran Software manual Intrinsic procedures, Directive prefixes recognized by HP Fortran, +Oparallel or +Ovectorize