§ 20: Running Fortran Programs
Most scientific uses of computers require programming. The two most commonly
used languages are Fortran and C, with Java playing an increased role for Web
applications. This section discusses how to compile and run Fortran. The
previous section
discussed C. Java is recommended for multimedia aplications rather than
serious scientific number crunching so it is discussed in the
multimedia section.
First we will describe the standard procedure for compiling and running a
short program. Next we have provided
information from "A Scientist's and Engineer's Guide to Workstations
and Supercomputers" to help you compile and run more complex projects involving
more than one program. The first selection discusses compiling and running
subroutines (known as linking), the second is a description of several useful
compiler options, the third is a description of the make utility.
The make utility keeps track of which subroutines and a large
system need to be compiled and compiles them all with a single command. If
you start doing really complex projects, you may want to consider some of the
utilities described in
Unix Power Tools and Tips
Finally, to aviod irriating your fellow users we have provided some suggestions
for programming courtesy.
- Compiling Fortran
- Linking C
- Compiler Options
- Makefiles
- Programming Courtesy