User's Guide
Using XL Fortran Features
Chapter 1. Introduction
How to Read This Book
Related Documentation
Chapter 2. Overview of XL Fortran Version 6.1 Features
Hardware and Operating-System Support
Language Support
Migration Support
Source-Code Conformance Checking
Highly Configurable Compiler
Diagnostic Listings
Symbolic Debugger Support
Program Optimization
Graphical Command-Line Builder
Integration with Common Desktop Environment
Online Documentation
Chapter 3. Setting Up and Customizing XL Fortran
Where to Find Installation Instructions
Correct Settings for Environment Variables
Customizing the Configuration File
Determining Which Level of XL Fortran Is Installed
Upgrading to XL Fortran Version 6
Avoiding or Fixing Upgrade Problems
Chapter 4. Editing, Compiling, Linking, and Running XL Fortran Programs
Editing XL Fortran Source Files
Compiling XL Fortran Programs
Linking XL Fortran Programs
Running XL Fortran Programs
Chapter 5. XL Fortran Compiler-Option Reference
Summary of the XL Fortran Compiler Options
Detailed Descriptions of the XL Fortran Compiler Options
-# Option
-1 Option
-B Option
-b64 Option
-bdynamic, -bshared, and -bstatic Options
-bhalt Option
-bloadmap Option
-bmaxdata, -bmaxstack Options
-brtl Option
-bshared Option
-bstatic Option
-C Option
-c Option
-D Option
-d Option
-F Option
-g Option
-I Option
-k Option
-L Option
-l Option
-N Option
-O Option
-o Option
-P Option
-p Option
-Q Option
-q32 Option
-q64 Option
-qalias Option
-qalign Option
-qarch Option
-qassert Option
-qattr Option
-qautodbl Option
-qcache Option
-qcharlen Option
-qcheck Option
-qci Option
-qcompact Option
-qctyplss Option
-qdbg Option
-qddim Option
-qdirective Option
-qdlines Option
-qdpc Option
-qpdcl Option
-qescape Option
-qextchk Option
-qextern Option
-qextname Option
-qfdpr Option
-qfixed Option
-qflag Option
-qfloat Option
-qflttrap Option
-qfree Option
-qfullpath Option
-qhalt Option
-qhot Option
-qhsflt Option
-qhssngl Option
-qieee Option
-qinit Option
-qinitauto Option
-qintlog Option
-qintsize Option
-qipa Option
-qkeepparm Option
-qlanglvl Option
-qlibansi Option
-qlibessl Option
-qlibposix Option
-qlist Option
-qlistopt Option
-qlm Option
-qlog4 Option
-qmaxmem Option
-qmbcs Option
-qmixed Option
-qmoddir Option
-qnoprint Option
-qnullterm Option
-qobject Option
-qonetrip Option
-qoptimize Option
-qpdf Option
-qphsinfo Option
-qposition Option
-qqcount Option
-qrealsize Option
-qrecur Option
-qreport Option
-qsaa Option
-qsave Option
-qsigtrap Option
-qsmp Option
-qsource Option
-qspillsize Option
-qstrict Option
-qstrict_induction Option
-qsuffix Option
-qsuppress Option
-qtbtable Option
-qthreaded Option
-qtune Option
-qundef Option
-qwarn64 Option
-qxflag=oldtab Option
-qxflag=xalias Option
-qxlf77 Option
-qxlf90 Option
-qxref Option
-qzerosize Option
-S Option
-t Option
-U Option
-u Option
-v Option
-V Option
-W Option
-w Option
-y Option
Chapter 6. Using XL Fortran in a 64-bit Environment
64-Bit Thread Support
Compiler Options for the 64-bit Environment
-q32 Option
-q64 Option
-qarch=rs64a Option
-qarch=rs64b Option
-qtune=rs64a Option
-qtune=rs64b Option
-qwarn64 Option
Default Bit Mode
Chapter 7. XL Fortran Floating-Point Processing
IEEE Floating-Point Overview
Hardware-Specific Floating-Point Overview
How XL Fortran Rounds Floating-Point Calculations
Duplicating the Floating-Point Results of Other Systems
Maximizing Floating-Point Performance
Detecting and Trapping Floating-Point Exceptions
Floating-Point Processing on the POWER and POWER2 Architectures
Chapter 8. Optimizing XL Fortran Programs
The Philosophy of XL Fortran Optimizations
Choosing an Optimization Level
Optimizing Floating-Point Calculations
Optimizing Loops and Array Language
Optimizing Conditional Branching
Optimizing Subprogram Calls
Optimizing for a Target Machine or Class of Machines
Debugging Optimized Code
Different Results in Optimized Programs
Where to Find the Optimizing Preprocessors
Chapter 9. AIX Implementation Details of XL Fortran Input/Output
Implementation Details of File Formats
File Names
Preconnected and Implicitly Connected Files
File Positioning
I/O Redirection
How XLF I/O Interacts with Pipes, Special Files, and Links
Default Record Lengths
File Permissions
Selecting Error Messages and Recovery Actions
Flushing I/O Buffers
Choosing Locations and Names for Input/Output Files
Increasing Throughput with Logical Volume I/O and Data Striping
Asynchronous I/O
Chapter 10. Interlanguage Calls
Conventions for XL Fortran External Names
Mixed-Language Input and Output
Mixing Fortran and C++
Passing Data From One Language to Another
Assembler-Level Subroutine Linkage Conventions
Linkage Convention for Argument Passing
Linkage Convention for Function Calls
Prolog and Epilog
Traceback
THREADLOCAL Common Blocks and ILC with C
Chapter 11. Problem Determination and Debugging
Understanding XL Fortran Error Messages
Fixing Installation or System Environment Problems
Fixing Compile-Time Problems
Fixing Link-Time Problems
Fixing Run-Time Problems
Debugging a Fortran 90 or Fortran 95 Program
A Sample dbx Session for an XL Fortran Program
Using Debug Memory Routines for XL Fortran
Chapter 12. Understanding XL Fortran Compiler Listings
Header Section
Options Section
Source Section
Transformation Report Section
Attribute and Cross-Reference Section
Object Section
File Table Section
Compilation Unit Epilogue Section
Compilation Epilogue Section
Software Development Topics
Chapter 13. Fortran-Related AIX Commands
Working with Object-Code Archives (ar)
Printing Output Files with Fortran ASA Carriage Controls (asa)
Splitting Subprograms into Individual Files (fsplit)
Automating Large, Complex Compilations (make)
Run-Time Profiling (prof, gprof)
Translating Programs into RATFOR (struct)
Displaying Information Inside Binary Files (what)
Chapter 14. Porting Programs to XL Fortran
Outline of the Porting Process
Maintaining FORTRAN 77 Source and Object Code
Portability of Directives
NEW
Common Industry Extensions That XL Fortran Supports
Chapter 15. Answers to Frequently Asked Questions
Finding the Date and Time
Making Calls to C Functions Work
Efficient Static Linking
Appendixes
Appendix A. Sample Fortran Programs
Example 1 - XL Fortran Source File
Example 2 - Valid C Routine Source File
Example 3 - Valid Fortran SMP Source File
Example 4 - Invalid Fortran SMP Source File
Programming Examples Using the Pthreads Library Module
Appendix B. XL Fortran Technical Information
The Compiler Phases
External Names in the XL Fortran Shared Libraries
The XL Fortran Run-Time Environment
Technical Details of the -qfloat=hsflt Option
Implementation Details for -qautodbl Promotion and Padding
Appendix C. XL Fortran Internal Limits
Chapter 16. Glossary
INDEX
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
© Copyright IBM Corporation 1990, 1998.