This manual describes the commands and directives for using the MIPSpro 7 Fortran 90 compiler, which is invoked through the f90(1) command. It 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, “Invoking MIPSpro 7 Fortran 90”, describes the f90(1) command, which you use to invoke the compiler. This chapter includes information about using the f90(1) command line options, CPU targeting, obtaining a listing, and other aspects of compiling with the MIPSpro 7 Fortran 90 compiler.
Chapter 3, “General Directives”, introduces the compiler directives and describes the general compiler directives that the MIPSpro 7 Fortran 90 compiler recognizes.
Chapter 4, “OpenMP Fortran API Multiprocessing Directives”, describes the OpenMP Fortran API multiprocessing directives.
Chapter 5, “Parallel Processing on Origin Series Systems”, describes parallel processing on Origin2000, Origin200, or Cray Origin2000 systems using OpenMP directives and Silicon Graphics extensions to the OpenMP directives.
Chapter 6, “CF90 Directives”, describes CF90 compiler directives that are also supported by the MIPSpro 7 Fortran 90 compiler.
Chapter 7, “Source Preprocessing”, describes the source preprocessor.
Chapter 8, “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 9, “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.
Appendix B, “Debugging and Profiling Multiprocessed Programs”, describes debugging Fortran programs.
Appendix C, “Autotasking Directives (Outmoded)”, describes the Autotasking directives. These directives are still supported, but they are outmoded. It is suggested that you develop new codes using the OpenMP Fortran API directives described in Chapter 4, “OpenMP Fortran API Multiprocessing Directives”.
Appendix D, “Multiprocessing Directives (Outmoded)”, describes the Silicon Graphics multiprocessing directives. These directives are still supported, but they are outmoded. It is suggested that you develop new codes using the OpenMP Fortran API directives described in Chapter 4, “OpenMP Fortran API Multiprocessing Directives”.
This manual is one of a set of manuals that describes the MIPSpro 7 Fortran 90 compiler. The other manuals in the set are as follows:
Intrinsic Procedures Reference Manual
Fortran Language Reference Manual, Volume 1
Fortran Language Reference Manual, Volume 2
Fortran Language Reference Manual, Volume 3
You can obtain explanations for MIPSpro 7 Fortran 90 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 MIPSpro 7 Fortran 90 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.
The following documents contain information that may be useful when using the MIPSpro 7 Fortran 90 compiler:
Application Programmer's I/O Guide
ProDev ProMP User's Guide
MIPSpro Assembly Language Programmer's Guide
MIPSpro Compiling and Performance Tuning Guide
MIPSpro Fortran 77 Programmer's Guide
MIPSpro 64-Bit Porting and Transition Guide
SpeedShop User's Guide
Silicon Graphics maintains publications information at the following URL:
http://techpubs.sgi.com/library |
The preceding website contains information that allows you to browse documents online, order documents, and send feedback to Silicon Graphics.
The User Publications Catalog, describes the availability and content of all Cray hardware and software documents that are available to customers. Customers who subscribe to the Cray Inform (CRInform) program can access this information on the CRInform system.
Cray Research also has documents available online at the following URL:
http://www.cray.com/swpubs |
To order a document, call +1-651-683-5907. Silicon Graphics employees may send their orders via electronic mail to orderdsk.
Customers outside of the United States and Canada should contact their local service organization for ordering and documentation information.
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 document, please tell us. Be sure to include the title and part number of the document with your comments.
You can contact us in any of the following ways:
Send electronic mail to the following address:
techpubs@sgi.com |
Send a facsimile to the attention of "Technical Publications" at fax number +1 650 932 0801.
Use the Suggestion Box form on the Technical Publications Library World Wide Web page:
http://techpubs.sgi.com/library/ |
Call the Technical Publications Group, through the Technical Assistance Center, using one of the following numbers:
For Silicon Graphics IRIX based operating systems: 1 800 800 4SGI
For UNICOS or UNICOS/mk based operating systems or CRAY Origin2000 systems: 1 800 950 2729 (toll free from the United States and Canada) or +1 651 683 5600
Send mail to the following address:
Technical Publications |
Silicon Graphics, Inc. |
1600 Amphitheatre Pkwy. |
Mountain View, California 94043-1351 |
We value your comments and will respond to them promptly.