Fortran Programming Guide
This guide presents the essential information programmers need to develop efficient applications using the Sun WorkShop™ Fortran compilers, f77 (Fortran 77) and f95 (Fortran 95). It presents issues relating to input/output, program development, use and creation of software libraries, program analysis and debugging, numerical accuracy, porting, performance, optimization, parallelization, and the C/Fortran interface.
This guide is intended for scientists, engineers, and programmers who have a working knowledge of the Fortran language and wish to learn how to use the Sun Fortran compilers effectively. Familiarity with the Solaris operating environment or UNIX® in general is also assumed.
The companion Fortran User’s Guide describes the compile-time environment and command-line options for the Sun WorkShop™ 6 Fortran compilers: f77 (FORTRAN 77) and f95 (Fortran 95).
Other Fortran manuals in this collection include the Fortran Library Reference, and the FORTRAN 77 Language Reference. See “Accessing Related Documentation” on page 6.
How This Book Is Organized
Chapter 1 briefly describes the features of the compilers.
Chapter 2 discusses how to use I/O efficiently.
Chapter 3 demonstrates how program management tools like SCCS, make, and Teamware can be helpful.
Chapter 4 explains use and creation of software libraries.
Chapter 5 describes use of dbx and other analysis tools.
Chapter 6 introduces important issues regarding numerical computation accuracy.
Chapter 7 considers porting programs to Sun compilers.
Chapter 8 describes techniques for performance measurement.
Chapter 9 indicates ways to improve execution performance of Fortran programs.
Chapter 10 explains the multiprocessing features of the compilers.
Chapter 11 describes how C and Fortran routines can call each other and pass data.
Download file here