Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (349 KB)
Chapter 1 IntroductionThe Sun Fortran compilers, f77 and f90, described in this book (and the companion book Sun Fortran Programming Guide) are available under the Solaris operating environment on the various hardware platforms that Solaris supports. The compilers themselves conform to published Fortran language standards, and provide many extended features, including multiprocessor parallelization, sophisticated optimized code compilation, and mixed C/Fortran language support. Standards Conformance
The responsible standards bodies may revise these standards from time to time. The versions of the applicable standards to which these compilers conform may be revised or replaced, resulting in features in future releases of the Sun Fortran compilers that create incompatibilities with earlier releases. Features of the Fortran CompilersSun Fortran compilers provide the following features or extensions:
Other Fortran UtilitiesThe following utilities provide assistance in the development of software programs in Fortran:
Debugging UtilitiesThe following debugging utilities are available:
Sun Performance Library(TM)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. Man PagesOn-line manual (man) pages provide immediate documentation about a command, function, subroutine, or collection of such things. Sun WorkShop man pages are located in /opt/SUNWspro/man/ after a standard install of the products. Add this path to your MANPATH environment variable to access these Sun WorkShop man pages. You can display a man page by running the command: demo% man topic Throughout the Fortran documentation, man page references appear with the topic name and man section number: f77(1) is accessed with man f77. Other sections, denoted by ieee_flags(3M) for example, are accessed using the -s option on the man command: demo% man -s 3M ieee_flags The following lists man pages of interest to Fortran user:
READMEsThe READMEs directory contains files that describe new features, software incompatibilities, bugs, and information that was discovered after the manuals were printed. The location of this directory depends on where your software was installed. The READMEs in a standard install would appear in: /opt/SUNWspro/READMEs/ Table 1-1 READMEs of Interest
The READMEs for all compilers are easily accessed by the -xhelp=readme command-line option. For example, the command: f90 -xhelp=readme will display the fortran_90 README file directly. Command-Line HelpYou can view very brief descriptions of the f77 and f90 command line options by invoking the compiler's -help option as shown below: %f77 -help -or- f90 -help _______________________________________________________________ Items within [ ] are optional. Items within < > are variable parameters.Bar | indicates choice of literal values. For example: -someoption[=<yes|no>] implies -someoption is -someoption=yes _______________________________________________________________ -a: Collect data for tcov basic block profiling (old format) -ansi: Report non-ANSI extensions. -arg=local: Preserve actual arguments over ENTRY statements -autopar: Enable automatic loop parallelization (requires WorkShop license) -Bdynamic: Allow dynamic linking -Bstatic: Require static linking -c: Compile only - produce .o files, suppress linking -C: Enable runtime subscript range checking -cg89: Generate code for generic SPARC V7 architecture -cg92: Generate code for SPARC V8 architecture -copyargs: Allow assignment to constant arguments ...etc. |
||||||||||||||||||||||||||||||||||||||||