Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home

Fortran 90 Compiler for HP-UX: Fortran 90 Programmer's Guide
HP 9000 computers

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

HP Part Number: B3909-90002

Edition: First Edition

Published: October 1998


Table of Contents

Preface
New in HP Fortran 90 V2.0
Scope
Notational conventions
Command syntax
Associated documents
1 An overview of HP Fortran 90
The HP Fortran 90 compiler environment
Driver
C preprocessor
Front-end
Back-end
Linker
Tools
HP-UX operating system
2 Compiling and linking
Compiling with the f90 command
f90 command syntax
Compile-line options
Using optimization options
Reviewing general optimization options
Fine-tuning optimization options
Filenames
Linking HP Fortran 90 programs
Linking with f90 vs. ld
Linking to libraries
Special-purpose compilations
Compiling programs with modules
Compiling for different PA-RISC machines
Creating shared libraries
Using the C preprocessor
Creating demand-loadable executables
Creating shared executables
Compiling in 64-bit mode
Using environment variables
HP_F90OPTS environment variable
LPATH environment variable
MP_NUMBER_OF_THREADS environment variable
3 Controlling data storage
Disabling implicit typing
Automatic and static variables
Increasing the precision of constants
Increasing default data sizes
Sharing data among programs
Modules vs. common blocks
4 Debugging
Using the HP DDE debugger
Debugging optimized code
Debugging parallel-executing programs
Stripping debugging information
Handling runtime exceptions
Bus error exception
Floating-point exceptions
Illegal instruction exception
Segmentation violation exception
Bad argument exception
Using debugging lines
5 Using the ON statement
Exceptions handled by the ON statement
Actions specified by ON
Terminating program execution
Ignoring errors
Calling a trap procedure
Trapping +Ctrl-C trap interrupts
Allowing core dumps
6 Performance and optimization
Using profilers
CXperf
gprof
prof
Using options to control optimization
Using +O to set optimization levels
Using the optimization options
Conservative vs. aggressive optimization
Parallelizing HP Fortran 90 programs
Compiling for parallel execution
Performance and parallelization
Profiling parallelized programs
Conditions inhibiting loop parallelization
Vectorization
Using the +Ovectorize option
Controlling vectorization locally
Calling BLAS library routines
Controlling code generation for performance
7 Writing HP-UX applications
Accessing command-line arguments
Calling HP-UX system and library routines
Using HP-UX file I/O
Stream I/O using FSTREAM
Performing I/O using HP-UX system calls
Establishing a connection to a file
Obtaining an HP-UX file descriptor
8 Calling C routines from HP Fortran 90
Data types
Unsigned integers
Logicals
Complex numbers
Derived types
Pointers
Argument-passing conventions
Case sensitivity
Arrays
C strings
C null-terminated string
Fortran hidden length argument
Passing a string
File handling
Sharing data
9 Using Fortran 90 directives
Directive syntax
Using HP Fortran 90 directives
$HP$ ALIAS
$HP$ CHECK_OVERFLOW
$HP$ LIST
$HP$ OPTIMIZE
Compatibility directives
Controlling vectorization
Controlling parallelization
Controlling dependence checks
Controlling checks for side effects
10 Migrating to HP Fortran 90
Incompatibilities with HP FORTRAN 77
Compile-line options not supported
Floating-point constants
Intrinsic functions
Procedure calls and definitions
Data types and constants
Input/output
Directives
Miscellaneous
Migration issues
Source code issues
Compile-line option issues
Object code issues
Data file issues
Approaches to migration
HP-supplied migration tools
11 Porting to HP Fortran 90
Compatibility extensions
Statements
Compiler directives
Intrinsic procedures
Using porting options
Uninitialized variables
Large word size
One-trip DO loops
Name conflicts
Names with appended underscores
Source formats
Escape sequences
Glossary

List of Tables

1-1 Options for controlling the f90 driver
1-2 Options for controlling the C preprocessor
1-3 Options for controlling the front end
1-4 Options for controlling optimization
1-5 Options for controlling code generation
1-6 Options for controlling the Linker
2-1 Commonly-used f90 options
2-2 Options listed by category
2-3 Data type sizes and +autodbl[4]
2-4 Values for the +FP option
2-5 Signals recognized by the +fp_exception option
2-6 Values for the -t option x subprocesses
2-7 Levels of optimization
2-8 Values for the -W option
2-9 Optimizations performed by +O[no]fltacc
2-10 Values for the +Oinline_budget option
2-11 Millicode versions of intrinsic functions
2-12 Filenames recognized by f90
2-13 Libraries linked by default
2-14 HP Fortran 90 environment variables
4-1 Signals recognized by +fp_exception
5-1  Exceptions handled by the ON statement
6-1 Optimization levels
6-2 Packaged optimization options
6-3 Fine-tuning optimization options
6-4 Conservative, aggressive, and default optimizations
6-5 Vector routines called by +Ovectorize
8-1 Data type correspondence for HP Fortran 90 and C
8-2 Size differences between HP Fortran 90 and C data types
8-3 Size differences after compiling with +autodbl
9-1 HP Fortran 90 directives
9-2 Compatibility directives recognized by HP Fortran 90
10-1 f77 options not supported by f90
10-2 f77 options replaced by f90 options
10-3 HP FORTRAN 77 directives supported by f90 options
10-4 Conflicting intrinsics and libU77 routine names
10-5 f77 options supported by f90
11-1 Compatibility statements
11-2 Compatibility directives
11-3 Directive prefixes recognized by HP Fortran 90
11-4 Nonstandard intrinsic procedures in HP Fortran 90
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.