Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: Fortran User's Guide Oracle Solaris Studio 12.3 Information Library |
2. Using Solaris Studio Fortran
3.4.1 -aligncommon[={1|2|4|8|16}]
3.4.11 -dbl_align_all[={yes|no}]
3.4.16 -erroff[={%all|%none|taglist}]
3.4.18 -errwarn[={%all|%none|taglist}]
3.4.31 -fprecision={single|double|extended}
3.4.33 -fround={nearest|tozero|negative|positive}
3.4.43 -inline=[%auto][[,][no%]f1,...[no%]fn]
3.4.44 -iorounding[={compatible|processor-defined}]
3.4.84 -stop_status[={yes|no}]
3.4.87 -traceback[={%none|common|signals_list}]
3.4.104.1 Special Cautions for x86/x64 Platforms:
3.4.105 -xassume_control[=keywords]
3.4.107 -xbinopt={prepare | off}
3.4.111.1 Position-Independent Code:
3.4.112 -xcommonchk[={yes|no}]
3.4.113 -xdebugformat={dwarf|stabs}
3.4.116 -xfilebyteorder=options
3.4.119 -xhwcprof[={enable | disable}]
3.4.120 -xia[={widestneed|strict}]
3.4.122 -xinstrument=[%no]datarace
3.4.123 -xinterval[={widestneed|strict|no}]
3.4.125 -xipo_archive[={none|readonly|writeback}]
3.4.128 -xkeepframe[=[%all,%none,name,no%name]]
3.4.129 -xknown_lib=library_list
3.4.140 -xmodel=[small | kernel | medium]
3.4.145 -xopenmp[={parallel|noopt|none}]
3.4.154 -xprefetch_auto_type=indirect_array_access
3.4.155 -xprefetch_level={1|2|3}
3.4.157 -xprofile_ircache[=path]
3.4.158 -xprofile_pathmap=collect_prefix:use_prefix
3.4.165.1 Generic and Native Platforms
4. Solaris Studio Fortran Features and Extensions
5. FORTRAN 77 Compatibility: Migrating to Solaris Studio Fortran
In this section, the compiler options are grouped by function to provide an easy reference. The details will be found on the pages in the following sections, as indicated.
Note that not all options are available on both SPARC and x64/x86 platforms. Check the detailed reference section for availability.
The following table summarizes the f95 compiler options by functionality. The table does not include obsolete and legacy option flags. Some flags serve more than one purpose and appear more than once.
Table 3-3 Compiler Options Grouped by Functionality
|
The compiler has many features that are selectable by optional command–line parameters. The short list below of commonly used options is a good place to start.
Table 3-4 Commonly Used Options
|
Some option flags are macros that expand into a specific set of other flags. These are provided as a convenient way to specify a number of options that are usually expressed together to select a certain feature.
Table 3-5 Macro Option Flags
|
Settings that follow the macro flag on the command line override or add to the the expansion of the macro.
The following options are provided for backward compatibility with earlier compiler releases, and certain Fortran legacy capabilities.
Table 3-6 Backward Compatibility Options
|
Use of these option flags is not recommended for producing portable Fortran programs.
The following options are considered obsolete and should not be used. They might be removed from later releases of the compiler.
Table 3-7 Obsolete f95 Options
|