JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2: Fortran User's Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction

2.  Using Solaris Studio Fortran

3.  Fortran Compiler Options

4.  Solaris Studio Fortran Features and Differences

5.  FORTRAN 77 Compatibility: Migrating to Solaris Studio Fortran

A.  Runtime Error Messages

B.  Features Release History

C.  Fortran Directives Summary

Index

Numbers and Symbols

A

B

C

D

E

F

G

H

I

L

M

N

O

P

R

S

T

U

V

W

C

C(..) directive, 2.3.1.1 The C Directive
cache
padding for, 3.4.76 –pad[=p]
specify hardware cache, 3.4.114 –xcache=c
CALL, inlining subprogram calls with -inline, 3.4.44 –inline=[%auto][[,][no%]f1,…[no%]fn]
case, preserve upper and lower case, 3.4.96 –U
CDIR$ in directives, 4.8.1.1 Fixed-Form Source
code size, 3.4.174 –xspace
command-line, help, 1.8 Command-Line Help
command-line options
Reference to all option flags, 3.4 Options Reference
grouped by function, 3.3 Options Summary
summary, 3.3 Options Summary
-a (obsolete), 3.3.4 Obsolete Option Flags
-aligncommon, 3.4.1 –aligncommon[={1|2|4|8|16}]
-ansi, 3.4.2 –ansi
-arg=local, 3.4.3 –arg=local
-autopar, parallelize automatically, 3.4.4 –autopar
-Bdynamic, 3.4.5 –B{static|dynamic}
-Bstatic, 3.4.5 –B{static|dynamic}
-C, check subscripts, 3.4.6 –C
-c, compile only, 3.4.7 –c
-cg89, —cg92 (obsolete), 3.3.4 Obsolete Option Flags
commonly used, 3.3.1 Commonly Used Options
-copyargs, allow stores to literal arguments, 3.4.8 –copyargs
-Dname, define symbol, 3.4.9 –Dname[=def]
-dalign
3.4.10 –dalign
3.4.24 –fast
-dbl_align_all, force data alignment, 3.4.11 –dbl_align_all[={yes|no}]
-depend, 3.4.24 –fast
data dependency analysis, 3.4.12 –depend[={yes|no}]
-dn, 3.4.15 –d{y|n}
-dryrun, 3.4.14 –dryrun
-dy, 3.4.15 –d{y|n}
-e, extended source lines, 3.4.16 –e
-erroff, suppress warnings, 3.4.17 –erroff[={%all|%none|taglist}]
-errtags, display message tag with warnings, 3.4.18 –errtags[={yes|no}]
-errwarn, error warnings, 3.4.19 –errwarn[={%all|%none|taglist}]
-ext_names, externals without underscore, 3.4.20 –ext_names=e
-F, 3.4.21 –F
-f, align on 8-byte boundaries, 3.4.22 –f
-f77, 3.4.23 –f77[=list]
-fast, 3.4.24 –fast
-fixed, 3.4.25 –fixed
-flags, 3.4.26 –flags
-fma, 3.4.27 –fma={none|fused}
-fnonstd, 3.4.28 –fnonstd
-fns
3.4.24 –fast
3.4.29 –fns[={yes|no}]
-fpp, Fortran preprocessor, 3.4.31 –fpp
-fprecision, x86 precision mode, 3.4.32 –fprecision={single|double|extended}
-free, 3.4.33 –free
-fround=r, 3.4.34 –fround={nearest|tozero|negative|positive}
-fsimple, 3.4.24 –fast
simple floating-point model, 3.4.35 –fsimple[={1|2|0}]
-fstore, 3.4.36 –fstore
-ftrap, 3.4.37 –ftrap=t
-G, 3.4.38 –G
-g, 3.4.39 –g
-hname, 3.4.40 –hname
-help, 3.4.41 –help
-Idir, 3.4.42 –Ipath
-i8use —xtypemap=integer:64 instead, 3.4.43 -i8
-inline, 3.4.44 –inline=[%auto][[,][no%]f1,…[no%]fn]
-iorounding, 3.4.45 –iorounding[={compatible|processor-defined}]
-keeptmp, 3.4.46 –keeptmp
-KPIC, 3.4.48 –KPIC
-Kpic, 3.4.47 –Kpic
-Ldir, 3.4.49 –Lpath
-llibrary, 3.4.50 –lx
legacy, 3.3.3 Backward Compatibility and Legacy Options
-libmil
3.4.24 –fast
3.4.51 –libmil
-loopinfo, show parallelization, 3.4.52 –loopinfo
-Mdir, f95 modules, 4.9 Module Files
-m32 | —m64, 3.4.54 –m32 | –m64
macros, 3.3.2 Macro Flags
-moddir, 3.4.55 –moddir=path
-mt, multithread safe libraries, 3.4.56 -mt[={yes|no}]
-native, 3.4.57 –native
-native (obsolete), 3.3.4 Obsolete Option Flags
-noautopar, 3.4.58 –noautopar
-nodepend, 3.4.59 –nodepend
-nofstore, 3.4.60 -nofstore
-nolib, 3.4.61 –nolib
-nolibmil, 3.4.62 –nolibmil
-noqueue (obsolete), 3.3.4 Obsolete Option Flags
-noreduction, 3.4.63 –noreduction
-norunpath, 3.4.64 –norunpath
-On
3.4.24 –fast
3.4.65 –O[n]
3.4.65 –O[n]
3.4.66 –O
-o, output file, 3.4.72 –o name
obsolete, 3.3.4 Obsolete Option Flags
obsolete f77 flags not supported, 5.2 Incompatibility Issues
-onetrip, 3.4.73 –onetrip
-openmp, 3.4.74 –openmp
order of processing, 3.2 Options Syntax
-p, profile (obsolete), 3.4.75 –p
-pad=p
3.4.24 –fast
3.4.76 –pad[=p]
pass option to compilation phase, 3.4.80 –Qoption pr ls
-pg, profile by procedure, 3.4.77 –pg
-PIC, 3.4.79 –PIC
-pic, 3.4.78 –pic
-PIC (obsolete), 3.3.4 Obsolete Option Flags
-pic (obsolete), 3.3.4 Obsolete Option Flags
-Qoption, 3.4.80 –Qoption pr ls
-Rlist, 3.4.82 –R ls
-r8const, 3.4.83 –r8const
-recl=a[,b], 3.4.84 –recl=a[,b]
-S, 3.4.86 –S
-s, 3.4.87 –s
-sb, —sbfast (obsolete), 3.3.4 Obsolete Option Flags
-sb, obsolete, 3.4.88 –sb
-sbfast, 3.4.89 –sbfast
-silent, 3.4.90 –silent
-stackvar
3.4.91 –stackvar
3.4.167 –xrecursive
-stop_status, 3.4.92 –stop_status[={yes|no}]
syntax, 3.2 Options Syntax
-temp, 3.4.93 –temp=dir
-time, 3.4.94 –time
-traceback, 3.4.95 –traceback[={%none|common|signals_list}]
-U, do not convert to lowercase, 3.4.96 –U
-Uname, undefine preprocessor macro, 3.4.97 –Uname
-u, 3.4.98 –u
unrecognized options, 2.2.7 Unrecognized Command-Line Arguments
-unroll, unroll loops, 3.4.99 –unroll=n
-use, 4.9.2 The -use=list Option Flag
-V, 3.4.101 –V
-v, 3.4.102 –v
-vax, 3.4.103 –vax=keywords
-vpara, 3.4.104 –vpara
-w, 3.4.105 –w[n]
-xaddr32, 3.4.107 –xaddr32[={yes|no}]
-xalias=list, 3.4.108 –xalias[=keywords]
-xannotate[={yes|no}], 3.4.109 –xannotate[={yes|no}]
-xarch=isa, 3.4.110 –xarch=isa
-xassume_control
2.3.1.8 The ASSUME Directives
3.4.111 –xassume_control[=keywords]
-xautopar, 3.4.112 –xautopar
-xbinopt, 3.4.113 –xbinopt={prepare | off}
-xcache=c, 3.4.114 –xcache=c
-xchip=c, 3.4.116 –xchip=c
-xcode=c, 3.4.117 –xcode=keyword
-xcommoncheck, 3.4.118 –xcommonchk[={yes|no}]
-xcrossfile (Obsolete), 3.4.119 –xcrossfile[={1|0}]
-xdebugformat, 3.4.120 –xdebugformat={dwarf|stabs}
-xdepend, 3.4.121 –xdepend
-xF, 3.4.122 –xF
-xhasc, Hollerith as character, 3.4.124 –xhasc[={yes|no}]
-xhelp=h, 3.4.125 –xhelp={readme|flags}
-xhwcprof, 3.4.126 –xhwcprof[={enable | disable}]
-xia, interval arithmetic, 3.4.127 –xia[={widestneed|strict}]
-xinline, 3.4.128 –xinline=list
-xinstrument, 3.4.129 –xinstrument=[%no]datarace
-xinterval=v for interval arithmetic, 3.4.130 –xinterval[={widestneed|strict|no}]
-xipo, interprocedural optimizations, 3.4.131 –xipo[={0|1|2}]
-xipo_archive, 3.4.132 –xipo_archive[={none|readonly|writeback}]
-xivdep, 3.4.133 –xivdep[=p]
-xjobs, multiprocessor compilation, 3.4.134 –xjobs=n
-xkeepframe, prohibit stack-related optimizations, 3.4.135 –xkeepframe[=[%all,%none,name,no%name]]
-xknown_lib, optimize library calls, 3.4.136 –xknown_lib=library_list
-xl, (obsolete), 3.4.137 –xl
-xlang=f77, link with Fortran 77 libraries, 3.4.138 –xlang=f77
-xld, (obsolete), 3.4.139 –xld
-xlibmil, 3.4.140 –xlibmil
-xlibmopt
3.4.24 –fast
3.4.141 –xlibmopt
-xlic_lib=sunperf, 3.4.142 –xlic_lib=sunperf
-xlicinfo (obsolete), 3.4.143 –xlicinfo
-xlinkopt, 3.4.144 –xlinkopt[={1|2|0}]
-xlinkopt, link-time optimizations, 3.4.144 –xlinkopt[={1|2|0}]
-Xlist, global program checking, 3.4.106 –Xlist[x]
-xloopinfo, 3.4.145 –xloopinfo
-xmaxopt, 3.4.146 –xmaxopt[=n]
-xmemalign,
-xnolib
3.4.149 –xnolib
3.4.150 –xnolibmil
-xnolibmopt, 3.4.151 –xnolibmopt
-xOn, 3.4.152 –xOn
-xopenmp, 3.4.153 –xopenmp[={parallel|noopt|none}]
-xpagesize, 3.4.155 –xpagesize=size
-xpagesize_heap, 3.4.156 –xpagesize_heap=size
-xpagesize_stack, 3.4.157 –xpagesize_stack=size
-xpec, 3.4.158 –xpec[={yes|no}]
-xpg, 3.4.159 –xpg
-xpp=p, 3.4.160 –xpp={fpp|cpp}
-xprefetch
2.3.1.7 The PREFETCH Directives
2.3.1.7 The PREFETCH Directives
-xprefetch_auto_type, 3.4.162 –xprefetch_auto_type=indirect_array_access
-xprofile_ircache, 3.4.165 –xprofile_ircache[=path]
-xprofile=p, 3.4.164 –xprofile=p
-xprofile_pathmap=param, 3.4.166 –xprofile_pathmap=collect_prefix:use_prefix
-xrecursive, 3.4.167 –xrecursive
-xreduction, 3.4.168 –xreduction
-xregs=r, 3.4.169 –xregs=r
-xs, 3.4.170 –xs
-xsafe=mem, 3.4.171 –xsafe=mem
-xsb, 3.4.172 –xsb
-xsbfast, 3.4.173 –xsbfast
-xspace, 3.4.174 –xspace
-xtarget=native, 3.4.24 –fast
-xtarget=t, 3.4.175 –xtarget=t
-xtime, 3.4.176 –xtime
-xtypemap, 3.4.177 –xtypemap=spec
-xunroll, 3.4.178 –xunroll=n
-xvector
3.4.24 –fast
3.4.179 –xvector[= [[no%]lib, [no%]simd, %none] ]
-ztext, 3.4.180 –ztext
comments, as directives, 4.8 Directives
COMMON
alignment, 3.4.1 –aligncommon[={1|2|4|8|16}]
global consistency, -Xlist, 3.4.106 –Xlist[x]
padding, 3.4.76 –pad[=p]
TASKCOMMON consistency checking, 3.4.118 –xcommonchk[={yes|no}]
compatibility
Fortran 77
3.4.23 –f77[=list]
FORTRAN 77 Compatibility: Migrating to Solaris Studio Fortran
forward, 4.11 Forward Compatibility
with C, 4.12 Mixing Languages
compile and link
2.2.1 Compile-Link Sequence
2.2.5 Separate Compiling and Linking
and -B, 3.4.5 –B{static|dynamic}
build a dynamic shared library, 3.4.38 –G
compile only, 3.4.7 –c
dynamic (shared) libraries, 3.4.15 –d{y|n}
compiler
command line, 2.2 Invoking the Compiler
driver, show commands with -dryrun
3.4.14 –dryrun
3.4.14 –dryrun
show version, 3.4.101 –V
timing, 3.4.94 –time
verbose messages, 3.4.102 –v
constant arguments, -copyargs, 3.4.8 –copyargs
continuation lines
3.4.16 –e
4.1.1 Continuation Line Limits
conventions, file name suffixes, 2.2.2 Command-Line File Name Conventions
coverage analysis (tcov), 3.4.164 –xprofile=p
cpp, C preprocessor
2.2.4 Source File Preprocessors
3.4.9 –Dname[=def]
3.4.21 –F
Cray
pointer, 4.3 Cray Pointers
pointer and Fortran pointer, 4.3.3 Declaring Cray Pointers and Fortran 95 Pointers
cross reference table, Xlist, 3.4.106 –Xlist[x]