Sun Studio 12: Fortran Programming Guide
只搜尋這本書
查看這本書:
以 PDF 格式下載這本書 (1124 KB)
Numbers and Symbols
!$OMP ( Index Term Link )
!$OMP PARALLEL ( Index Term Link )
%VAL(), pass by value ( Index Term Link )
A
abrupt underflow ( Index Term Link )
ACCESS=’STREAM’ ( Index Term Link )
accessible documentation ( Index Term Link )
agreement across routines, Xlist ( Index Term Link )
aliasing ( Index Term Link )
align
data types, Fortran 95 vs. C ( Index Term Link )
errors across routines, Xlist ( Index Term Link )
numeric sequence types ( Index Term Link )
analyzing performance ( Index Term Link )
ar to create static library ( Index Term Link ) ( Index Term Link )
arguments, reference versus value, ( Index Term Link )
array, differences between C and Fortran ( Index Term Link )
asa, Fortran print utility ( Index Term Link )
ASCII characters, maximum characters in data types ( Index Term Link )
assertions ( Index Term Link )
ASSUME pragma ( Index Term Link )
B
-Bdynamic, -Bstatic options ( Index Term Link )
binary I/O ( Index Term Link )
BIND ( Index Term Link )
bindings, static or dynamic (-B, -d) ( Index Term Link )
C
C directive ( Index Term Link )
C-Fortran interface, function compared to subroutine ( Index Term Link )
C option ( Index Term Link )
C–Fortran interface
array indexing ( Index Term Link )
by reference or value ( Index Term Link )
call arguments and ordering ( Index Term Link )
case sensitivity ( Index Term Link )
comparing I/O ( Index Term Link )
compatibility issues ( Index Term Link )
data type compatibility ( Index Term Link )
function names ( Index Term Link ) ( Index Term Link )
passing data by value ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
sharing I/O ( Index Term Link )
call
in parallelized loops ( Index Term Link )
inhibiting optimization ( Index Term Link )
passing arguments by reference or value ( Index Term Link )
call graphs, with Xlistc option ( Index Term Link )
carriage-control ( Index Term Link )
case sensitivity ( Index Term Link )
catch FPE ( Index Term Link )
Collector, defined ( Index Term Link )
command-line, help ( Index Term Link )
command line
passing runtime arguments ( Index Term Link )
redirection and piping ( Index Term Link )
common block, maps, Xlist ( Index Term Link )
compiler commentary ( Index Term Link )
D
-dalign option ( Index Term Link )
data
Hollerith ( Index Term Link )
inspection, dbx ( Index Term Link )
maximum characters in data types ( Index Term Link )
representation ( Index Term Link )
data dependency
apparent ( Index Term Link )
parallelization ( Index Term Link )
restructuring to eliminate ( Index Term Link )
date, VMS ( Index Term Link )
debug ( Index Term Link )
arguments, agree in number and type ( Index Term Link )
common blocks, agree in size and type ( Index Term Link )
compiler options ( Index Term Link )
dbx ( Index Term Link )
exceptions ( Index Term Link )
index check of arrays ( Index Term Link )
linker debugging aids ( Index Term Link )
parameters, agree globally ( Index Term Link )
segmentation fault ( Index Term Link )
subscript array bounds checking ( Index Term Link )
debugging
utilities ( Index Term Link )
-Xlist ( Index Term Link )
declared but unused, checking, Xlist ( Index Term Link )
denormalized number ( Index Term Link )
-depend option ( Index Term Link )
direct I/O ( Index Term Link )
to internal files ( Index Term Link )
directives
C() C interface ( Index Term Link )
OpenMP parallelization ( Index Term Link )
OPT=n optimization levels ( Index Term Link )
display to terminal, Xlist ( Index Term Link )
division by zero ( Index Term Link )
-dn, -dy options ( Index Term Link )
documentation, accessing ( Index Term Link )
documentation index ( Index Term Link )
dynamic libraries, See libraries, dynamic
E
environment variables
for parallelization ( Index Term Link )
LD_LIBRARY_PATH ( Index Term Link )
OMP_NUM_THREADS ( Index Term Link )
PARALLEL ( Index Term Link )
passed to program ( Index Term Link )
STACKSIZE ( Index Term Link )
environment variables$SUN_PROFDATA ( Index Term Link )
equivalence block maps, Xlist ( Index Term Link )
error
messages
suppress with Xlist ( Index Term Link )
standard error
accrued exceptions ( Index Term Link )
error messages, listing with XlistE ( Index Term Link )
establish a signal handler ( Index Term Link )
event management, dbx ( Index Term Link )
exceptions
accrued ( Index Term Link )
debugging ( Index Term Link )
detecting ( Index Term Link )
IEEE ( Index Term Link )
ieee_handler ( Index Term Link )
suppressing warnings with ieee_flags ( Index Term Link ) ( Index Term Link )
trapping
with -ftrap=mode option ( Index Term Link )
extensions and features ( Index Term Link )
external
C functions ( Index Term Link )
names ( Index Term Link )
F
f90_init ( Index Term Link )
-fast option ( Index Term Link )
features and extensions ( Index Term Link )
feedback, performance profiling ( Index Term Link )
file names, passing to programs ( Index Term Link )
files
internal ( Index Term Link )
opening scratch files ( Index Term Link )
passing file names to programs ( Index Term Link ) ( Index Term Link )
preconnected ( Index Term Link )
standard error ( Index Term Link )
standard input ( Index Term Link )
standard output ( Index Term Link )
fix and continue, dbx ( Index Term Link )
floating-point arithmetic ( Index Term Link )
See also IEEE arithmetic
considerations ( Index Term Link )
denormalized number ( Index Term Link )
exceptions ( Index Term Link )
IEEE ( Index Term Link )
underflow ( Index Term Link )
-fns, disable underflow ( Index Term Link )
FORM=’BINARY’ ( Index Term Link )
Forte Developer Performance Analyzer ( Index Term Link )
Fortran
features and extensions ( Index Term Link )
libraries ( Index Term Link )
utilities ( Index Term Link )
Fortran 2003
interoperability with C ( Index Term Link )
stream I/O ( Index Term Link )
FPE catch in dbx ( Index Term Link )
-fsimple option ( Index Term Link )
fsplit, Fortran utility ( Index Term Link )
-ftrap=mode option ( Index Term Link )
function
compared to subroutine ( Index Term Link )
data type of, checking, Xlist ( Index Term Link )
names, Fortran vs. C ( Index Term Link )
unused, checking, Xlist ( Index Term Link )
used as a subroutine, checking, Xlist ( Index Term Link )
G
G option ( Index Term Link )
GETARG library routine ( Index Term Link ) ( Index Term Link )
GETENV library routine ( Index Term Link ) ( Index Term Link )
global program checking, See -Xlist option
H
help, command-line ( Index Term Link )
Hollerith data ( Index Term Link )
I
IEEE (Institute of Electronic and Electrical Engineers) ( Index Term Link )
IEEE arithmetic
754 standard ( Index Term Link )
continue with wrong answer ( Index Term Link )
exception handling ( Index Term Link )
exceptions ( Index Term Link )
excessive overflow ( Index Term Link )
gradual underflow ( Index Term Link ) ( Index Term Link )
interfaces ( Index Term Link )
signal handler ( Index Term Link )
underflow handling ( Index Term Link )
ieee_flags ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
ieee_functions ( Index Term Link )
ieee_handler ( Index Term Link ) ( Index Term Link )
ieee_retrospective ( Index Term Link ) ( Index Term Link )
ieee_values ( Index Term Link )
include files, list and cross checking with XlistI ( Index Term Link )
inconsistency
arguments, checking, Xlist ( Index Term Link )
named common blocks, checking, Xlist ( Index Term Link )
indirect addressing, data dependency ( Index Term Link )
inexact, floating-point arithmetic ( Index Term Link )
initialization ( Index Term Link )
inlining calls with -O4 ( Index Term Link )
input/output ( Index Term Link )
accessing files ( Index Term Link )
comparing Fortran and C I/O ( Index Term Link )
direct I/O ( Index Term Link ) ( Index Term Link )
extensions
binary I/O ( Index Term Link )
stream I/O ( Index Term Link )
Fortran 95 considerations ( Index Term Link )
in parallelized loops ( Index Term Link )
inhibiting optimization ( Index Term Link )
inhibiting parallelization ( Index Term Link )
internal I/O ( Index Term Link )
logical unit ( Index Term Link )
opening files ( Index Term Link )
preconnected units ( Index Term Link )
random I/O ( Index Term Link )
redirection and piping ( Index Term Link )
scratch files ( Index Term Link )
interface, problems, checking for, Xlist ( Index Term Link )
internal files ( Index Term Link )
interval arithmetic ( Index Term Link )
INTERVAL declaration ( Index Term Link )
ISO_C_BINDING ( Index Term Link )
L
labels, unused, Xlist ( Index Term Link )
-Ldir option ( Index Term Link )
libF77 ( Index Term Link )
libM77 ( Index Term Link )
libraries ( Index Term Link )
dynamic
creating ( Index Term Link )
naming ( Index Term Link )
position-independent code ( Index Term Link )
specifying ( Index Term Link ) ( Index Term Link )
tradeoffs ( Index Term Link )
in general ( Index Term Link )
linking ( Index Term Link )
load map ( Index Term Link )
optimized ( Index Term Link )
provided with Sun WorkShop Fortran ( Index Term Link )
redistributable ( Index Term Link )
search order
command line options ( Index Term Link )
LD_LIBRARY_PATH ( Index Term Link )
paths ( Index Term Link )
shared
See dynamic
static
64–bit SPARC ( Index Term Link )
creating ( Index Term Link )
ordering routines ( Index Term Link )
recompile and replace module ( Index Term Link )
tradeoffs ( Index Term Link )
Sun Performance Library ( Index Term Link ) ( Index Term Link )
line-numbered listing, Xlist ( Index Term Link )
linking
binding options (-B, -d) ( Index Term Link )
consistent compile and link ( Index Term Link )
libraries ( Index Term Link )
specifying static or dynamic ( Index Term Link )
mixing C and Fortran ( Index Term Link )
search order ( Index Term Link )
-lx, -Ldir ( Index Term Link )
troubleshooting errors ( Index Term Link )
lint-like checking across routines, Xlist ( Index Term Link )
listing
cross-references with Xlist ( Index Term Link )
line numbered with diagnostics, Xlist ( Index Term Link )
XlistL ( Index Term Link )
logical unit ( Index Term Link )
loop unrolling
and portability ( Index Term Link )
with -unroll ( Index Term Link )
-lx option ( Index Term Link )
M
-m linker option for load map ( Index Term Link )
macros, with make ( Index Term Link )
make ( Index Term Link )
command ( Index Term Link )
macros ( Index Term Link )
makefile ( Index Term Link )
suffix rules ( Index Term Link )
makefile ( Index Term Link )
man pages ( Index Term Link )
maps
common blocks, Xlist ( Index Term Link )
equivalence blocks, Xlist ( Index Term Link )
measuring program performance, See performance, profiling
memory, usage ( Index Term Link )
multithreading, See parallelization
N
nonstandard_arithmetic() ( Index Term Link )
number of
reads and writes ( Index Term Link )
swapouts ( Index Term Link )
number of threads ( Index Term Link )
numeric sequence type ( Index Term Link )
O
OMP_NUM_THREADS environment variable ( Index Term Link )
OpenMP parallelization ( Index Term Link )
check directives with -XlistMP ( Index Term Link )
See also the OpenMP API User’s Guide ( Index Term Link )
optimization
See also performance
with -fast ( Index Term Link )
options
debugging, useful ( Index Term Link )
for optimization ( Index Term Link )
order of
linker libraries search ( Index Term Link )
linker search ( Index Term Link )
-lx, -Ldir options ( Index Term Link )
output
to terminal, Xlist ( Index Term Link )
Xlist report file ( Index Term Link )
overflow
excessive ( Index Term Link )
floating-point arithmetic ( Index Term Link )
locating, example ( Index Term Link )
with reduction operations ( Index Term Link )
P
PARALLEL environment variable ( Index Term Link )
parallelization ( Index Term Link )
automatic ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
CALL, loops with ( Index Term Link )
chunk distribution ( Index Term Link )
data dependency ( Index Term Link )
debugging ( Index Term Link )
default thread stack size ( Index Term Link )
definitions ( Index Term Link )
directives ( Index Term Link ) ( Index Term Link )
environment variables ( Index Term Link )
explicit
criteria ( Index Term Link )
OpenMP ( Index Term Link )
scoping rules ( Index Term Link )
inhibitors
to automatic parallelization ( Index Term Link )
to explicit parallelization ( Index Term Link )
nested loops ( Index Term Link )
private and shared variables ( Index Term Link )
reduction operations ( Index Term Link )
specifying number of threads ( Index Term Link )
specifying stack sizes ( Index Term Link )
-stackvar option ( Index Term Link )
steps to ( Index Term Link )
what to expect ( Index Term Link )
performance
optimization ( Index Term Link )
choosing options ( Index Term Link )
further reading ( Index Term Link )
hand restructurings and portability ( Index Term Link )
inhibitors ( Index Term Link )
inlining calls ( Index Term Link )
interprocedural ( Index Term Link )
libraries ( Index Term Link )
loop unrolling ( Index Term Link )
-On options ( Index Term Link )
OPT=n directive ( Index Term Link )
specifying target hardware ( Index Term Link )
with runtime profile ( Index Term Link )
profiling
tcov ( Index Term Link )
time ( Index Term Link )
Sun Performance Library ( Index Term Link )
performance analyzer ( Index Term Link )
compiler commentary ( Index Term Link )
performance library ( Index Term Link )
platforms, supported ( Index Term Link )
porting ( Index Term Link )
accessing files ( Index Term Link )
aliasing ( Index Term Link )
carriage-control ( Index Term Link )
data representation issues ( Index Term Link )
Hollerith data ( Index Term Link )
initializing with Hollerith ( Index Term Link )
nonstandard coding ( Index Term Link )
obscure optimizations ( Index Term Link )
precision considerations ( Index Term Link )
strip-mining ( Index Term Link )
time functions ( Index Term Link )
troubleshooting guidelines ( Index Term Link )
uninitialized variables ( Index Term Link )
unrolled loops ( Index Term Link )
position-independent code, xcode ( Index Term Link )
preconnected units ( Index Term Link )
preserve case ( Index Term Link )
preserving precision ( Index Term Link )
print, asa ( Index Term Link )
process control, dbx ( Index Term Link )
program analysis ( Index Term Link )
program development tools ( Index Term Link )
make ( Index Term Link )
SCCS ( Index Term Link )
program performance analysis tools ( Index Term Link )
psrinfo SunOS command ( Index Term Link )
pure scalar variable, defined ( Index Term Link )
R
random I/O ( Index Term Link )
README file ( Index Term Link )
reads, number of ( Index Term Link )
recurrence, data dependency ( Index Term Link )
redistributable libraries ( Index Term Link )
reduction operations
data dependency ( Index Term Link )
numerical accuracy ( Index Term Link )
recognized by the compiler ( Index Term Link )
referenced but not declared, checking, Xlist ( Index Term Link )
retrospective summary of exceptions ( Index Term Link )
roundoff, with reduction operations ( Index Term Link )
runtime, arguments to program ( Index Term Link )
S
sampling collector ( Index Term Link )
scalar, defined ( Index Term Link )
SCCS
checking in files ( Index Term Link )
checking out files ( Index Term Link )
creating files ( Index Term Link )
creating SCCS directory ( Index Term Link )
inserting keywords ( Index Term Link )
putting files under SCCS ( Index Term Link )
segmentation fault, due to out-of-bounds subscripts ( Index Term Link )
shared library, See libraries, dynamic
sharing I/O ( Index Term Link )
shell prompts ( Index Term Link )
shippable libraries ( Index Term Link )
SIGFPE signal
definition ( Index Term Link ) ( Index Term Link )
when generated ( Index Term Link )
signal, with explicit parallelization ( Index Term Link )
source code control, See SCCS
SPARC 64-bit environments ( Index Term Link )
stack size and parallelization ( Index Term Link )
STACKSIZE environment variable ( Index Term Link )
-stackvar option ( Index Term Link )
standard_arithmetic() ( Index Term Link )
standard files
error ( Index Term Link )
input ( Index Term Link )
output ( Index Term Link )
redirection and piping ( Index Term Link )
standards, conformance ( Index Term Link )
statement checking, Xlist ( Index Term Link )
static libraries, See libraries, static
stdio, C-Fortran interface ( Index Term Link )
stream I/O ( Index Term Link )
strip-mining, degrades portability ( Index Term Link )
subroutine
compared to function ( Index Term Link )
names ( Index Term Link )
unused, checking, Xlist ( Index Term Link )
used as a function, checking, Xlist ( Index Term Link )
summing and reduction, automatic parallelization ( Index Term Link )
Sun Performance Library ( Index Term Link )
supported platforms ( Index Term Link )
swapouts, number of ( Index Term Link )
system time ( Index Term Link )
T
target, specifying hardware ( Index Term Link )
tcov ( Index Term Link )
and inlining ( Index Term Link )
new style, -xprofile=tcov option ( Index Term Link )
thread stack size ( Index Term Link )
time command ( Index Term Link )
multiprocessor interpretation ( Index Term Link )
time functions ( Index Term Link )
summarized ( Index Term Link )
VMS routines ( Index Term Link )
timing program execution ( Index Term Link )
trapping, exceptions with -ftrap=mode ( Index Term Link )
troubleshooting
program fails ( Index Term Link )
results not close enough ( Index Term Link )
type checking across routines, Xlist ( Index Term Link )
typographic conventions ( Index Term Link )
U
U option, upper/lower case ( Index Term Link )
UltraSPARC-III ( Index Term Link )
undeclared variables, -u option ( Index Term Link )
underflow
abrupt ( Index Term Link )
floating-point arithmetic ( Index Term Link )
gradual (IEEE) ( Index Term Link ) ( Index Term Link )
simple ( Index Term Link )
with reduction operations ( Index Term Link )
underscore, in external names ( Index Term Link )
uninitialized variables ( Index Term Link )
unit, preconnected units ( Index Term Link )
-unroll option ( Index Term Link )
unused functions, subroutines, variables, labels, Xlist ( Index Term Link )
uppercase, external names ( Index Term Link )
user time ( Index Term Link )
utilities ( Index Term Link )
V
V option ( Index Term Link )
variables
aliased ( Index Term Link )
private and shared ( Index Term Link )
undeclared, checking for with -u ( Index Term Link )
uninitialized ( Index Term Link )
unused, checking, Xlist ( Index Term Link )
used but unset, checking, Xlist ( Index Term Link )
version checking ( Index Term Link )
VMS Fortran, time functions ( Index Term Link )
W
watchpoints, dbx ( Index Term Link )
writes, number of ( Index Term Link )
X
-xalias option ( Index Term Link )
xcode option ( Index Term Link )
-xipo option ( Index Term Link )
Xlist option, global program checking ( Index Term Link )
call graph, Xlistc ( Index Term Link )
cross reference, XlistX ( Index Term Link )
defaults ( Index Term Link )
examples ( Index Term Link )
suboptions ( Index Term Link )
-xmaxopt option ( Index Term Link )
-xprofile option ( Index Term Link )
-xtarget option ( Index Term Link )
Y
Y2K (year 2000) considerations ( Index Term Link )
Z
ztext option ( Index Term Link )