Compaq Fortran
User Manual for
OpenVMS Alpha Systems

Begin Index

Contents (summary)
Preface Preface
Chapter 1 Getting Started
Chapter 2 Compiling Compaq Fortran Programs
Chapter 3 Linking and Running Compaq Fortran Programs
Chapter 4 Using the OpenVMS Debugger
Chapter 5 Performance: Making Programs Run Faster
Chapter 6 Compaq Fortran Input/Output
Chapter 7 Run-Time Errors
Chapter 8 Data Types and Representation
Chapter 9 Converting Unformatted Numeric Data
Chapter 10 Using Compaq 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
Appendix A Compatibility: Compaq Fortran 77 and Compaq Fortran
Appendix B Diagnostic Messages
Appendix C Compaq Fortran Logical Names
Appendix D Contents of the Compaq Fortran System Library FORSYSDEF
Appendix E Using System Services---Examples


Preface Preface
Chapter 1
1 Getting Started
     1.1     The Compaq Fortran Programming Environment
     1.2     Commands to Create and Run an Executable Program
     1.3     Creating and Running a Program Using a Module and Separate Function
         1.3.1         Commands to Create the Executable Program
         1.3.2         Running the Sample Program
         1.3.3         Debugging the Sample Program
     1.4     Program Development Stages and Tools
Chapter 2
2 Compiling Compaq Fortran Programs
     2.1     Functions of the Compiler
     2.2     The FORTRAN Command
         2.2.1         Specifying Input Files and Source Form
         2.2.2         Specifying Multiple Input Files
         2.2.3         Creating and Using Module Files
                Creating Module Files
                Using Module Files
         2.2.4         Using Include Files and Include Text Library Modules
                Using Include Files and INCLUDE Statement Forms
                INCLUDE Statement Forms for Including Text Library Modules
                Using Include Text Library Modules for a Specified Library Name
                Using Include Text Library Modules for an Unspecified Library Name
         2.2.5         Specifying Output Files
         2.2.6         Examples of the FORTRAN Command
                Naming the Object File
                Compiler Source Checking Only (No Object File)
                Requesting a Listing File and Contents
                Compiling Multiple Files
                Requesting Additional Compile-Time and Run-Time Checking
                Checking Fortran 90 or 95 Standard Conformance
                Requesting Additional Optimizations
     2.3     Qualifiers to the FORTRAN Command
         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         /ARCHITECTURE --- Architecture Code Instructions
         2.3.6         /ASSUME --- Compiler Assumptions
         2.3.7         /AUTOMATIC --- Data Storage
         2.3.8         /BY_REF_CALL --- Character Literal Argument Passing
         2.3.9         /CHECK --- Generate Code for Run-Time Checking
         2.3.10         /CONVERT --- Unformatted Numeric Data Conversion
         2.3.11         /D_LINES --- Debugging Statement Indicator, Column 1
         2.3.12         /DEBUG --- Object File Traceback and Symbol Table
         2.3.13         /DIAGNOSTICS --- Create Diagnostics File
         2.3.14         /DOUBLE_SIZE --- DOUBLE PRECISION Data Size
         2.3.15         /ERROR_LIMIT --- Limit Compiler Messages
         2.3.16         /EXTEND_SOURCE --- Line Length for Fixed-Form Source
         2.3.17         /F77 --- FORTRAN IV or FORTRAN-77 Compatibility
         2.3.18         /FAST --- Request Fast Run-Time Performance
         2.3.19         /FLOAT --- Specify Floating-Point Format in Memory
         2.3.20         /GRANULARITY --- Control Shared Memory Access to Data
         2.3.21         /IEEE_MODE --- Control IEEE Arithmetic Exception Handling
         2.3.22         /INCLUDE --- Add Directory for INCLUDE and Module File Search
         2.3.23         /INTEGER_SIZE --- Integer and Logical Data Size
         2.3.24         /LIBRARY --- Specify File as Text Library
         2.3.25         /LIST --- Request Listing File
         2.3.26         /MACHINE_CODE --- Request Machine Code in Listing File
         2.3.27         /MATH_LIBRARY --- Fast or Accurate Math Library Routines
         2.3.28         /MODULE --- Placement of Module Files
         2.3.29         /NAMES --- Control Case of External Names
         2.3.30         /OBJECT --- Specify Name or Prevent Object File Creation
         2.3.31         /OLD_F77 --- Use Old FORTRAN 77 Compiler
         2.3.32         /OPTIMIZE --- Specify Compiler Optimizations
         2.3.33         /PAD_SOURCE --- Pad Source Lines with Spaces
         2.3.34         /REAL_SIZE --- Floating-Point Data Size
         2.3.35         /RECURSIVE --- Data Storage and Recursion
         2.3.36         /REENTRANCY --- Specify Threaded or Asynchronous Reentrancy
         2.3.37         /ROUNDING_MODE --- Specify IEEE Floating-Point Rounding Mode
         2.3.38         /SEPARATE_COMPILATION --- Control Compilation Unit Use in Object Files
         2.3.39         /SEVERITY --- Specify Compiler Diagnostic Severity
         2.3.40         /SHOW --- Control Source Content in Listing File
         2.3.41         /SOURCE_FORM --- Fortran 90/95 Source Form
         2.3.42         /STANDARD --- Perform Fortran 90/95 Standards Checking
         2.3.43         /SYNCHRONOUS_EXCEPTIONS --- Report Exceptions More Precisely
         2.3.44         /SYNTAX_ONLY --- Do Not Create Object File
         2.3.45         /VERSION --- Display the Compaq Fortran Version Number
         2.3.46         /TIE --- Enable Code for Shared Translated Images
         2.3.47         /VMS --- Request Compaq Fortran 77 for OpenVMS VAX Compatibility
         2.3.48         /WARNINGS --- Warning Messages and Compiler Checking
     2.4     Using Text Libraries
         2.4.1         Using the LIBRARY Commands
         2.4.2         Naming Text Library Modules
     2.5     Compiler Limits and Messages
         2.5.1         Compiler Limits
         2.5.2         Compiler Diagnostic Messages and Error Conditions
     2.6     Compiler Output Listing Format
         2.6.1         Source Code Section
         2.6.2         Machine Code Section
         2.6.3         Storage Map Section
         2.6.4         Compilation Summary Section
Chapter 3
3 Linking and Running Compaq Fortran Programs
     3.1     The LINK Command
         3.1.1         Linker Output File Qualifiers
                Image File Qualifiers
                The /NATIVE_ONLY Qualifier
                Map File Qualifiers
         3.1.2         /DEBUG and /TRACEBACK Qualifiers
         3.1.3         Linker Input File Qualifiers
         3.1.4         Linker Symbol Table Qualifier
         3.1.5         Linker Options File Qualifier
         3.1.6         Other Linker Qualifiers
         3.1.7         Linker Messages
     3.2     Running Compaq Fortran Programs
         3.2.1         The RUN Command
         3.2.2         System Processing at Image Exit
         3.2.3         Interrupting a Program
         3.2.4         Returning Status Values to the Command Interpreter
     3.3     Symbol Table and Traceback Information: Locating Run-Time Errors
         3.3.1         Effects of Error-Related Command Qualifiers
         3.3.2         Sample Source Program and Traceback

Previous Next Contents Index