About This Guide

This Guide presents the features of MIPSpro™ Power Fortran 90, an extension to MIPSpro Fortran 90 that can automatically prepare existing Fortran 90 programs to execute in parallel on multiprocessor systems such as the Silicon Graphics, Inc. POWER Challenge™ and POWER Onyx™.

Using normal MIPSpro Fortran 90, you can modify a program using explicit source directives and assertions so that, when you compile the program with appropriate driver options, the program executes in parallel on a multiprocessor. These explicit source directives, assertions, and driver options are only summarized in this document; they are covered in detail in the MIPSpro Fortran 90 Programmer's Guide.

This Guide describes the unique features of MIPSpro Power Fortran 90, especially the ability to automatically analyze and modify a program for parallel execution.

Organization

The contents of this Guide are organized as follows.

Additional Reading

Refer to the Fortran 90 Handbook by Adams, Brainerd, et. al. (McGraw-Hill 1992; ISBN 0-07-000406-4) for a description of the Fortran language as implemented by MIPSpro Fortran 90.

Refer to the MIPSpro Fortran 90 Programmer's Guide for information on:

  • compiling, linking, and running Fortran programs

  • alignment, sizes, and value ranges of data types

  • the interface between Fortran programs and programs written in other languages

  • file management, run-time error handling, and other details related to the IRIX operating system

  • IRIX system functions and subroutines callable by Fortran programs

  • scalar optimizations that can be controlled through command line options and compiler directives

  • source directives for multiprocessing, including PCF directives

  • run-time error messages

Refer to the CASEVision™/WorkShop Pro MPF User's Guide for information about using WorkShop Pro MPF, a visual analyzer for parallel Fortran programs. Refer to the dbx User's Guide for information on the debugging tool dbx.

Refer to the MIPS Compiling and Performance Tuning Guide for an overview of the MIPSpro compiler system and general compiler system command line options, as well as information on:

  • using the performance tools prof and pixie

  • using dynamic shared objects (DSOs)

  • the dump utilities, archiver, and other tools for maintaining Fortran programs

Refer to the MIPSpro Porting and Transition Guide for information on 64-bit systems versus 32-bit systems, including:

  • writing and updating code that is portable to 64-bit systems

  • language implementation differences

  • porting source code to the 64-bit system

  • compilation and run-time issues

Conventions Used in This Guide

These are the typographical conventions used in this guide.

Table 1. Conventions

Purpose

Example

Names of Fortran keywords and procedures, and procedure names defined in example code

A function such as AINT must be named in an INTRINSIC statement. The module NEW_TYPE defines type TAX_PAYER.

Names of Fortran variables from example code.

The assignment of A(j-1) into A(j) creates a dependency.

Names of commands and options entered on the IRIX command line

The compiler driver is f90. Use elfdump -t to list external names in an object file.

Titles of manuals

Refer to the dbx User's Guide.

Filenames and pathnames

The compiler automatically includes libftn90.so, libftn.so, and libm.so from /usr/lib64.

Full lines of example code or commands, including variable elements you supply

f90 -g -mips4 sourcename.f

Exact quotes of computer output

off end of record