(Obsolete - Archival Information)

FPE HOME | Directives | Double Options | Format | Functions | Operators | Options | Recommend | Source | Statements

The pages linked to here are an attempt to compare compilers on various platforms available at LLNL in order to make it easier for the user to answer questions like:

  • I used option x with compiler y--what do I use to get the same effect with compiler z?
  • If I use a particular language feature, will it be available on all of the platforms that I am interested in?

Basic information about recommended Fortran compiler options to use for codes at LLNL is available for the following compilers:

The rest of the pages give more details about these and other compilers. Since these pages are very large, the best way to locate needed information will normally be to go to the appropriate page and then use the "find" command in the browser to get to the right spot. (Note: "find" does not work with tables in some older versions of Netscape.)

NOTE: These pages are not an attempt to fully explain features or how to use them. The syntax, where given, is not necessarily formal or complete, although hopefully what is presented is accurate. Please refer to the appropriate man pages, user's guides, and reference guides for details. The intent is to link to the more detailed documentation as the appropriate links are found and time permits. In the meantime, hopefully this material will help aim users in the right directions.

The languages and compilers currently compared here are the following:

The ANSI FORTRAN standard as defined in ANSI X3.9-1978.
Fortran 90
The ANSI Fortran standard as defined in ANSI X3.198.1992.
Fortran 95
The ISO Fortran standard as defined in ISO/IEC 1539:1997.
The High Performance Fortran language. See High Performance Fortran language specification, version 1.0, Technical Report CRPC-TR92225, Rice University, Houston TX.
The LRLTRAN compiler from LLNL, version 132v.
The Cray Research FORTRAN 77 compiler, version 6.0 on the Cray YMP and Cray J90 and T3D machines. See CF77 Commands and Directives (SR-3771), CF77 Fortran Language Reference (SR-3772), and CF77 Optimization Guide (SG-3773) available in docview.
The Cray Research FORTRAN 90 compiler, version 3.0 on the Cray YMP and Cray J90 machines. See CF90 Commands and Directives Reference Manual (SR-3901) and CF90 Fortran Language Reference Manual, Volume 2 (SR-3903).
The Digital Equipment FORTRAN 77 compiler, version 5.1 on the DEC Alpha machines. See DEC Fortran Language Reference Manual and DEC Fortran User Manual for DEC OSF/1 AXP Systems available through Bookreader (dxbook).
The Digital Equipment FORTRAN 90 compiler, version 5.1 on the DEC Alpha machines. See DEC Fortran 90 Language Reference Manual and DEC Fortran 90 User Manual for DEC OSF/1 AXP Systems available through Bookreader (dxbook).
The Portland Group FORTRAN 77 compiler, version 1.4-2 on the Meiko CS-2. See the SPARC PGF77 User's Guide and PGF77 Fortran Reference Manual.
Sun F77
The Sun Microsystems FORTRAN 77 compiler, version 4.0 on the Meiko CS-2 and other platforms. See the SunSoft FORTRAN77 4.0 User's Guide and FORTRAN77 4.0 Reference Manual.
The International Business Machines Fortran compiler, version 5.1 on the RS/6000 machines. See the XL Fortran User's Guide, the XL Fortran Language Reference, and Optimization and Tuning Guide for Fortran, C, and C++, all available in InfoExplorer or from IBM.

Information is divided as follows:

The compiler command line options used to tell the compiler how to compile (optimize or not, debug symbol tables or not, libraries to load with, etc.)
Lines placed in the source code that give the compiler further advice on how to compile.
Source Forms
Details of source form for writing programs (line sizes, comment forms, constant forms, etc.).
The operators that are available for use in expressions and statements.
Edit Descriptors
The forms of edit descriptors available in format specifications.
The types of language statements available.
The intrinsic functions known to the compilers and some of the common library functions available.