Download Fortran User`s Guide - Oracle Documentation

Transcript
See also the Libraries chapter in the Fortran Programming Guide for information on
library search paths and search order.
–libmil
Inline selected libm library routines for optimization.
● SPARC: f77/f95
There are inline templates for some of the libm library routines. This option selects
those inline templates that produce the fastest executable for the floating–point
options and platform currently being used.
For more information, see the man pages libm_single(3F) and libm_double(3F)
–loopinfo
Show parallelization results.
● SPARC: f77/f95
Show which loops were and were not parallelized with the –parallel, –autopar,
or –explicitpar options. (Option –loopinfo must appear with one of these
parallelization options.)
The parallelization features of the Fortran compilers require a Sun WorkShop HPC license.
–loopinfo displays a list of messages on standard error:
demo% f77 –o shalow –fast –parallel –loopinfo shalow.f
shalow.f:
MAIN shalow:
inital:
calc1:
...etc
"shalow.f", line 78: not parallelized, call may be unsafe
"shalow.f", line 172: PARALLELIZED
"shalow.f", line 173: not parallelized, not profitable
"shalow.f", line 181: PARALLELIZED, fused
"shalow.f", line 182: not parallelized, not profitable
"shalow.f", line 226: PARALLELIZED, and serial version generated
"shalow.f", line 227: not parallelized, not profitable
...etc
Use the error(1) utility with f77 compilations to merge this list with the source file to
produce an annotated source listing with each loop tagged as parallelized or not.
70
Fortran User’s Guide • May 2000