Table 8 Options listed by category

Category

Options

 

 

Compatibility and porting

+autodbl, +autodbl4, +charlit77 +[no]es,

 

+extend_source, gformat77, +i8, +io77,

 

+langlvl, +multi_open, +nocheckuf,

 

+nopadsharedcommon, +onetrip, +ppu, +r8,

 

+save, +[no]signedzero, and +U77

 

 

Compiler configuration

-t and -W

 

 

Data storage

+autodbl, +autodbl4, +hugecommon,

 

+hugesize, +i8, +indirectcommonlist=file,

 

+nopadsharedcommon, +r8, +real_constant,

 

and +save

 

 

Directory, module, and library search path

+U77, -I, -L, -l, and +moddir

 

 

Debugging

+check, +dlines,+fp_exception, -g,

 

+initheap_complex, +initheap_integer,

 

+initheap_real and +initheap_set

 

 

Error control

+FP and +fp_exception

 

 

Industry standardized extensions

+O[no]openmp

 

 

Language features

+escape, +extend_source, +escape, +f2003,

 

+implicit_none, +langlvl, +[no]signedzero,

 

and +source

 

 

Linking

+demand_load, -dynamic, +FP, +k, -L, -l,

 

+shared, +sharedlibF90, +strip, and

 

+uppercase

 

 

Listing and messages

+asm, +dryrun, +langlvl=90, +list, -v,

 

+version, +what, and -w

 

 

Native language support

+nls

 

 

Performance and optimization

+cat,+DA, +DC, +DO, +DS, +fastallocatable,

 

+O, and -O +Oparallel_intrinsics

 

 

Preprocessor

+cpp, +cpp_keep, -D, and -U

 

 

Profiling

+gprof, +prof, +pa, +pal

 

 

Miscellaneous

+asm, -c, +getarg0, +getarg1,

 

+noalign64bitpointers, -o, +pic,

 

+pre_include, +ttybuf, and +usage, +Z, +z

 

 

Option descriptions

The following alphabetical list describes each of the command-line options recognized by HP Fortran. The +usage option also lists and briefly describes all of the currently supported options.

+A

Set the alignment of data items within FORTRAN STRUCTUREs, COMMONblocks, and

 

EQUIVALENCEclasses. Specifying +Awithout any arguments aligns data on 2-byte boundaries;

 

therefore, it is slightly different than the f77 +A.

+noalign64bitpointers Disables the correct alignment of pointers in derived types when compiling for wide mode (+DA2.0W).

 

NOTE: This option is only valid on the PA-RISC systems.

+allow_ivdep

Allows the IVDEPdirective.

 

The IVDEPdirective assists the compiler’s dependence analysis. It can only be applied to

 

iterative DO loops and is only honored when the +allow_ivdepcompiler flag is used.

 

The IVDEPdirective takes the following form:

Command-line options 21