MIPSpro™ Fortran 77 Programmer's Guide

Document Number: 007-2361-009

Front Matter

| List of Figures | List of Examples | List of Tables |

Table of Contents

About This Guide
Related Compiler Publications
Compiler Messages
Compiler Man Pages
Obtaining Publications
Reader Comments

1. Compiling, Linking, and Running Programs
Compiling and Linking
Compiler Options: an Overview
Specifying Features to the Compiler
Specifying the Buffer Size for Direct Unformatted I/O
Object File Tools
Run-Time Considerations

2. Data Types and Mapping
Alignment, Size, and Value Ranges
Access of Misaligned Data

3. Fortran Program Interfaces
Subprogram Names
Correspondence of Fortran and C Data Types
Passing Subprogram Parameters
Calling Fortran from C
Calling C from Fortran

4. System Functions and Subroutines
Library Functions
Extended Intrinsic Subroutines
Extended Intrinsic Functions

5. OpenMP Fortran API Multiprocessing Directives
Using Directives
Conditional Compilation
Parallel Region Constructs
Work-sharing Constructs
Combined Parallel Work-sharing Constructs
Synchronization Constructs
Data Environment Constructs
Directive Binding
Directive Nesting

6. Compiling and Debugging Parallel Fortran
Compiling and Running Parallel Fortran
Profiling a Parallel Fortran Program
Debugging Parallel Fortran

A. Run-Time Error Messages

B. Multiprocessing Directives (Outmoded)
Parallel Loops
Writing Parallel Fortran
Analyzing Data Dependencies for Multiprocessing
Breaking Data Dependencies
Work Quantum
Cache Effects
Advanced Features
DOACROSS Implementation
PCF Directives
Communicating Between Threads Through Thread Local Data
Synchronization Intrinsics

C. The Auto-Parallelizing Option (APO)
Using the MIPSpro APO
Common Command-Line Options
Output files
Running Your Program
Failing to Parallelize Safe Loops
Parallelizing the Wrong Loop
Unnecessary Parallelization Overhead
Strategies for Assisting Parallelization
Compiler Directives for Automatic Parallelization