Previous Next Contents Index Doc Set Home


Introduction

1


This chapter describes the operating environment and features of Sun's Fortran 77 and Fortran 90 compilers, f77 and f90.


Operating Environments

The Fortran compilers integrate with other SunTM development tools, such as the Sun WorkShopTM, C, C++, and Pascal. The compiler and its runtime library are part of the Sun Performance WorkShopTM, and can be used to develop threaded applications on multiple processor Solaris 2.x systems.

Release 4.2 of f77 is available under Solaris 2.x operating environment on SPARC, Intel x86, and PowerPC platforms. Release 1.2 of f90 is only available under Solaris 2.x on SPARC systems.


Note - Features in this guide identified as being unique to a particular system environment or hardware platform are so indicated. However, most aspects of the compilers on these platforms are the same, including functionality, behavior, and features. The multiprocessor features are available as part of the Sun WorkShop on SPARC with Solaris 2.x, and requires a WorkShop license. See the Fortran README files for details.


Standards Conformance

Sun Fortran 77 and Fortran 90 compilers:


Licensing

The Fortran compilers use network licensing, as described in the manual WorkShop Installation and Licensing Guide

If you invoke the compiler, and a license is available, the compiler starts. If no license is available, your request for a license is put on a queue, and your compile continues when a license becomes available. A single license can be used for any number of simultaneous compiles by a single user on a single machine.

To run Fortran and the various utilities, several licenses may be required, depending on the package you have purchased.

Fortran parallelization features require a Sun WorkshopTM license. See the Fortran README files for details.


Features of Sun Compilers

The Sun Fortran compilers offer the following extended features:


Other Fortran Utilities

The following utilities provide assistance in the development of software programs in Fortran:

This utility is a Fortran output filter for printing files that have Fortran carriage-control characters in column one. Use asa to transform files formatted with Fortran carriage-control conventions into files formatted according to UNIX line-printer conventions. See asa(1).

This utility splits one Fortran file of several routines into several files, each with one routine per file. Use fsplit on Fortran 77 source files. See fsplit(1)

Profile program run-time performance by procedure. (This utility is available if you do a developer install, rather than an end user install of Solaris 2.x; it is also included if you install the SUNWbtool package.)

Profile program run-time performance by statement.

The SourceBrowser is a Fortran 77 source code and call graph browser that finds occurrences of any symbol in all source files, including header files. It is included with dbx.

An interactive source code and call graph browser for Fortran 90.


Debugging Utilities

The following debugging utilities are available:

A utility to merge compiler error messages with the Fortran source file. (This utility is included if you do a developer install, rather than an end user install of Solaris 2.x; it is also included if you install the SUNWbtool package.)

An option to check across routines for consistency of arguments, commons, and so on.

The WorkShop provides a number of debugging utilities such as dbx and a data visualizer, presented within an easy-to-use graphical framework.


Sun Performance LibraryTM

The Sun Performance Library is a library of optimized subroutines and functions for computational linear algebra and Fourier transforms. It is based on the standard libraries BLAS1, BLAS2, BLAS3, LINPACK, LAPACK, FFTPACK, and VFFTPACK.

Each subprogram in the Sun Performance Library performs the same operation and has the same interface as the standard library versions, but is generally much faster and possibly more accurate.

See the performance_library README file for details.


Previous Next Contents Index Doc Set Home