HP Fortran Version 3.2 Release Notes
HP Fortran Release Notes
What is New in This Version
Chapter 14
What is New in This Version
This section discusses the new features introduced in this version of the HP Fortran compiler.
New Features in Version 3.2
HP Fortran version 3.2 supports the following new feature:
Auto-parallelization Support with the +Oautopar Option on Integrity Systems
The auto-parallelization feature enables applications to use the idle resources on multicore or
multiprocessor systems, by automatically transforming the serial loops of code in the program
into multithreaded parallel code.
The +Oautopar option can be used for programs at optimization levels, +O3 and above.
If both +Oopenmp and +Oautopar are specified on the command line, the OpenMP directives
gain precedence over the +Oautopar option. The compiler auto-parallelizes only the loops of
code that are not controlled by the OpenMP directives.
To compile a program with +Oautopar support, the libcps, libomp, and libpthreads
runtime support libraries must be present at compile-time and runtime.
This feature is now available on Integrity systems. It continues to be available on HP 9000
systems.
NOTE The +Oparallel option is not available on Integrity systems for HP Fortran
Version 3.2 and later. You must use the +Oautopar option instead.
New -inqfile Option for the INQUIRE Command
The -inqfile option displays YES,orNO for the format specifiers, FORMATTED/UNFORMATTED,
when INQUIRE intrinsic is used on an unopened file.
The default behaviour of the compiler for INQUIRE intrinsic is changed to display UNKNOWN
for inquiry specifiers, FORMATTED/UNFORMATTED, when INQUIRE intrinsic is used on an
unopened file. The -inqfile option retains the old default behavior of INQUIRE intrinsic .
When the -inqfile option is used, the file is opened and probed to display
“FORMATTED/UNFORMATTED=YES|NO”, instead of displaying “UNKNOWN”. The compiler may not
always display the correct answer when this option is used. The compiler may display
incorrect results for unformatted direct access files when -inqfile is used.