Windows* OS Quick Reference Guide and Cross Reference

The table in this section summarizes Intel® Fortran compiler options used on Windows* OS . Each summary also shows the equivalent compiler options on Linux* OS and Mac OS* X.

If you want to see the summarized Linux* OS and Mac OS* X options, see this table.

Some compiler options are only available on systems using certain architectures, as indicated by these labels:

Label

Meaning

i32

The option is available on systems using IA-32 architecture.

i64em

The option is available on systems using Intel® 64 architecture.

i64

The option is available on systems using IA-64 architecture.

If "only" appears in the label, the option is only available on the identified system or architecture.

If no label appears, the option is available on all supported systems and architectures.

For more details on the options, refer to the Alphabetical Compiler Options section.

The Intel® Fortran Compiler includes the Intel® Compiler Option Mapping tool. This tool lets you find equivalent options by specifying compiler option -map-opts (Linux and Mac OS X) or /Qmap-opts (Windows).

For information on conventions used in this table, see Conventions.

Quick Reference of Windows* OS Options

The following table summarizes all supported Windows* OS options. It also shows equivalent Linux* OS and Mac OS* X options, if any.

Option

Description

Default

Equivalent Option on Linux* OS and Mac OS* X

/1

Executes at least one iteration of DO loops.

OFF

-1

/4I{2|4|8}

Specifies the default KIND for integer and logical variables; same as the /integer-size option.

/4I4

-i{2|4|8}

/4L{72|80|132}

Treats the statement field of each fixed-form source line as ending in column 72, 80, or 132; same as the /extend-source option.

/4L72

-72, -80, -132

/4Na, /4Ya

Determines where local variables are stored. /4Na is the same as /save. /4Ya is the same as /automatic.

/4Ya

None

/4Naltparam, /4Yaltparam

Determines whether alternate syntax is allowed for PARAMETER statements; same as the /altparam option).

/4Yaltparam

None

/4Nb, /4Yb

Determines whether checking is performed for run-time failures (same as the /check option).

/4Nb

None

/4Nd, /4Yd

Determines whether error messages are issued for undeclared symbols. /4Nd is the same as /warn:nodeclarations. /4Yd is the same as /warn:declarations.

/4Nd

-warn nodeclarations, -warn declarations

/4Nf, /4Yf

Specifies the format for source files. /4Nf is the same as /fixed. /4Yf is the same as /free.

/4Nf

-fixed, -free

/4Nportlib, /4Yportlib

Determines whether the compiler links to the library of portability routines.

/4Yportlib

None

/4Ns, /4Ys

Determines whether the compiler changes warning messages about Fortran standards violations to error messages. /4Ns is the same as /stand:none. /4Ys is the same as /stand:f90.

/4Ns

-stand none, -stand f90

/4R8, /4R16

Specifies the default KIND for real and complex variables. /4R8 is the same as /real-size:64. /4R16 is the same as /real-size:128.

OFF

-real-size 64, -real-size 128

/align[:keyword]

Tells the compiler how to align certain data items.

keywords:
nocommons
nodcommons
records
nosequence

-align [keyword]

/allow:keyword

Determines how the fpp preprocessor treats Fortran end-of-line comments in preprocessor directive lines.

keyword: fpp_comments

/allow keyword

/[no]altparam

Allows alternate syntax (without parentheses) for PARAMETER statements.

/altparam

-[no]altparam

/arch:processor
(i32, i64em)

Tells the compiler to generate optimized code specialized for the processor that executes your program; same as option /architecture.

varies; see option description

-arch processor or -m processor
(i32, i64em)

/asmattr:keyword

Specifies the contents of an assembly listing file.

/noasmattr

None

/asmfile[:file | dir]

Specifies that an assembly listing file should be generated.

/noasmfile

None

/assume:keyword

Tells the compiler to make certain assumptions.

keywords:
nobscc
nobuffered_io
nobyterecl
nocc_omp
nodummy_aliases
nominus0
noold_boz
old_unit_star
old_xor
protect_constants
noprotect_parens
norealloc_lhs
source_include
nostd_mod_proc_name
nounderscore
nowriteable-strings

-assume keyword

/[no]automatic

Causes all variables to be allocated to the run-time stack; same as the /auto option.

/Qauto-scalar

-[no]automatic

/bigobj

Increases the number of sections that an object file can contain.

OFF

None

/bintext:string

Places a text string into the object file (.obj) being generated by the compiler.

OFF

None

/c

Prevents linking.

OFF

-c

/C

Performs checking for all run-time failures; same as the /check:all option.

OFF

-C

/CB

Performs run-time checking on array subscript and character substring expressions; same as the /check:bounds option.

OFF

-CB

/ccdefault:keyword

Specifies the type of carriage control used when a file is displayed at a terminal screen.

/ccdefault:default

-ccdefault keyword

/check[:keyword]

Checks for certain conditions at run time.

/nocheck

-check [keyword]

/cm

Disables all messages about questionable programming practices; same as specifying option /warn:nousage.

OFF

-cm

/compile-only

Causes the compiler to compile to an object file only and not link; same as the /c option.

OFF

None

/Qcomplex-limited-range[-]

Enables the use of basic algebraic expansions of some arithmetic operations involving data of type COMPLEX.

/Qcomplex-limited-range-

-[no-]complex-limited-range

/convert:keyword

Specifies the format of unformatted files containing numeric data.

/convert:native

-convert keyword

/CU

Enables run-time checking for uninitialized variables. This option is the same as /check:uninit and /RTCu.

OFF

-CU

/Dname [=value]

Defines a symbol name that can be associated with an optional value.

/noD

-Dname [=value]

/[no]d-lines

Compiles debugging statements indicated by the letter D in column 1 of the source code.

/nod-lines

-[no]d-lines

/[no]dbglibs

Tells the linker to search for unresolved references in a debug run-time library.

/nodbglibs

None

/debug:keyword

Specifies the type of debugging information generated by the compiler in the object file.

/debug:full (IDE)
/debug:none (command line)

-debug keyword
Note: the Linux and Mac OS X option takes different keyword s

/debug-parameters[:keyword]

Tells the compiler to generate debug information for PARAMETERs used in a program.

/nodebug-parameters

-debug-parameters [keyword]

/define:name [=value]

Defines a symbol name that can be associated with an optional value; same as the /D<name>[=value] option.

OFF

None

/dll

Specifies that a program should be linked as a dynamic-link (DLL) library.

OFF

None

/double-size:size

Defines the default KIND for DOUBLE PRECISION and DOUBLE COMPLEX variables.

/double-size:64

-double-size size

/E

Causes the Fortran preprocessor to send output to stdout.

OFF

-E

/EP

Causes the Fortran preprocessor to send output to stdout, omitting #line directives.

OFF

-EP

/error-limit:n

Specifies the maximum number of error-level or fatal-level compiler errors allowed for a file specified on the command line.

/error-limit:30

-error-limit n

/exe:{file | dir}

Specifies the name for a built program or dynamic-link library.

OFF

-o

/extend-source[:size ]

Specifies the length of the statement field in a fixed-form source file.

/extend-source:72

-extend-source [size]

/extfor:ext

Specifies file extensions to be processed by the compiler as Fortran files.

OFF

None

/extfpp:ext

Specifies file extensions to be recognized as a file to be preprocessed by the Fortran preprocessor.

OFF

None

/extlnk:ext

Specifies file extensions to be passed directly to the linker.

OFF

None

/Fn

Specifies the stack reserve amount for the program.

OFF

None

/f66

Tells the compiler to apply FORTRAN 66 semantics.

OFF

-f66

/f77rtl

Tells the compiler to use the run-time behavior of FORTRAN 77.

OFF

-f77rtl

/Fa[:file | dir]

Specifies that an assembly listing file should be generated; same as option /asmfile and /S.

OFF

-S

/FAc, /FAs, /FAcs

Specifies the contents of an assembly listing file. /FAc is the same as the /asmattr:machine option. /FAs is the same as the /asmattr:source option. /FAcs is the same as the /asmattr:all option.

OFF

None

/fast

Maximizes speed across the entire program.

OFF

-fast

/Fefile

Specifies the name for a built program or dynamic-link library; same as the /exe option.

OFF

-o

/FI

Specifies source files are in fixed format; same as the /fixed option.

determined by file suffix

-FI

/[no]fixed

Specifies source files are in fixed format.

determined by file suffix

-[no]fixed

/[no]fltconsistency

Enables improved floating-point consistency.

/nofltconsistency

-[no]fltconsistency

/Fm[file]

Tells the linker to generate a link map file; same as the /map option.

OFF

None

/Fofile

Specifies the name for an object file; same as the /object option.

OFF

None

/fp:keyword

Controls the semantics of floating-point calculations.

/fp:fast=1

-fp-model keyword

/[no]fpconstant

Tells the compiler that single-precision constants assigned to double-precision variables should be evaluated in double precision.

/nofpconstant

-[no]fpconstant

/fpe:n

Specifies floating-point exception handling for the main program at run-time.

/fpe:3

-fpen

/fpp [n]

/fpp[="option"]

Runs the Fortran preprocessor on source files before compilation.

/nofpp

- fpp[n]

- fpp[="option"]

/fpscomp[:keyword]

Specifies compatibility with Microsoft* Fortran PowerStation or Intel® Fortran.

/fpscomp:libs

-fpscomp [keyword]

/FR

Specifies source files are in free format; same as the /free option.

determined by file suffix

-FR

/[no]free

Specifies source files are in free format.

determined by file suffix

-[no]free

/G2
(i64 only)

Optimizes application performance for systems using IA-64 architecture.

OFF

None

/G2-p9000
(i64 only)

Optimizes for Dual-Core Intel® Itanium® 2 Processor 9000 series.

ON

-mtune itanium2-p9000

/G{5|6|7}
(i32, i64em)

Optimizes application performance for systems using IA-32 architecture and Intel® 64 architecture. These options have been deprecated.

/G7

None

/GB

Optimizes for Intel® Pentium® Pro, Pentium® II and Pentium® III processors; same as the /G6 option.

OFF

None

/Ge

Enables stack-checking for all functions. Deprecated.

OFF

None

/gen-interfaces[:[no]source]

Tells the compiler to generate an interface block for each routine in a source file.

/nogen-interfaces

-gen-interfaces [[no]source]

/Gm

Tells the compiler to use calling convention CVF; same as the /iface:cvf option.

OFF

None

/Gs[n]

Disables stack-checking for routines with a specified number of bytes of local variables and compiler temporaries.

/Gs4096

None

/GS[-]

Determines whether the compiler generates code that detects some buffer overruns.

/GS-

-f[no-]stack-security-check

/Gz

Tells the compiler to use calling convention STDCALL; same as the /iface:stdcall option.

OFF

None

/heap-arrays[:size ]

Puts automatic arrays and arrays created for temporary computations on the heap instead of the stack.

/heap-arrays-

-heap-arrays [size]

/help[category]

Displays all available compiler options or a category of compiler options; same as the /? option.

OFF

-help

/homeparams

Tells the compiler to store parameters passed in registers to the stack.

OFF

None

/I:dir

Specifies a directory to add to the include path.

OFF

-Idir

/iface:keyword

Specifies the default calling convention and argument-passing convention for an application.

/iface:default

None

/include

Specifies a directory to add to the include path; same as the /I option.

OFF

None

/inline[:keyword]

Specifies the level of inline function expansion.

OFF

None

/[no]intconstant

Tells the compiler to use FORTRAN 77 semantics to determine the kind parameter for integer constants.

/nointconstant

-[no]intconstant

/integer-size:size

Specifies the default KIND for integer and logical variables.

/integer-size:32

-integer-size size

/LD

Specifies that a program should be linked as a dynamic-link (DLL) library.

OFF

None

/libdir[:keyword]

Controls whether linker options for search libraries are included in object files generated by the compiler.

/libdir:all

None

/libs:keyword

Tells the linker to search for unresolved references in a specific run-time library.

/libs:static

None

/link

Passes options to the linker at compile time.

OFF

None

/[no]logo

Displays the compiler version information.

/logo

-[no]logo

/map[:file ]

Tells the linker to generate a link map file.

/nomap

None

/MD and /MDd

Tells the linker to search for unresolved references in a multithreaded, debug, dynamic-link run-time library.

OFF

None

/MDs and /MDsd

Tells the linker to search for unresolved references in a single-threaded, dynamic-link run-time library.

OFF

None

/MG

Tells the compiler to create a graphics or Fortran Windows application and link against the most commonly used libraries.

OFF

None

/ML and /MLd

Tells the linker to search for unresolved references in a single-threaded, static run-time library.

i32, i64: /ML
i64em: OFF

None

/module:path

Specifies the directory where module files should be placed when created and where they should be searched for.

OFF

-module path

/MP[:n]

Creates multiple processes that can be used to compile large numbers of source files at the same time.

OFF

-multiple-processes[:n]

/MT and /MTd

Tells the linker to search for unresolved references in a multithreaded, static run-time library.

i32, i64: OFF
i64em: /MT/noreentrancy

None

/MW

Tells the linker to search for unresolved references in a Fortran QuickWin library; same as /libs:qwin.

OFF

None

/MWs

Tells the linker to search for unresolved references in a Fortran standard graphics library; same as /libs:qwins.

OFF

None

/names:keyword

Specifies how source code identifiers and external names are interpreted.

/names:uppercase

-names keyword

/nbs

Tells the compiler to treat the backslash character (\) as a normal character in character literals; same as the /assume:nobscc option.

/nbs

-nbs

/noinclude

Removes standard directories from the include file search path; same as the /X option.

OFF

None

/O[ n ]

Specifies the code optimization for applications.

/O2

-O[ n ]

/Obn

Specifies the level of inline function expansion. n = 0, 1, or 2.

/Ob2 if /O2 is in effect or /O3 is specified
/Ob0 if /Od is specified

-inline-level=n

/object:file

Specifies the name for an object file.

OFF

None

/Od

Disables optimizations.

OFF

-O0

/Og

Enables global optimizations.

/Og

None

/Op

Enables improved floating-point consistency.

OFF

-mp

/optimize:n

Affects optimizations performed by the compiler; n = 1, 2, 3, or 4.

/optimize:3 or /optimize:4

-On

/Os

Enables optimizations that do not increase code size and produces smaller code size than O2.

OFF (unless /O1 is specified)

-Os

/Ot

Enables all speed optimizations.

/Ot (unless /O1 is specified)

None

/Ox

Same as the /O2 option.

/Ox

-O2

/Oy[-]
(i32 only)

Determines whether EBP is used as a general-purpose register in optimizations.

/Oy (unless /Od is specified)

-f[no-]omit-frame-pointer
(i32, i64em)

/P

Causes the Fortran preprocessor to send output to a file, which is named by default; same as the -preprocess-only option.

OFF

-P

/[no]pad-source

Specifies padding for fixed-form source records.

/nopad-source

-[no]pad-source

/pdbfile[:file ]

Specifies that any debug information generated by the compiler should be saved to a program database file.

/nopdbfile

None

/preprocess-only

Causes the Fortran preprocessor to send output to a file.

/nopreprocess-only

-preprocess-only

/Qansi-alias

Tells the compiler to assume the program adheres to the Fortran Standard type aliasability rules.

/Qansi-alias

-ansi-alias

/Qauto

Causes all variables to be allocated on the stack, rather than in local static storage.

/Qauto-scalar

-auto

/Qauto-scalar

Causes allocation of scalar variables of intrinsic types INTEGER, REAL, COMPLEX, and LOGICAL to the run-time stack.

/Qauto-scalar

-auto-scalar

/Qautodouble

Makes default real and complex variables 8 bytes long; same as the /real-size:64 option.

OFF

-autodouble

/Qaxp
(i32, i64em)

Tells the compiler to generate multiple, processor-specific auto-dispatch code paths for Intel processors if there is a performance benefit.

OFF

-axp
(i32, i64em)

/Qchkstk[-]
(i64 only)

Enables stack probing when the stack is dynamically expanded at run-time.

/Qchkstk

None

/Qcommon-args

Tells the compiler that dummy (formal) arguments to procedures share memory locations with other dummy arguments or with COMMON variables that are assigned; same as /assume:dummy_aliases.

OFF

-common-args

/Qcomplex-limited-range[-]

Enables the use of basic algebraic expansions of some arithmetic operations involving data of type COMPLEX.

/Qcomplex-limited-range-

-[no-]complex-limited-range

/Qcpp

Runs the Fortran preprocessor on source files before compilation; same as the /fpp option.

OFF

-cpp

/Qd-lines[-]

Compiles debugging statements indicated by the letter D in column 1 of the source code; can also be specified as /d-lines.

OFF

-[no]d-lines

/Qdiag-type: diag-list

Controls the display of diagnostic information.

OFF

-diag-type diag-list

/Qdiag-dump

Tells the compiler to print all enabled diagnostic messages and stop compilation.

OFF

-diag-dump

/Qdiag-enable:sv-include

Tells the Static Verifier to analyze include files and source files when issuing diagnostic message.

OFF

-diag-enable sv-include

/Qdiag-error-limit:n

Specifies the maximum number of errors allowed before compilation stops.

/Qdiag-error-limit:30

-diag-error-limitn

/Qdiag-file[:file]

Causes the results of diagnostic analysis to be output to a file.

OFF

-diag-file[= file]

/Qdiag-file-append[:file]

Causes the results of diagnostic analysis to be appended to a file.

OFF

-diag-file-append[= file]

/Qdiag-id-numbers[-]

Tells the compiler to display diagnostic messages by using their ID number values.

/Qdiag-id-numbers

-[no-]diag-id-numbers

/Qdiag-once:id[,id,...]

Tells the compiler to issue one or more diagnostic messages only once

OFF

-diag-once id[,id,...]

/Qdps

Specifies that the alternate syntax for PARAMETER statements is allowed; same as the /altparam option.

/Qdps

-dps

/Qdyncom "common1,common2,..."

Enables dynamic allocation of common blocks at run time.

OFF

-dyncom "common1,common2,..."

/Qextend-source

This is the same as specifying option /extend-source:132.

OFF

-extend-source size

/Qfast-transcendentals[-]

Enables the compiler to replace calls to transcendental functions with faster but less precise implementations.

/Qfast-transcendentals

-[no-]fast-transcendentals

/Qfma[-]
(i64 only)

Enables the combining of floating-point multiplies and add/subtract operations.

/Qfma

-[no-]fma
(i64 only; Linux only)

/Qfnalign[:n ]
(i32, i64em)

Tells the compiler to align functions on an optimal byte boundary.

/Qfnalign-

-falign-functions[=n ]
(i32, i64em)

/Qfnsplit[-]
(i32, i64)

Enables function splitting.

/Qfnsplit-

-[no-]fnsplit
(i64 only; Linux only)

/Qfp-port[-]
(i32, i64em)

Rounds floating-point results after floating-point operations.

/Qfp-port-

-[no-]fp-port
(i32, i64em)

/Qfp-relaxed[-]
(i64 only)

Enables use of faster but slightly less accurate code sequences for math functions, such as divide and sqrt.

/Qfp-relaxed-

-[no-]fp-relaxed
(i64 only; Linux only)

/Qfp-speculation:mode

Tells the compiler the mode in which to speculate on floating-point operations.

/Qfp-speculation:fast

-fp-speculation=mode

/Qfp-stack-check
(i32, i64em)

Generates extra code after every function call to ensure that the FP (floating-point) stack is in the expected state.

OFF

-fp-stack-check
(i32, i64em)

/Qfpp[n]

Runs the Fortran preprocessor on source files before compilation.

/nofpp

-fpp[n]

/Qftz[-]

Flushes denormal results to zero.

i64: /Qftz-
i32, i64em: /Qftz

-[no-]ftz

/Qglobal-hoist[-]

Enables certain optimizations that can move memory loads to a point earlier in the program execution than where they appear in the source.

/Qglobal-hoist-

-[no-]global-hoist

/QIA64-fr32
(i64 only)

Disables use of high floating-point registers.

OFF

None

/QIfist
(i32 only)

Enables fast float-to-integer conversions; same as option /Qrcd.

OFF

None

/Qinline-debug-info

Produces enhanced source position information for inlined code.

OFF

-inline-debug-info

/Qinline-dllimport[-]

Determines whether dllimport functions are inlined.

/Qinline-dllimport

None

/Qinline-factor==n

Specifies the percentage multiplier that should be applied to all inlining options that define upper limits.

/Qinline-factor-

-inline-factor=n

/Qinline-forceinline

Specifies that an inline routine should be inlined whenever the compiler can do so.

OFF

-inline-forceinline

/Qinline-max-per-compile=n

Specifies the maximum number of times inlining may be applied to an entire compilation unit.

/Qinline-max-per-compile-

-inline-max-per-compile=n

/Qinline-max-per-routine=n

Specifies the maximum number of times the inliner may inline into a particular routine.

/Qinline-max-per-routine-

-inline-max-per-routine=n

/Qinline-max-size=n

Specifies the lower limit for the size of what the inliner considers to be a large routine.

/Qinline-max-size-

-inline-max-size=n

/Qinline-max-total-size=n

Specifies how much larger a routine can normally grow when inline expansion is performed.

/Qinline-max-total-size-

-inline-max-total-size=n

/Qinline-min-size=n

Specifies the upper limit for the size of what the inliner considers to be a small routine.

/Qinline-min-size-

-inline-min-size=n

/Qinstruction=[no]movbe

Determines whether MOVBE instructions are generated for Intel® processors.

/Qinstruction:movbe

-minstruction=[no]movbe

/Qinstrument-functions[-]

Determines whether function entry and exit points are instrumented.

/Qinstrument-functions-

-f[no-]instrument-functions

/Qip[-]

Enables additional single-file interprocedural optimizations.

OFF

-[no-]ip

/Qip-no-inlining

Disables full and partial inlining enabled by -ip.

OFF

-ip-no-inlining

/Qip-no-pinlining
(i32, i64em)

Disables partial inlining.

OFF

-ip-no-pinlining
(i32, i64em)

/QIPF-flt-eval-method0
(i64 only)

Tells the compiler to evaluate the expressions involving floating-point operands in the precision indicated by the variable types declared in the program. Deprecated.

OFF

-[no-]IPF-flt-eval-method0
(i64 only; Linux only)

/QIPF-fltacc[-]
(i64 only)

Tells the compiler to apply optimizations that affect floating-point accuracy. Deprecated.

/QIPF-fltacc-

-IPF-fltacc
(i64 only; Linux only)

/QIPF-fma
(i64 only)

Enables the combining of floating-point multiplies and add/subtract operations. Deprecated; use /Qfma.

/QIPF-fma

-IPF-fma
(i64 only; Linux only)

/QIPF-fp-relaxed
(i64 only)

Enables use of faster but slightly less accurate code sequences for math functions, such as divide and sqrt. Deprecated; use /Qfp-relaxed.

/QIPF-fp-relaxed-

-IPF-fp-relaxed
(i64 only; Linux only)

/Qipo[n]

Enables multifile IP optimizations between files.

OFF

-ipo[n]

/Qipo-c

Generates a multifile object file that can be used in further link steps.

OFF

-ipo-c

/Qipo-jobs: n

Specifies the number of commands to be executed simultaneously during the link phase of Interprocedural Optimization (IPO).

/Qipo-jobs:1

-ipo-jobsn

/Qipo-S

Generates a multifile assembly file that can be used in further link steps.

OFF

-ipo-S

/Qipo-separate

Generates one object file per source file.

OFF

-ipo-separate
(Linux only)

/Qivdep-parallel
(i64 only)

Tells the compiler that there is no loop-carried memory dependency in any loop following an IVDEP directive.

OFF

-ivdep-parallel
(i64 only; Linux only)

/Qkeep-static-consts[-]

Tells the compiler to preserve allocation of variables that are not referenced in the source.

/Qkeep-static-consts-

-f[no-]keep-static-consts

/Qlocation,string,dir

Specifies a directory as the location of the specified tool in string .

OFF

-Qlocation,string,dir

/Qlowercase

Causes the compiler to ignore case differences in identifiers and to convert external names to lowercase; same as the /names:lowercase option.

OFF

-lowercase

/Qmap-opts

Maps one or more Windows* compiler options to their equivalent on a Linux* system (or vice versa).

OFF

-map-opts

/Qnobss-init

Places any variables that are explicitly initialized with zeros in the DATA section.

OFF

-no-bss-init

/Qonetrip

This is the same as specifying option /onetrip.

OFF

-onetrip

/Qopenmp

Enables the parallelizer to generate multithreaded code based on OpenMP* directives.

OFF

-openmp

/Qopenmp-lib:type

Lets you specify an OpenMP* run-time library to use for linking.

/Qopenmp-lib:legacy

-openmp-lib type
(Linux only)

/Qopenmp-link:library

Lets you specify an OpenMP* run-time library to use for linking.

/Qopenmp-lib:legacy

-openmp-link library
(Linux only)

/Qopenmp-profile

Enables analysis of OpenMP* applications.

OFF

-openmp-profile
(Linux only)

/Qopenmp-report[n]

Controls the OpenMP parallelizer's level of diagnostic messages.

/Qopenmp-report1

-openmp-report[n]

/Qopenmp-stubs

Enables compilation of OpenMP programs in sequential mode.

OFF

-openmp-stubs

/Qopenmp-threadprivate:type

Lets you specify an OpenMP* threadprivate implementation.

/Qopenmp-threadprivate:legacy

-openmp-threadprivate type
(Linux only)

/Qopt-block-factor:n

Lets you specify a loop blocking factor.

OFF

-opt-block-factor=n

/Qopt-jump-tables:keyword

Enables or disables generation of jump tables for switch statements.

/Qopt-jump-tables:default

-opt-jump-tables=keyword

/Qopt-loadpair[-]
(i64 only)

Enables or disables loadpair optimization.

/Qopt-loadpair-

-[no-]opt-loadpair
(i64 only; Linux only)>

/Qopt-mem-bandwidthn
(i64 only)

Enables performance tuning and heuristics that control memory bandwidth use among processors.

/Qopt-mem-bandwidth0 for serial compilation; /Qopt-mem-bandwidth1 for parallel compilation

-opt-mem-bandwidthn
(i64 only; Linux only)

/Qopt-mod-versioning[-]
(i64 only)

Enables or disables versioning of modulo operations for certain types of operands.

/Qopt-mod-versioning-

-[no-]opt-mod-versioning
(i64 only; Linux only)

/Qopt-multi-version-aggressive[-]
(i32, i64em)

Tells the compiler to use aggressive multi-versioning to check for pointer aliasing and scalar replacement.

/Qopt-multi-version-aggressive-

-[no-]opt-multi-version-aggressive
(i32, i64em)

/Qopt-prefetch[:n]

Enables prefetch insertion optimization.

i64: /Qopt-prefetch
i32, i64em: /Qopt-prefetch-

-opt-prefetch[=n]

/Qopt-prefetch-initial-values[-]
(i64 only)

Enables or disables prefetches that are issued before a loop is entered.

/Qopt-prefetch-initial-values

-[no-]opt-prefetch-initial-values
(i64 only; Linux only)

/Qopt-prefetch-issue-excl-hint[-]
(i64 only)

Determines whether the compiler issues prefetches for stores with exclusive hint.

/Qopt-prefetch-issue-excl-hint-

-[no-]opt-prefetch-issue-excl-hint
(i64 only; Linux only)

/Qopt-prefetch-next-iteration[-][:n]
(i64 only)

Enables or disables prefetches for a memory access in the next iteration of a loop.

-opt-prefetch-next-iteration

/Qopt-prefetch-next-iteration
(i64 only; Linux only)

/Qopt-ra-region-strategy[:keyword]
(i32, i64em)

Selects the method that the register allocator uses to partition each routine into regions.

/Qopt-ra-region-strategy:default

-opt-ra-region-strategy[=keyword]
(i32, i64em)

/Qopt-report:n

Tells the compiler to generate an optimization report to stderr.

/Qopt-report:2

-opt-report n

/Qopt-report-file:file

Tells the compiler to generate an optimization report named file.

OFF

-opt-report-file=file

/Qopt-report-help

Displays the optimizer phases available for report generation.

OFF

-opt-report-help

/Qopt-report-phase:phase

Specifies an optimizer phase to use when optimization reports are generated.

OFF

-opt-report-phase=phase

/Qopt-report-routine:string

Generates a report on all routines or the routines containing the specified string.

OFF

-opt-report-routine=string

/Qopt-streaming-stores:keyword
(i32, i64em)

Enables generation of streaming stores for optimization.

/Qopt-streaming-stores:auto

-opt-streaming-stores keyword
(i32, i64em)

/Qopt-subscript-in-range[-]
(i32, i64em)

Determines whether the compiler assumes no overflows in the intermediate computation of subscript expressions in loops.

/Qopt-subscript-in-range-

-[no-]opt-subscript-in-range
(i32, i64em)

/Qoption,string,options

Passes options to the tool specified in string.

OFF

-Qoption,string,options

/Qpad

Enables the changing of the variable and array memory layout.

/Qpad-

-pad

/Qpad-source

This is the same as specifying option /pad-source.

/Qpad-source-

-pad-source

/Qpar-adjust-stack:n
(i32, i64em)

Tells the compiler to generate code to adjust the stack size for a fiber-based main thread.

/Qpar-adjust-stack:0

None

/Qpar-report[n]

Controls the diagnostic information reported by the auto-parallelizer.

/Qpar-report1

-par-report[n]

/Qpar-runtime-control[-]

Generates code to perform run-time checks for loops that have symbolic loop bounds.

/Qpar-runtime-control-

-[no-]par-runtime-control

/Qpar-schedule-keyword [[:] n]

Specifies a scheduling algorithm for DO loop iterations.

OFF

-par-schedule-keyword[=n]

/Qpar-threshold[[:]n]

Sets a threshold for the auto-parallelization of loops.

/Qpar-threshold:100

-par-threshold[n]

/Qparallel

Tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.

OFF

-parallel

/Qpcn
(i32, i64em)

Enables control of floating-point significand precision.

/Qpc64

-pcn
(i32, i64em)

/Qprec

Improves floating-point precision and consistency.

OFF

-mp1

/Qprec-div[-]

Improves precision of floating-point divides.

/Qprec-div-

-[no-]prec-div

/Qprec-sqrt
(i32, i64em)

Improves precision of square root implementations.

/Qprec-sqrt-

-prec-sqrt
(i32, i64em)

/Qprefetch

Enables prefetch insertion optimization. Deprecated; use /Qopt-prefetch

i64: /Qprefetch
i32, i64em: /Qprefetch-

-prefetch

/Qprof-data-order[-]

Enables or disables data ordering if profiling information is enabled.

/Qprof-data-order-

-[no-]prof-data-order
(Linux only)

/Qprof-dir dir

Specifies a directory for profiling information output files.

OFF

-prof-dir dir

/Qprof-file file

Specifies a file name for the profiling summary file.

OFF

-prof-file file

/Qprof-func-order[-]

Enables or disables function ordering if profiling information is enabled.

/Qprof-func-order-

-[no-]prof-func-order
(Linux only)

/Qprof-gen[:keyword]

Produces an instrumented object file that can be used in profile-guided optimization.

/Qprof-gen-

-prof-gen[=keyword]

/Qprof-genx

Produces an instrumented object file that includes extra source position information. Deprecated; use /Qprof-gen:srcpos.

OFF

-prof-genx

/Qprof-hotness-threshold:n

Lets you set the hotness threshold for function grouping and function ordering.

OFF

-prof-hotness-threshold=n
(Linux only)

/Qprof-src-dir[-]

Determines whether directory information of the source file under compilation is considered when looking up profile data records.

/Qprof-src-dir

-[no-]prof-src-dir

/Qprof-src-root:dir

Lets you use relative directory paths when looking up profile data and specifies a directory as the base.

OFF

-prof-src-root=dir

/Qprof-src-root-cwd

Lets you use relative directory paths when looking up profile data and specifies the current working directory as the base.

OFF

-prof-src-root-cwd

/Qprof-use[:arg]

Enables the use of profiling information during optimization.

OFF

-prof-use[=arg]

/Qrcd
(i32, i64em)

Enables fast float-to-integer conversions.

OFF

-rcd
(i32, i64em)

/Qrct
(i32, i64em)

Sets the internal FPU rounding control to Truncate.

OFF

-rct
(i32, i64em)

/Qsafe-cray-ptr

Tells the compiler that Cray* pointers do not alias other variables.

OFF

-safe-cray-ptr

/Qsave

Causes variables to be placed in static memory.

/Qauto-scalar

-save

/Qsave-temps[-]

Tells the compiler to save intermediate files created during compilation.

.obj files are saved

-[no-]save-temps

/Qscalar-rep[-]
(i32 only)

Enables scalar replacement performed during loop transformation (requires /O3).

/Qscalar-rep-

-[no-]scalar-rep
(i32 only)

/Qsfalign[n]
(i32 only)

Specifies stack alignment for functions. n is 8 or 16.

/Qsfalign8

None

/Qsox[-]

Tells the compiler to save the compiler options and version number in the executable.

/Qsox-

-[no-]sox

/Qtcheck

Enables analysis of threaded applications.

OFF

-tcheck
(Linux only)

/Qtcollect[: lib]

Inserts instrumentation probes calling the Intel(R) Trace Collector API.

OFF

-tcollect[= lib]
(Linux only)

/Qtcollect-filter[=file]

Lets you enable or disable the instrumentation of specified functions.

OFF

-tcollect-filter [file]
(Linux only)

/Qtprofile

Generates instrumentation to analyze multi-threading performance.

OFF

-tprofile
(Linux only)

/Qtrapuv

Initializes stack local variables to an unusual value.

OFF

-ftrapuv

/Qunroll[:n]

Tells the compiler the maximum number of times to unroll loops; same as the /unroll[:n] option.

/Qunroll

-unroll[=n]

/Qunroll-aggressive[-]
(i32, i64em)

Determines whether the compiler uses more aggressive unrolling for certain loops.

/Qunroll-aggressive-

-[no-]unroll-aggressive
(i32, i64em)

/Quppercase

Causes the compiler to ignore case differences in identifiers and to convert external names to uppercase; same as the /names:uppercase option.

/Quppercase

-uppercase

/Quse-asm[-]
(i64 only)

Tells the compiler to produce objects through the assembler.

/Quse-asm-

-[no-]use-asm

/Quse-msasm-symbols
(i32,i64em)

Tells the compiler to use a dollar sign ("$") when producing symbol names.

OFF

None

/Quse-vcdebug
(i32 only)

Tells the compiler to issue debug information compatible with the Visual C++ debugger.

OFF

None

/Qvc7.1
/Qvc8
/Qvc9
(i32, i64em)

Specifies compatibility with Microsoft* Visual C++ or Microsoft* Visual Studio.

varies; see option description

None

/Qvec[-]
(i32, i64em)

Enables or disables vectorization and transformations enabled for vectorization.

/Qvec

-[no-]vec
(i32, i64em)

/Qvec-guard-write[-]
(i32, i64em)

Tells the compiler to perform a conditional check in a vectorized loop.

/Qvec-guard-write-

-[no-]vec-guard-write
(i32, i64em)

/Qvec-report[n]
(i32, i64em)

Controls the diagnostic information reported by the vectorizer.

/Qvec-report1

-vec-report[n]
(i32, i64em)

/Qvms

Causes the run-time system to behave like HP Fortran for OpenVMS* Alpha systems and VAX* systems (VAX FORTRAN*) in certain ways; same as the /vms option.

/novms

-vms

/Qxprocessor
(i32, i64em)

Tells the compiler to generate optimized code specialized for the Intel processor that executes your program.

varies; see the option description

-xprocessor
(i32, i64em)

/Qzero[-]

Initializes to zero all local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved but not yet initialized.

OFF

-[no]zero

/real-size:size

Specifies the default KIND for real variables.

/real-size:32

-real-size size

/[no]recursive

Tells the compiler that all routines should be compiled for possible recursive execution.

/norecursive

-[no]recursive

/reentrancy:keyword

Tells the compiler to generate reentrant code to support a multithreaded application.

/noreentrancy

-reentrancy keyword

/RTCu

Enables run-time checking for uninitialized variables; same as option /check:uninit.

OFF

-check uninit or -CU

/S

Causes the compiler to compile to an assembly file only and not link.

OFF

-S

/source:file

Tells the compiler to compile the file as a Fortran source file.

OFF

None

/stand:keyword

Tells the compiler to issue compile-time messages for nonstandard language elements.

/nostand

-stand keyword

/static

Prevents linking with shared libraries.

/static

-static
(Linux only)

/syntax-only

Tells the compiler to check only for correct syntax.

OFF

-syntax-only

/Tf file

Tells the compiler to compile the file as a Fortran source file; same as the /source option.

OFF

-Tf file

/[no]threads

Tells the linker to search for unresolved references in a multithreaded run-time library.

i32, i64: /nothreads
i64em: /threads

-[no]threads

/[no]traceback

Tells the compiler to generate extra information in the object file to provide source file traceback information when a severe error occurs at run time.

/notraceback

-[no]traceback

/tune:keyword
(i32, i64em)

Determines the version of the architecture for which the compiler generates instructions.

/tune:pn4

-tune keyword
(i32, i64em)

/u

Undefines all previously defined preprocessor values.

OFF

None
Note: the Linux and Mac OS X option -u is not the same

/Uname

Undefines any definition currently in effect for the specified symbol; same as the /undefine option.

OFF

-Uname

/undefine:name

Undefines any definition currently in effect for the specified symbol; same as option /U.

OFF

None

/unroll[:n ]

Tells the compiler the maximum number of times to unroll loops. This is the same as /Qunroll, which is the recommended option to use.

/unroll

-unroll[=n]

/us

Tells the compiler to append an underscore character to external user-defined names; same as the /assume:underscore option.

OFF

-us

/Vstring

Places the text string specified into the object file (.obj) being generated by the compiler; same as the /bintext option.

OFF

None

/[no]vms

Causes the run-time system to behave like HP* Fortran on OpenVMS* Alpha systems and VAX* systems (VAX FORTRAN*).

/novms

-[no]vms

/w

Disables all warning messages; same as specifying option /warn:none or /warn:nogeneral.

OFF

-w

/Wn

Disables ( n=0) or enables ( n=1) all warning messages.

/W1

-Wn

/warn:keyword

Specifies diagnostic messages to be issued by the compiler.

keywords:
alignments
general
usage
nodeclarations
noerrors
noignore_loc
nointerfaces
nostderrors
notruncated_source
nouncalled
nounused

-warn keyword

/watch[:keyword]

Tells the compiler to display certain information to the console output window.

/nowatch

-watch [keyword]

/WB

Turns a compile-time bounds check error into a warning.

OFF

-WB

/what

Tells the compiler to display its detailed version string.

OFF

-what

/winapp

Tells the compiler to create a graphics or Fortran Windows application and link against the most commonly used libraries.

OFF

None

/X

Removes standard directories from the include file search path.

OFF

-X

/Zd

Tells the compiler to generate line numbers and minimal debugging information. Deprecated; use option /debug:minimal.

OFF

None

/Zi or /Z7

Tells the compiler to generate full debugging information in the object file; same as the /debug:full or /debug option.

OFF

-g

/Zl

Prevents any linker search options from being included into the object file; same as the /libdir:none or /nolibdir option.

OFF

None

/Zp[n]

Aligns fields of records and components of derived types on the smaller of the size boundary specified or the boundary that will naturally align them; same as the /align:recn byte option.

/Zp16

-Zp[n]

/Zs

Tells the compiler to perform syntax checking only; same as the /syntax-only option.

OFF

None

See Also