This manual describes the commands and directives for using the MIPSpro Fortran 90 compiler. This book is organized into the following chapters:
Chapter 1, “Introduction”, introduces the content of the manual and provides a general description of the compiler.
Chapter 2, “The F90 Command Line”, provides an overview of the f90(1) command, which you use to invoke the compiler. For complete details about using the compiler, see the f90(1) man page.
Chapter 3, “General Directives”, introduces the compiler directives and describes the general compiler directives recognized by the compiler.
Chapter 4, “OpenMP Fortran API Multiprocessing Directives”, describes the OpenMP Fortran API multiprocessing directives.
Chapter 5, “CF90 Directives”, describes CF90 compiler directives that are also supported by the compiler.
Chapter 6, “Source Preprocessing”, describes the source preprocessor.
Chapter 7, “Interlanguage Calling”, describes the interlanguage calling conventions used when calling a C/C++ function from a Fortran procedure and a Fortran procedure from a C function.
Chapter 8, “The Auto-Parallelizing Option (APO)”, describes the Auto-Parallelizing Option (APO) and the directives that accompany this feature. APO requires an additional license from Silicon Graphics, Inc. Please contact your sales representative if you are interested in using this feature.
Appendix A, “Libraries”, describes library routines available to you from Fortran programs.
The following documents contain information that may be useful:
MIPSpro Fortran Language Reference Manual, Volume 1
MIPSpro Fortran Language Reference Manual, Volume 2
MIPSpro Fortran Language Reference Manual, Volume 3
Application Programmer's I/O Guide
ProDev WorkShop: Overview
SpeedShop User's Guide
ProDev WorkShop: Debugger User's Guide
ProDev WorkShop: Debugger Reference Manual
ProDev WorkShop: Performance Analyzer User's Guide
ProDev WorkShop: Tester User's Guide
dbx User's Guide
Origin 2000 and Onyx2 Performance Tuning and Optimization Guide
You can obtain explanations for compiler messages by using the online explain(1) command.
In addition to printed and online prose documentation, several online man pages describe aspects of the compiler. Man pages exist for the library routines, the intrinsic procedures, and several programming environment tools.
You can print copies of online man pages by using the pipe symbol with the man(1), col(1), and lpr(1) commands. In the following example, these commands are used to print a copy of the explain(1) man page:
% man explain | col -b | lpr |
Each man page includes a general description of one or more commands, routines, system calls, or other topics, and provides details of their usage (command syntax, routine parameters, system call arguments, and so on). If more than one topic appears on a page, the entry in the printed manual is alphabetized under its primary name; online, secondary entry names are linked to these primary names. For example, egrep is a secondary entry on the page with a primary entry name of grep. To access grep online, you can type man grep. To access egrep online, you can type either man grep or man egrep. Both commands display the grep man page on your terminal.
The following commercially available reference books are among those that you should consult for more information on the history of Fortran and the Fortran language itself:
Adams, J., W. Brainerd, and J. Martin. Fortran 95 Handbook : Complete ISO/ANSI Reference. MIT Press, 1997. ISBN 0262510960.
Chapman, S. Fortran 90/95 for Scientists and Engineers. McGraw Hill Text, 1998. ISBN 0070119384.
Chapman, S. Introduction to Fortran 90/95. McGraw Hill Text, 1998. ISBN 0070119694.
Counihan, M. Fortran 95 : Including Fortran 90, Details of High Performance Fortran (HPF), and the Fortran Module for Variable-Length Character Strings. UCL Press, 1997. ISBN 1857283678.
Gehrke, W. Fortran 95 Language Guide. Springer Verlag, 1996. ISBN 3540760628.
International Standards Organization. ISO/IEC 1539-1:1997, Information technology -- Programming languages -- Fortran. 1997.
Metcalf, M. and J. Reid. Fortran 90/95 Explained. Oxford University Press, 1996. ISBN 0198518889.
You can obtain SGI documentation in the following ways:
See the SGI Technical Publications Library at http://docs.sgi.com. Various formats are available. This library contains the most recent and most comprehensive set of online books, release notes, man pages, and other information.
If it is installed on your SGI system, you can use InfoSearch, an online tool that provides a more limited set of online books, release notes, and man pages. With an IRIX system, select Help from the Toolchest, and then select InfoSearch. Or you can type infosearch on a command line.
You can also view release notes by typing either grelnotes or relnotes on a command line.
You can also view man pages by typing man title on a command line.
The following conventions are used throughout this document:
Convention | Meaning | |
command | This fixed-space font denotes literal items such as commands, files, routines, path names, signals, messages, and programming language structures. | |
variable | Italic typeface denotes variable entries and words or concepts being defined. | |
user input | This bold, fixed-space font denotes literal items that the user enters in interactive sessions. (Output is shown in nonbold, fixed-space font.) | |
[ ] | Brackets enclose optional portions of a command or directive line. | |
... | Ellipses indicate that a preceding element can be repeated. |
If you have comments about the technical accuracy, content, or organization of this publication, contact SGI. Be sure to include the title and document number of the publication with your comments. (Online, the document number is located in the front matter of the publication. In printed publications, the document number is located at the bottom of each page.)
You can contact SGI in any of the following ways:
Send e-mail to the following address:
Use the Feedback option on the Technical Publications Library Web page:
Contact your customer service representative and ask that an incident be filed in the SGI incident tracking system.
Send mail to the following address:
Technical Publications |
SGI |
1600 Amphitheatre Parkway, M/S 535 |
Mountain View, California 94043-1351 |
Send a fax to the attention of “Technical Publications” at +1 650 932 0801.
SGI values your comments and will respond to them promptly.