The best run-time performance from SUN4 compilers for
compute-bound applications is usually obtained from some combination of the
following compile-time options:
Fortran 1.3.1:
-O4 -cg89 -libmil -dalign -fnonstd -Bstatic
C 1.0:
-O4 -cg89 -libmil -dalign -fnonstd -Bstatic -fsingle
These are discussed in the Numerical Computation Guide which accompanies C 1.0
and Fortran 1.3.1. Also the default swap and /tmp
partitions supplied by
SunOS are often insufficient to fully optimize some large programs. Use
swapon(8) in the first instance and -temp=... compile option,
described in cc(1) and f77(1), in the second instance.