HP Fortran for OpenVMS
User Manual


Begin Index

Contents (summary)
Preface Preface
Chapter 1 Getting Started
Chapter 2 Compiling HP Fortran Programs
Chapter 3 Linking and Running HP Fortran Programs
Chapter 4 Using the OpenVMS Debugger
Chapter 5 Performance: Making Programs Run Faster
Chapter 6 HP Fortran Input/Output
Chapter 7 Run-Time Errors
Chapter 8 Data Types and Representation
Chapter 9 Converting Unformatted Numeric Data
Chapter 10 Using HP Fortran in the Common Language Environment
Chapter 11 Using OpenVMS Record Management Services
Chapter 12 Using Indexed Files
Chapter 13 Interprocess Communication
Chapter 14 Condition-Handling Facilities
Chapter 15 Using the Compaq Extended Math Library (CXML) (Alpha Only)
Appendix A Differences Between HP Fortran on OpenVMS I64 and OpenVMS Alpha Systems
Appendix B Compatibility: Compaq Fortran 77 and HP Fortran
Appendix C Diagnostic Messages
Appendix D HP Fortran Logical Names
Appendix E Contents of the HP Fortran System Library FORSYSDEF
Appendix F Using System Services: Examples
  Index
  Figures
  Examples
  Tables


Contents


Preface
Preface Preface
Chapter 1
1 Getting Started
     1.1     Fortran Standards Overview
     1.2     HP Fortran Programming Environment
     1.3     Commands to Create and Run an Executable Program
     1.4     Creating and Running a Program Using a Module and Separate Function
         1.4.1         Commands to Create the Executable Program
         1.4.2         Running the Sample Program
         1.4.3         Debugging the Sample Program
     1.5     Program Development Stages and Tools
Chapter 2
2 Compiling HP Fortran Programs
     2.1     Functions of the Compiler
     2.2     FORTRAN Command Syntax, Use, and Examples
         2.2.1         Specifying Input Files and Source Form
         2.2.2         Specifying Multiple Input Files
         2.2.3         Creating and Using Module Files
             2.2.3.1             Creating Module Files
             2.2.3.2             Using Module Files
         2.2.4         Using Include Files and Include Text Library Modules
             2.2.4.1             Using Include Files and INCLUDE Statement Forms
             2.2.4.2             INCLUDE Statement Forms for Including Text Library Modules
             2.2.4.3             Using Include Text Library Modules for a Specified Library Name
             2.2.4.4             Using Include Text Library Modules for an Unspecified Library Name
         2.2.5         Specifying Output Files
         2.2.6         Examples of the FORTRAN Command
             2.2.6.1             Naming the Object File
             2.2.6.2             Compiler Source Checking Only (No Object File)
             2.2.6.3             Requesting a Listing File and Contents
             2.2.6.4             Compiling Multiple Files
             2.2.6.5             Requesting Additional Compile-Time and Run-Time Checking
             2.2.6.6             Checking Fortran 90 or 95 Standard Conformance
             2.2.6.7             Requesting Additional Optimizations
     2.3     FORTRAN Command Qualifiers
         2.3.1         FORTRAN Command Qualifier Syntax
         2.3.2         Summary of FORTRAN Command Qualifiers
         2.3.3         /ALIGNMENT --- Data Alignment
         2.3.4         /ANALYSIS_DATA---Create Analysis Data File
         2.3.5         /ANNOTATIONS --- Code Descriptions
         2.3.6         /ARCHITECTURE --- Architecture Code Instructions (Alpha only)
         2.3.7         /ASSUME --- Compiler Assumptions
         2.3.8         /AUTOMATIC --- Data Storage
         2.3.9         /BY_REF_CALL --- Character Literal Argument Passing
         2.3.10         /CCDEFAULT --- Carriage Control for Terminals
         2.3.11         /CHECK --- Generate Code for Run-Time Checking
         2.3.12         /CONVERT --- Unformatted Numeric Data Conversion
         2.3.13         /D_LINES --- Debugging Statement Indicator, Column 1
         2.3.14         /DEBUG --- Object File Traceback and Symbol Table
         2.3.15         /DIAGNOSTICS --- Create Diagnostics File
         2.3.16         /DML --- Invoke Fortran DML Preprocessor
         2.3.17         /DOUBLE_SIZE --- DOUBLE PRECISION Data Size
         2.3.18         /ERROR_LIMIT --- Limit Compiler Messages
         2.3.19         /EXTEND_SOURCE --- Line Length for Fixed-Form Source
         2.3.20         /F77 --- FORTRAN IV or FORTRAN-77 Compatibility
         2.3.21         /FAST --- Request Fast Run-Time Performance
         2.3.22         /FLOAT --- Specify Floating-Point Format in Memory
         2.3.23         /GRANULARITY --- Control Shared Memory Access to Data
         2.3.24         /IEEE_MODE --- Control IEEE Arithmetic Exception Handling
         2.3.25         /INCLUDE --- Add Directory for INCLUDE and Module File Search
         2.3.26         /INTEGER_SIZE --- Integer and Logical Data Size
         2.3.27         /LIBRARY --- Specify File as Text Library
         2.3.28         /LIST --- Request Listing File
         2.3.29         /MACHINE_CODE --- Request Machine Code in Listing File
         2.3.30         /MATH_LIBRARY --- Fast or Accurate Math Library Routines (Alpha only)
         2.3.31         /MODULE --- Placement of Module Files
         2.3.32         /NAMES --- Control Case of External Names
         2.3.33         /OBJECT --- Specify Name or Prevent Object File Creation
         2.3.34         /OLD_F77 --- Use Old FORTRAN 77 Compiler (Alpha only)
         2.3.35         /OPTIMIZE --- Specify Compiler Optimizations
         2.3.36         /PAD_SOURCE --- Pad Source Lines with Spaces
         2.3.37         /REAL_SIZE --- Floating-Point Data Size
         2.3.38         /RECURSIVE --- Data Storage and Recursion
         2.3.39         /REENTRANCY --- Specify Threaded or Asynchronous Reentrancy
         2.3.40         /ROUNDING_MODE --- Specify IEEE Floating-Point Rounding Mode
         2.3.41         /SEPARATE_COMPILATION --- Control Compilation Unit Use in Object Files
         2.3.42         /SEVERITY --- Specify Compiler Diagnostic Severity
         2.3.43         /SHOW --- Control Source Content in Listing File
         2.3.44         /SOURCE_FORM --- Fortran 90/95 Source Form
         2.3.45         /STANDARD --- Perform Fortran 90/95 Standards Checking
         2.3.46         /SYNCHRONOUS_EXCEPTIONS --- Report Exceptions More Precisely (Alpha only)
         2.3.47         /SYNTAX_ONLY --- Do Not Create Object File
         2.3.48         /VERSION --- Display the HP Fortran Version Number
         2.3.49         /TIE --- Enable Code for Shared Translated Images
         2.3.50         /VMS --- Request Compaq Fortran 77 for OpenVMS VAX Compatibility
         2.3.51         /WARNINGS --- Warning Messages and Compiler Checking
     2.4     Creating and Maintaining Text Libraries
         2.4.1         Using the LIBRARY Commands
         2.4.2         Naming Text Library Modules
     2.5     Using CDD/Repository
         2.5.1         Accessing CDD/Repository from HP Fortran Programs
         2.5.2         HP Fortran and CDD/Repository Data Types
     2.6     Compiler Limits, Diagnostic Messages, and Error Conditions
         2.6.1         Compiler Limits
         2.6.2         Compiler Diagnostic Messages and Error Conditions
     2.7     Compiler Output Listing Format
         2.7.1         Source Code Section
         2.7.2         Machine Code Section
         2.7.3         Annotations Section
         2.7.4         Storage Map Section
         2.7.5         Compilation Summary Section


Previous Next Contents Index