intel® fortran compiler options quick reference guide for linux* … · 2008. 1. 28. · intel®...

97
i Intel® Fortran Compiler Options Quick Reference Guide for Linux* Systems Legal Information Copyright © 2003 Intel Corporation Document Number: 253258-001

Upload: others

Post on 11-Oct-2020

16 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

i

Intel® Fortran Compiler Options Quick Reference Guide for Linux* Systems

Legal InformationCopyright © 2003 Intel Corporation

Document Number: 253258-001

Page 2: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

ii

Disclaimer and Legal Information

Information in this document is provided in connection with Intel products. Nolicense, express or implied, by estoppel or otherwise, to any intellectual propertyrights is granted by this document. EXCEPT AS PROVIDED IN INTEL'S TERMSAND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NOLIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS ORIMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTELPRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TOFITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, ORINFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUALPROPERTY RIGHT. Intel products are not intended for use in medical, lifesaving, or life sustaining applications.

This Quick Reference Guide as well as the software described in it is furnishedunder license and may only be used or copied in accordance with the terms ofthe license. The information in this document is furnished for informational useonly, is subject to change without notice, and should not be construed as acommitment by Intel Corporation. Intel Corporation assumes no responsibility orliability for any errors or inaccuracies that may appear in this document or anysoftware that may be provided in association with this document.

Designers must not rely on the absence or characteristics of any features orinstructions marked "reserved" or "undefined." Intel reserves these for futuredefinition and shall have no responsibility whatsoever for conflicts orincompatibilities arising from future changes to them.

The software described in this Quick Reference Guide may contain softwaredefects which may cause the product to deviate from published specifications.Current characterized software defects are available on request.

Intel SpeedStep, Intel Thread Checker, Celeron, Dialogic, i386, i486, iCOMP,Intel, Intel logo, Intel386, Intel486, Intel740, IntelDX2, IntelDX4, IntelSX2, IntelInside, Intel Inside logo, Intel NetBurst, Intel NetStructure, Intel Xeon, IntelCentrino, Intel XScale, Itanium, MMX, MMX logo, Pentium, Pentium II Xeon,Pentium III Xeon, Intel Pentium M processor, and VTune are trademarks orregistered trademarks of Intel Corporation or its subsidiaries in the United Statesand other countries.

* Other names and brands may be claimed as the property of others.

Copyright © Intel Corporation 2003.

Page 3: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

iii

Table Of Contents

Disclaimer and Legal Information............................................................................ ii

How to Use This Guide ........................................................................................1

Alphabetical Listing ..........................................................................................1

Windows* and Linux* Cross-reference............................................................1

Conventions used in the Options Quick Guide Tables....................................1

New Compiler Options .........................................................................................3

Compiler Options Quick Reference Alphabetical ..............................................14

Windows* to Linux* Options Cross-reference...................................................46

Index.......................................................................................................................93

Page 4: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation
Page 5: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

1

How to Use This GuideThis document provides three sets of tables comprising Intel® Fortran CompilerOptions Quick Reference Guide:

• New compiler options for the current release• Alphabetical listing of all options• Windows* and Linux* Cross-reference

For complete information on each option, refer to the Intel® Fortran CompilerUser's Guide, Volumes I and II, and the Intel® Fortran Compiler Manpages.

Alphabetical Listing

Alphabetical listing is alphabetic tabular reference of all compiler and compilationas well as linker and linking control, and all other options implemented by theIntel Fortran Compiler available for both IA-32 and Itanium® architectures as wellas those available exclusively for each architecture.

Each entry in the table has a link to a section in the Intel® Fortran CompilerUser's Guide. Within that section, you will find the following:

• the option's synonyms (if applicable)• detailed description of option's functionality.

Windows* and Linux* Cross-reference

A table containing the Intel Fortran Compiler Options for Windows* and Linux*cross-reference. The table is based on alphabetical order of the Intel FortranCompiler Options for Linux.

Conventions used in the Options Quick GuideTables

ON in "Default" column indicates that the option is in effect by defaultwhen compiler is invoked; if an option has avalue for the ON state, it is indicated inparenthesis.

OFF in "Default"column

indicates that by default, the option is not usedwhen compiler is invoked; if an option has a

Page 6: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

2

value for the OFF state, it is indicated inparenthesis.

[-] indicates that if option includes a trailing "-", theoption is disabled; for example, -ansi_alias-disables -ansi_alias option.

[n] indicates that the value in [ ] can be omitted orhave various values; for example, in -unroll[n] option, n can be omitted or havedifferent values starting from 0.

Values in {} with vertical bars

are used for option's version; for example,option-i{2|4|8} has these versions: -i2, -i4, -i8.

{n} indicates that option must include one of thefixed values for n; for example, in option -Zp{n}, n can be equal to 1, 2, 4, 8, 16.

Words in this stylefollowing an option

indicate option's required argument(s).Arguments are separated by comma if morethan one are required. For example, the option -Qoption,tool,opts looks in the commandline like this:ifort -Qoption,link,-w myprog.f

-option parameter indicates that an option requires a parameter; forexample,-Ldir : the option -L instructs linker to searchdirectory dir for libraries.

-option keyword indicates that an option requires one of thevalues of the keyword.

-option [keyword] indicates that an option can be used with anoptional keyword.

-[no]option indicates that an option can be used as anoption or nooption in which case it instructsthe compiler not perform something; forexample, -altparam specifies that alternateform of parameter constant declarations isrecognized,-noaltparam specifies that alternate form ofparameter constant declarations is notrecognized,.

Note

The [no]options are listed in the alphabeticalorder of an option.

Page 7: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

3

New Compiler OptionsThe following table lists new options in this release. See Conventions Used inthe Options Quick Guide Tables.

• Options specific to IA-32 architecture• Options specific to the Itanium® architecture• All other options are available for both IA-32 and Itanium architectures.

For more details on each of these options refer to the Intel® Fortran CompilerUser's Guide, Volumes I and II, and the Intel® Fortran Compiler Manpages.

Option Description Default

-align keyword Specifies how data items arealigned by adding paddingbytes as indicated by akeyword: [no]commons,dcommons, [no]records,[no]recnbyte,[no]sequence.

-align nocommons-align records-alignnosequence-align rec8bytes

-assume keyword Specifies that assumptions aremade by the optimizer and codegenerator as indicated by akeyword: none,[no]accuracy_sensitive,[no]byterecl,[no]buffered_io,[no]dummy_aliases,[no]protect_constants,[no]source_include,[no]underscoreSee Intel® Fortran CompilerManpages for more details.

OFF(-assume none)

-assume bscc Tells the compiler to treat thebackslash character (\) as a C-style control (escape) charactersyntax in character literals. Thedefault is -assume nobscc,which tells the compiler to treatthe backslash character as anormal character instead of acontrol character in characterliterals.

-assume nobscc

Page 8: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

4

-assume cc_omp Enables conditional compilationas defined by the OpenMPFortran API.

-assume cc_ompwith -openmpspecified

-assume minus0 Tells the compiler to useFortran 95 standard semanticsfor the treatment of IEEE*floating value -0.0 in the SIGNintrinsic, if the processor iscapable of distinguishing thedifference between -0.0 and+0.0, and to write a value of-0.0 with a negative sign onformatted output.

The default is -assumenominus0, which tells thecompiler to use Fortran 90/77standard semantics in the SIGNintrinsic to treat -0.0 and +0.0as 0.0, and to write a value of -0.0 with no sign on formattedoutput.

OFF(-assumenominus0)

-automatic Puts local variables, exceptthose declared as SAVE, on theruntime stack. Same as -autoor -nosave.

This option is one of the threepossible states:-auto-scalar (the defaultstate),-automatic, or -static.

-auto_scalar; with-recursive or-openmp, the defaultis -auto.

-auto_ilp32Itanium-based systems

Specifies that the applicationcannot exceed a 32-bit addressspace, which allows thecompiler to use 32-bit pointerswhenever possible. To use thisoption, you must also specify -ipo.

Using the -auto_ilp32 optionon programs that can exceed32-bit address space (2**32)may cause unpredictableresults during program

OFF

Page 9: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

5

execution.

-axNIA-32 only

Automatically optimizes forIntel® Pentium® 4 processorswith additional optimizations toIntel processor-specificoptimizations.

OFF

-axBIA-32 only

Automatically optimizes forIntel® Pentium® M andcompatible Intel processors withadditional optimizations to Intelprocessor-specificoptimizations.

OFF

-axPIA-32 only

Automatically optimizes for Intelprocessors code-namedPrescott with additionaloptimizations to Intel processor-specific optimizations.

OFF

-ccdefault keywordSpecifies the type of carriagecontrol used for units 6 and *;keyword = default,fortran, list, or none.

-ccdefaultdefaultcan be affected bythe -vms option, seemanpages

-check keyword Checks runtime conditions,according to the keyword:all, none,[no]arg_temp_created,[no]bounds, [no]format,[no]output_conversionSee Intel® Fortran CompilerManpages for more details.

OFF (-nocheck or(-check none)

Page 10: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

6

-complex_limited_range[-]

Enables the use of basicalgebraic expansions of somearithmetic operations involvingdata of type COMPLEX. This cancause some performanceimprovements in programs thatuse a lot of COMPLEX arithmetic,but values at the extremes ofthe exponent range may notcompute correctly.

OFF(-complex_limited_range-, optiondisabled)

-convert keyword Specifies the format ofunformatted files containingnumeric data indicated in akeyword: big_endian, cray,fdx, fgx, ibm,little_endian, native,vaxd, vaxg.See Intel® Fortran CompilerManpages for more details.

OFF

-d_lines Compiles debug statements(indicated by D in column 1).Same as -DD.

-nod_lines

-double_size size Defines the size of DOUBLEPRECISION and DOUBLECOMPLEX declarations,constants, functions, andintrinsics. The size can be 64(default) or 128.

-double_size 64

-error_limit n Specifies the maximum numberof error-level or fatal-levelcompiler errors allowed for a filespecified on the command line.A maximum of 30 error-leveland fatal-level messages areallowed before the compilerstops the compilation.

-error_limit 30

-f66 or -66 Enforces FORTRAN-66semantics. OFF (-nof66)

-f77rtl Specifies that the FORTRAN-77-specific run-time supportshould (or not) be used insteadof Intel(R) Fortran.

OFF (-nof77rtl)

Page 11: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

7

-fast Enhances speed across theentire program. Sets thefollowing command options thatcan improve runtimeperformance:-O3, -ipo, and-static.

OFF (-nofast)

-fcommon Tells the compiler to treatcommon symbols as globaldefinitions and to allocatememory for each symbol atcompile time. This may permitthe compiler to use the moreefficient GP-relative addressingmode when accessing thesymbol.

OFF(-fno-common)

-fixed Specifies source files are infixed format. By default, sourcefile format is determined by thefile suffix.

OFF (-nofixed)

-fminshared Tells the compiler to treat acompilation unit as acomponent of a main programand not to link it as a shareableobject. Implies-fvisibility=protected.

OFF

-fpconstant Tells the compiler to extend theprecision to double precision forsingle-precision constantsassigned to double-precisionvariables.

OFF(-nofpconstant)

-fpe{n} Specifies floating-pointexception handling at run timefor the main program, n=0, 1, 3.

-fpe0 - floating underflowresults in zero; all other floating-point exceptions abortexecution;

-fpe1 - floating underflowresults in zero; all other floating-point exceptions produceexceptional values (signedInfinities or NaNs) andexecution continues;

-fpe3

Page 12: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

8

-fpe3 - all floating-pointexceptions produce exceptionalvalues (signed infinities,denormals, or NaNs) andexecution continues; this is thedefault. Also see -ftz.

-fpic or -fPIC Generates position-independentcode. Can also be specified as-fPIC.

OFF

-free Specifies source files are in freeformat. By default, source fileformat is determined by the filesuffix.

OFF (-nofree)

-fpscomp [keyword] Specifies a level of compatibilitywith Microsoft* FortranPowerStation as indicated by akeyword: all, none,[no]filesfromcmd,[no]general,[no]ioformat, [no]libs,[no]logicals.See Intel® Fortran CompilerManpages for more details.

For all andnolibs:-fpscomp libs

For the rest:-fpscomp none

-fpstkchk

IA-32 only

Generates extra code afterevery function call to assurethat the FP (floating-point) stackis in the expected state. Bydefault, there is no checking. Sowhen the FP stack overflows,NaN value is put into FPcalculations, and the program’sresults differ. Unfortunately, theoverflow point can be far awayfrom the point of the actual bug.The -fpstkchk option placescode that would access-violate

OFF

Page 13: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

9

immediately after an incorrectcall occurred, thus making iteasier to locate these issues.

-fvisibility=keyword

-fvisibility-keyword=file

The first form specifies thedefault visibility for globalsymbols using one of the fivecommand line optionscorresponding to the keyword:external, default,protected, hidden, andinternal.

The second form specifies thevisibility for symbols that are ina file (this form overrides thefirst form). The file is thepathname of a file containingthe list of symbols whosevisibility you want to set; thesymbols are separated bywhitespace (spaces, tabs, ornewlines).

OFF

-fwritable-strings Specifies that string literalsshould be placed in a writabledata section. This option isused for compatibility with oldprograms that write into stringliterals.

OFF

-[no]intconstant Tells the compiler to useFORTRAN 77 semantics, ratherthan Fortran 95/90 semantics,to determine the KIND forinteger constants.

OFF(-nointconstant)

-integer_size size Defines the size of INTEGERand LOGICAL variables. Thesize can be 16, 32, or 64.

-integer_size 32

-names keyword Specifies how source code OFF

Page 14: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

10

identifiers and external namesare interpreted as indicated bya keyword: as_is,lowercase, uppercase

-no_cpprt Prevents linking of the C++runtime libraries. OFF

-noaltparam Specifies if alternate form ofparameter constantdeclarations is recognized ornot.

-altparam

-nodefaultlibs Prevents the compiler fromusing standard libraries whenlinking.

OFF

-nodefine Specifies that all preprocessordefinitions apply only to -fppand not to Intel Fortranconditional compilationdirectives.

OFF

-nofor_main Specifies the main program isnot written in Fortran, andprevents the compiler fromlinking for_main.o intoapplications.

-for_main

-nolib_inline Disable inline expansion ofintrinsic functions. OFF

-nostartfiles Prevents the compiler fromusing standard startup fileswhen linking.

OFF

-nostdinc Removes standard directoriesfrom include file search path(same as the -X option.)

OFF

-nostdlib Prevents the compiler fromusing standard libraries andstartup files when linking.

OFF

-prof_format_32 Produces profile data with 32-bit counters; allowscompatibility with earliercompilers. The default is toproduce profile data with 64-bitcounters to handle largenumbers of events.

OFF

-real_size size Defines the size of REAL andCOMPLEX declarations,constants, functions, and

-real_size 32

Page 15: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

11

intrinsics. The size can be 32,64, or 128.

-recursive Specifies that all routinesshould be compiled for possiblerecursive execution. This optionsets the -auto option.

OFF (-norecursive)

-reentrancykeyword

Specifies that the compilershould generate reentrant codethat supports a multithreadedapplication. keyword: none, threaded, async.

-reentrancynone

-shared-libcxa Links the Intel libcxa C++library dynamically, overridingthe default behavior when -static is used. This option isthe opposite of-static-libcxa.

ON

-stand keyword Causes the compiler to issuecompile-time messages fornonstandard languageelements. keyword: f90,f95, none.

OFF (-nostand)

-static-libcxa Links the Intel libcxa C++library statically. This option isthe opposite of -shared-libcxa.

OFF

-T file Tells the linker to read linkcommands from the specifiedfile.

OFF

-threads Specifies that multithreadedlibraries should be linked. Thisoption sets the -reentrancythreaded option.

OFF (-nothreads)

-tpp7 IA-32 only

Optimizes for the Intel®Pentium® 4 processors, Intel®Xeon(TM) processors, Intel®Pentium® M processors, andIntel processors code-namedPrescott. This is the default onIA-32 systems.

ON

Page 16: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

12

-traceback Tells the compiler to generateextra information in the objectfile to allow the display ofsource file tracebackinformation at runtime when asevere error occurs.

OFF (-notraceback)

-warn keyword Specifies the level of warningmessages issued by thecompiler as indicated by akeyword: all, none,[no]alignments,[no]declarations,[no]errors, [no]general,[no]ignore_loc,[no]stderrors,[no]truncated_source,[no]uncalled, [no]unused,[no]usage. See Intel® FortranCompiler Manpages for details.

OFF (-warn none or -warn nokeyword)

-what Prints the version strings of theFortran command and thecompiler.

OFF

-Wl o1 [, o2,...] Passes options -o1, -o2, etc.to the linker for processing.

OFF

-Wp o1 [, o2,...] Passes options -o1, -o2, etc.to the preprocessor.

OFF

-Xlinker val Pass val directly to the linker for processing.

OFF

-xNIA-32 only

Optimizes for Intel® Pentium®4 processor. When the mainprogram is compiled with thisoption, it will detect non-compatible processors andgenerate an error messageduring execution. This optionalso enables new optimizationsin addition to Intel processorspecific-optimizations.

OFF

-xBIA-32 only

Optimizes for Intel® Pentium®M and compatible Intelprocessors. When the mainprogram is compiled with thisoption, it will detect non-

OFF

Page 17: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

13

compatible processors andgenerate an error messageduring execution. This optionalso enables new optimizationsin addition to Intel processorspecific-optimizations.

-xPIA-32 only

Optimizes for Intel processorscode-named Prescott. Whenthe main program is compiledwith this option, it will detectnon-compatible processors andgenerate an error messageduring execution. This optionalso enables new optimizationsin addition to Intel processorspecific-optimizations.

OFF

Page 18: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

14

Compiler Options Quick ReferenceAlphabeticalThe following table describes options that you can use for compilations youtarget to either IA-32- or Itanium®-based applications or both.

• Options specific to IA-32 architecture (IA-32 only)• Options specific to the Itanium® architecture (Itanium-based systems only)• All other options are available for both IA-32 and Itanium architectures.• The options that are new for this release are marked with (*new). If a new

keyword that does not change the functionality is added, this markappears near that keyword value. If a new keyword adds a newfunctionality, the option with the new keyword takes a separate entry andis marked as (*new).

For more details on each of these options refer to the Intel® Fortran CompilerUser's Guide, Volumes I and II, and the Intel® Fortran Compiler Manpages.

See Conventions Used in the Options Quick Guide Tables for more details onconventions used.

Option Description Default

-1 Executes at least one iteration ofDO loops (same as the -onetripoption). This option has the sameeffect as-f66 or -66 .

OFF

-72, -80, -132 Treats the statement field of eachfixed-form source line as ending incolumn 72 (the default), 80, or 132(same as the -extend_sourceoption).

-72

-align keyword(*new)

Specifies how data items arealigned by adding padding bytes asindicated by a keyword: all,none, [no]commons, dcommons,[no]records, recnbyte (n=1,2, 4, 8, 16), [no]sequence.See Intel® Fortran CompilerManpages for more details.

-alignnocommons-alignrecords-alignnosequence-alignrec8bytes

-ansi_alias Tells the compiler to assume thatthe program adheres to the Fortran95 Standard type aliasability rules.

-ansi_alias-

Page 19: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

15

-arch keyword(*new)IA-32 only

Determines the version of thearchitecture for which the compilergenerates instructions.keyword:pn1 Optimizes for the Intel®Pentium® processor.pn2 Optimizes for the Intel®Pentium® Pro, Intel® Pentium® II,and Intel® Pentium® IIIprocessors.pn3 This is the same as specifyingthe -arch pn2 option.pn4 Optimizes for the Intel®Pentium® 4 processor.

-arch pn4

-assume bscc(*new)

Tells the compiler to treat thebackslash character (\) as a C-stylecontrol (escape) character syntaxin character literals. The default is-assume nobscc, which tells thecompiler to treat the backslashcharacter as a normal characterinstead of a control character incharacter literals.

-assumenobscc

-assume keyword(*new)

Specifies assumptions made by theoptimizer and code generatoraccording to the indicatedkeyword: none, [no]bscc,[no]byterecl,[no]buffered_io,[no]dummy_aliases, [no]minus0,[no]protect_constants,[no]source_include,[no]underscoreSee Intel® Fortran CompilerManpages for more details.

OFF(-assumenone)

-assume cc_omp(*new)

Enables conditional compilation asdefined by the OpenMP FortranAPI.-openmp enables this option: sets-assume cc_omp

-assumecc_ompwith -openmpspecified

Page 20: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

16

-assume minus0(*new)

Tells the compiler to use Fortran 95standard semantics for thetreatment of IEEE* floating value -0.0 in the SIGN intrinsic, if theprocessor is capable ofdistinguishing the differencebetween -0.0 and +0.0, and to writea value of-0.0 with a negative sign onformatted output.

The default is -assumenominus0, which tells thecompiler to use Fortran 90/77standard semantics in the SIGNintrinsic to treat -0.0 and +0.0 as0.0, and to write a value of -0.0with no sign on formatted output.

-assumenominus0

-auto Places variables, except thosedeclared as SAVE, on the runtimestack (same as -automatic or -nosave.

-auto_scalaror: if you specify-recursive or-openmp, thedefault is -auto

-auto_ilp32Itanium-basedsystems

Specifies that the applicationcannot exceed a 32-bit addressspace, which allows the compiler touse 32-bit pointers wheneverpossible. To use this option, youmust also specify -ipo.

Using the -auto_ilp32 option onprograms that can exceed 32-bitaddress space (2**32) may causeunpredictable results duringprogram execution.

OFF

-auto_scalar Makes AUTOMATIC all scalar localvariables of intrinsic type INTEGER,REAL, COMPLEX, or LOGICAL. Youcannot specify -save, -auto ,or-automatic with this option.

OFF

-autodouble De fines real variables to be REAL(KIND=8). This option is the sameas specifying -r8.

OFF

Page 21: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

17

-automatic (*new) Places variables, except thosedeclared as SAVE, on the runtimestack (same as -auto or -nosave). This option is one of thethree possible states:-auto-scalar (the default state), -automatic, or -static. If youspecify -recursive or -openmp,the default is -auto.

-auto_scalaror: if you specify-recursive or-openmp, thedefault is -auto.

-ax{K|W|N|B|P}IA-32 compiler

Generates processor-specific codecorresponding to one of codes:

K - Intel® Pentium® IIIprocessors and compatible Intelprocessors.

W - Intel Pentium 4 processors and compatible Intel processors.

The *new codes: these options enable new optimizations in addition to Intel processor-specific optimizations.

(*new) N - Intel Pentium 4 processors and compatible Intel processors.

(*new) B - Intel® Pentium® Mand compatible Intel processors.

(*new) P - Intel processors code-named Prescott and compatible Intel processors.

You can use more than one of the-ax options by combining thecharacters that denote theprocessor type. For example, youcan specify -axKW to generatecode for Intel® Pentium® III andIntel Pentium 4 processors.

OFF

-Bdynamic Enables dynamic linking of librariesat runtime. Smaller executables arecreated than with static linking.

OFF

Page 22: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

18

-Bstatic Enables static linking of a user'slibrary.

OFF

-c Causes the compiler to compile toan object (.o) file only and not link.

OFF

-CB Performs runtime checks onwhether array subscript andsubstring references are withindeclared bounds. Same as -check bounds.

OFF

-ccdefaultkeyword (*new)

Specifies the type of carriagecontrol used for units 6 and *;keyword = default, fortran,list, or none.

-ccdefaultdefaultcan be affectedby the -vmsoption, seemanpages

-check keyword(*new)

Checks runtime conditions,according to the keyword: all,none, [no]arg_temp_created,

[no]bounds, [no]format,[no]output_conversionSee Intel® Fortran CompilerManpages for more details.

OFF(-nocheck or-check none)

-cm Suppresses all messages aboutquestionable programmingpractices (same as the -warnnousage option).

OFF

-common_args Tells the compiler that dummy(formal) arguments to proceduresshare memory locations with otherdummy arguments or with COMMONvariables that are assigned. This isthe same as specifying -assumedummy_aliases.

OFF

-complex_limited_range[-] (*new)

Enables the use of basic algebraicexpansions of some arithmeticoperations involving data of typeCOMPLEX. This can cause someperformance improvements inprograms that use a lot ofCOMPLEX arithmetic, but values atthe extremes of the exponentrange may not compute correctly.

OFF(-complex_limited_range-, optiondisabled)

Page 23: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

19

-convert keyword(*new)

Specifies the format of unformattedfiles containing numeric dataindicated in a keyword:big_endian, cray, fdx, fgx,ibm, little_endian, native,vaxd, vaxg.

OFF

-cpp Runs the Fortran preprocessor onsource files prior to compilation(same as the -fpp option).

OFF

-Dname-Dname[=value]

Defines the name as a definition touse with conditional compilationdirectives or the Fortranpreprocessor (-fpp). The valuecan be an integer or it can be acharacter string delimited bydouble quotes; for example,-Dname="string". If nodefinition is given, the <name > isdefined as "1".

OFF

-d_lines (*new) Compiles debug statements(indicated by D in column 1); this isthe same as specifying -DD.

-nod_lines

-DD Compiles debugging statementsindicated by the letter D in column1 of the source code; this is thesame as specifying -d_lines.

OFF

-double_sizesize (*new)

Defines the size of DOUBLEPRECISION and DOUBLECOMPLEX declarations, constants,functions, and intrinsics. The sizecan be 64 (default) or 128.

-double_size64

-dryrun Specifies that driver toolcommands should be shown butnot executed.

OFF

-dynamic-linkerfile

Speci fies a dynamic linker in fileother than the default.

OFF

-dyncom "a,b,c" Enables dynamic allocation of thespecified COMMON blocks at runtime. The quotes are required.

OFF

-E Causes the Fortran preprocessorto send output to stdout.

OFF

Page 24: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

20

-e90, -e95 Causes the compiler to issue errorsinstead of warnings fornonstandard Fortran 90 (-e90) orFortran 95 (-e95). No such errorsor warnings are issued by default.

OFF

-[no]error_limitn (*new)

Specifies the maximum number oferror-level or fatal-level compilererrors allowed for a file specified onthe command line. A maximum of30 error-level and fatal-levelmessages are allowed before thecompiler stops the compilation.

-error_limit30

-EP Causes the Fortran preprocessorto send output to stdout,omitting#line directives.

OFF

-error_limit num Specifies the maximum number oferror-level or fatal-level compilererrors allowed for a file specified onthe command line. If you specify-noerror_limit, there is no limitto the number of errors that areallowed. The default indicates amaximum of 30 error-level andfatal-level messages before thecompiler stops the compilation.

-error_limit30

-extend_source[size]

Specifies the column number touse to end the statement field infixed-form source files. size canbe 72, 80, or 132. The defaultbehavior is-noextend_source, whichimplies column 72. If you specify-extend_source with no size, thedefault is -extend_source 132.Specifying -extend_source setsthe -fixed option.

OFF

-F Causes the Fortran preprocessorto send output to a file (same asthe-preprocess_only and -Poptions). To use this option, youmust also specify −fpp.

OFF

Page 25: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

21

-f66 or -66 (*new) Tells the compiler to applyFORTRAN-66 semantics: theexecution of at least one iterationof DO loops, different EXTERNALstatement syntax and semantics,and different behavior of theBLANK= and STATUS= specifierson the OPEN statement. The defaultis -nof66, which applies Fortran95 semantics.

OFF

-f77rtl (*new) Tells the compiler to use theruntime behavior of FORTRAN 77instead of Intel® Fortran. Thisaffects some INQUIRE specifierswhen the unit is not connected to afile, PAD= defaults to 'NO’ forformatted input, NAMELIST inputformat is different, and NAMELISTand list-directed input of characterstrings must be delimited byapostrophes or quotes.

OFF(-nof77rtl)

-fast Enhances speed across the entireprogram. Sets the followingcommand options that can improveruntime performance:-O3, -ipo,and-static.

OFF

-fcode_asm Produces an assembly file withoptional code annotations. To usethis option, you must also specify -S.

OFF

-fcommon (*new) Tells the compiler to treat commonsymbols as global definitions andto allocate memory for eachsymbol at compile time. This maypermit the compiler to use the moreefficient GP-relative addressingmode when accessing the symbol.

OFF(-fno-common)

-FI Specifies source files are in fixedformat (same as the -fixedoption).

Based on fileextension

-fixed (*new) Specifies source files are in fixedformat. By default, source fileformat is determined by the fileextension.

Based on fileextension

Page 26: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

22

-fminshared(*new)

Tells the compiler to treat acompilation unit as a component ofa main program and not to link itas a shareable object. Implies -fvisibility=protected.

OFF

-fno-alias Specifies that aliasing should notbe assumed in the program.

-falias

-fno-fnalias Specifies that aliasing should notbe assumed within functions, butshould be assumed across calls.

-ffnalias

-fnsplitItanium-basedsystems

Enables function splitting (enabledwith -prof_use). The default is-fnsplit-, which disables thesplitting within a routine but leavesfunction grouping enabled.

-fnsplit-

-fpIA-32 only

Disables using EBP as a generalpurpose register so it can be usedas a stack frame printer.

OFF

-fp_portIA-32 only

Rounds floating-point results afterfloating-point operations, sorounding to user-declared precisionhappens at assignments and typeconversions; this has some impacton speed. The default is to keepresults of floating-point operationsin higher precision; this providesbetter performance but lessconsistent floating-point results.

OFF

-fpconstant(*new)

Tells the compiler to extend theprecision to double precision forsingle-precision constantsassigned to double-precisionvariables.

OFF(-nofpconstant)

Page 27: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

23

-fpen (*new) Specifies floating-point exceptionhandling at run time for the mainprogram, n=0, 1, 3.

-fpe0 - floating underflow resultsin zero; all other floating-pointexceptions abort execution;

-fpe1 - floating underflow resultsin zero; all other floating-pointexceptions produce exceptionalvalues (signed Infinities or NaNs)and execution continues;

-fpe3 - all floating-pointexceptions produce exceptionalvalues (signed infinities,denormals, or NaNs) and executioncontinues; this is the default. Alsosee -ftz.

-fpe3

-fpic, -fPIC(*new)

Generates position-independentcode. Can also be specified as -fPIC.

OFF

-fpp[n] Runs the Fortran preprocessor onsource files prior to compilation.n=0: disables # directives(equivalent to -nofpp).n=1: enables # directives. Thisis equivalent to -fpp and is thedefault if the Fortran preprocessoris invoked.2 - Same as 1.3 - Same as 1.

OFF (if notinvoked)

-fpp1 if thepreprocessor isinvoked

-fpscomp keyword(*new)

Specifies a level of compatibilitywith Microsoft* FortranPowerStation as indicated by akeyword: all, none,[no]filesfromcmd,[no]general, [no]ioformat,[no]libs, [no]logicals.

For all andnolibs:-fpscomplibs

For the rest:-fpscompnone

Page 28: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

24

-fpstkchk (*new)IA-32 compiler

Generates extra code after everyfunction call to assure that the FP(floating-point) stack is in theexpected state. By default, there isno checking. So when the FP stackoverflows, NaN value is put into FPcalculations, and the program’sresults differ. Unfortunately, theoverflow point can be far awayfrom the point of the actual bug.The -fpstkchk option placescode that would access-violateimmediately after an incorrect calloccurred, thus making it easier tolocate these issues.

OFF

-FR Specifies source files are in freeformat (same as the -freeoption).

Based onsource fileextension

-fr32Itanium compiler

Disables use of high floating-pointregisters. Uses only the lower 32floating-point registers.

OFF

-free (*new) Specifies source files are in freeformat. By default, source fileformat is determined by the filesuffix.

Based onsource fileextension

-fsource_asm Produces an assembly file withoptional code annotations. To usethis option, you must also specify -S.

OFF

-ftz[-] Enables (or disables: -ftz-)floating underflow results set tozero.

For Itanium-based systems only:option -O3 sets -ftz on.

-ftz-

-fverbose-asm Produces an assembly file withcompiler comments, includingoptions and version information. Touse this option, you must alsospecify -S, which sets -fverbose-asm. If you do not wantthis default when you specify -S,specify -fnoverbose-asm.

-fnoverbose-asm

Page 29: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

25

-fvisibility=keyword(*new)

-fvisibility-keyword=file(*new)

The first form specifies the defaultvisibility for global symbols usingone of the five command lineoptions corresponding to thekeyword: external, default,protected, hidden, andinternal.

The second form specifies thevisibility for symbols that are in afile (this form overrides the firstform). The file is the pathnameof a file containing the list ofsymbols whose visibility you wantto set; the symbols are separatedby whitespace (spaces, tabs, ornewlines)See Intel® Fortran CompilerManpages for more details.

OFF

-fwritable-strings (*new)

Specifies that string literals shouldbe placed in a writable datasection. This option is used forcompatibility with old programs thatwrite into string literals.

OFF

-g Produces symbolic debuginformation in the object file. Thecompiler does not support thegeneration of debugginginformation in assemblable files. Ifyou specify the -g option, theresulting object file will containdebugging information, but theassemblable file will not.

On IA-32 systems, specifying the -g or -O0 option automaticallyenables the-fp option. See "Optimizationsand Debugging" in the Intel®Fortran Compiler User's Guide,Volume II.

OFF

-help Prints the list of compiler options. OFF

Page 30: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

26

-Idir Specifies a directory to add to theinclude path, which is used tosearch for module files (USEstatement) and include files(INCLUDE statement).

OFF

-i_dynamic Links Intel-provided librariesdynamically.

OFF

-i{2|4|8} Defines the default KIND forinteger variables and constants tobe 2, 4, and 8 bytes (same as -integer_size {16|32|64} )

-i4same as-integer_size32

-implicitnone Sets the default type of a variableto undefined (IMPLICIT NONE).Same as the -u option.

OFF

-inline_debug_info

Preserves the source position ofinlined code instead of assigningthe call-site source position toinlined code.

OFF

-intconstant(*new)

Tells the compiler to useFORTRAN 77 semantics, ratherthan Fortran 95/90 semantics, todetermine the KIND for integerconstants.

OFF(-nointconstant)

-integer_sizesize (*new)

Defines the size of INTEGER andLOGICAL variables. The size canbe 16, 32, or 64.

-integer_size32

-ip Enables single-file interproceduraloptimizations. If you specify thisoption, the compiler performs inlinefunction expansion for calls tofunctions defined within the currentsource file.

OFF

-ip_no_inlining Disables full and partial inliningenabled by -i8. To use this option,you must specify -ip or -ipo.

ON

-ip_no_pinliningIA-32 compiler

Disables partial inlining. To use thisoption, you must specify -ip or -ipo.

OFF

Page 31: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

27

-IPF_fltaccItanium compiler

Disables optimizations that affectfloating-point accuracy. If thedefault setting is used (-IPF_fltacc-), the compiler mayapply optimizations that reducefloating−point accuracy. You canuse -IPF_fltacc or -mp toimprove floating-point accuracy,but at the cost of disabling someoptimizations.

-IPF_fltacc-

-IPF_flt_eval_method0Itanium compiler

Directs the compiler to evaluate theexpressions involving floating-pointoperands in the precision indicatedby the variable types declared inthe program. By default,intermediate floating-pointexpressions are maintained inhigher precision.

OFF

-IPF_fma[-]Itanium compiler

Enables the combining of floating-point multiplies and add/subtractoperations. Also enables thecontraction of floating-point multiplyand add/subtract operations into asingle operation. The compilercontracts these operationswhenever possible. However, if -mp is specified, these contractionsare disabled.

OFF(-IPF_fma-)

-IPF_fp_speculationmodeItanium compiler

Enables floating-point speculationswith one of the following modeconditions:

fast −Speculate floating-pointoperations.off −Disables speculation offloating-point operations.safe −Speculate only when safe.strict −This is the same asspecifying off.

-IPF_fp_speculationfast

Page 32: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

28

-ipo Enables mult file IP optimizations(between files). When you specifythis option, the compiler performsinline function expansion for callsto functions defined in separatefiles. For this reason, it is importantto compile the entire application ormultiple, related source filestogether when you specify -ipo.

OFF

-ipo_c Generates a multifile object file(ipo_out.o) that can be used infurther link steps.

OFF

-ipo_obj Forces the generation of real objectfiles. Requires -ipo.

IA-32: OFFItanium Compiler:ON

-ipo_S Generates a multi file assembly file(ipo_out.s) that can be used infurther link steps.

OFF

-ivdep_parallelItanium compiler

Tells the compiler that there is noloop-carried memory dependencyin any loop following an IVDEPdirective.

OFF

-Kpic This is a deprecated option ; it canalso be specified as -KPIC. Use -fpic instead.

OFF

-Ldir Tells the linker to search forlibraries in dir before searchingthe standard directories.

OFF

-lowercase Causes the compiler to ignore casedifferences in identifiers and toconvert external names tolowercase (same as the -nameslowercase option). This is thedefault.

ON

-mixed_str_len_arg(*new)

Tells the compiler that the hiddenlength passed for a characterargument is to be placedimmediately after its correspondingcharacter argument in theargument list. The default(-nomixed_str_len_arg)places the hidden lengths insequential order at the end of theargument list.

OFF

Page 33: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

29

-module dir Specifies the directory dir wheremodule (.mod) files should beplaced when created and wherethey should be searched for (USEstatement).

OFF

-mp Maintains floating-point precision(while disabling someoptimizations). Restrictsoptimization to maintain declaredprecision and to ensure thatfloating-point arithmetic conformsmore closely to the ANSI* andIEEE standards.

For most programs, specifying thisoption adversely affectsperformance. If you are not surewhether your application needs thisoption, try compiling and runningyour program both with and withoutit to evaluate the effects on bothperformance and precision.

OFF

-mp1IA-32 compiler

Improves floating-point precision.This option disables feweroptimizations and has less impacton performance than -mp.

OFF

-names keyword(*new)

Specifies how source codeidentifiers and external names areinterpreted as indicated by akeyword: as_is, lowercase,uppercase.

OFF

-nbs Tells the compiler to treat abackslash as a normal character,not an escape character (same asthe -assume nobscc option).

OFF

-no_cpprt (*new) Prevents linking of the C++ runtimelibraries.

OFF

-noalign Prevents the alignment of dataitems. This is the same asspecifying-align none.

-align

-noaltparam(*new)

Specifies if alternate form ofparameter constant declarations isrecognized or not.

-altparam

Page 34: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

30

-nobss_init Places any variables that areexplicitly initialized with zeros in theDATA section. By default, variablesexplicitly initialized with zeros areplaced in the BSS section.

OFF

-nodefaultlibs(*new)

Prevents the compiler from usingstandard libraries when linking.

OFF

-nodefine (*new) Specifies that all preprocessordefinitions apply only to -fpp andnot to Intel Fortran conditionalcompilation directives.

OFF

-nodps Specifies that the alternate form ofparameter constant declarations(without parenthesis) should not berecognized (same as the-noaltparam option).

-dps

-nofor_main(*new)

Specifies the main program is notwritten in Fortran, and prevents thecompiler from linking for_main.ointo applications.

OFF

-noinclude Prevents the compiler fromsearching in /usr/include forfiles specified in an INCLUDEstatement. You can specify the -Idir option along with this option.This option does not affectcpp(1) behavior, and is notrelated to the Fortran 95 and 90USE statement.

OFF

-nolib_inline(*new)

Disables inline expansion ofintrinsic functions.

OFF

-nologo Suppresses compiler versioninformation.

OFF

-nostartfiles(*new)

Prevents the compiler from usingstandard startup files when linking.

OFF

-nostdinc (*new) Removes standard directories frominclude file search path (same asthe-X option.)

OFF

-nostdlib (*new) Prevents the compiler from usingstandard libraries and startup fileswhen linking.

OFF

-nus Disables appending an underscoreto external subroutine names.

OFF

Page 35: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

31

-ofile Speci fies the name for an outputfile.

OFF

-O0 Disables -On optimizations. OnIA-32 systems, this option sets the-fp option.

OFF

-O1 On IA-32 systems,enablesoptimizations for speed. Alsodisables intrinsic recognition andthe -fp option. This option is thesame as the-O2 option.

On Itanium(R)-based systems,enables optimizations for serverapplications (straight-line andbranch-like code with flat profile).Enables optimizations forspeed,while being aware of codesize.For example, this optiondisables software pipelining andloop unrolling.

OFF

-O2, -O This option is the default foroptimizations. However,if -g isspecied, the default is -O0.

On IA-32 systems, this option is thesame as the -O1 option.

On Itanium-based systems,enables optimizations for speed,including global code scheduling,software pipelining, predication,and speculation.

On these systems, the -O2 optionenables inlining of intrinsics. It alsoenables the following capabilitiesfor performance gain: constantpropagation, copy propagation,dead-code elimination, globalregister allocation, globalinstruction scheduling and controlspeculation, loop unrolling,optimized code selection, partialredundancy elimination, strengthreduction/induction variable

ON

Page 36: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

32

simplification, variable renaming,exception handling optimizations,tail recursions, peepholeoptimizations, structure assignmentlowering and optimizations, anddead store elimination.

-O3 Enables -O2 optimizations plusmore aggressive optimizations,such as prefetching, scalarreplacement, and looptransformations. Enablesoptimizations for maximum speed,but does not guarantee higherperformance unless loop andmemory access transformationtake place.

On IA-32 systems, when the-O3 option is used with the-ax and -x options, it causes thecompiler to perform moreaggressive data dependencyanalysis than for -O2, which mayresult in longer compilation times.

On Itanium-based systems,enables optimizations for technicalcomputing applications (loop-intensive code): loop optimizationsand data prefetch.

OFF

-Ob{0|1|2} Controls inline expansion. Theamount of inline expansionperformed varies as follows:

-Ob0: disable inlining; however,statement functions are alwaysinlined.

-Ob1: Enables inlining ofroutines.This is the default.

-Ob2: enables inlining of anyroutine, at the compiler ’sdiscretion. Enables interproceduraloptimizations (has the same effectas the -ip option).

-Ob1

Page 37: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

33

-onetrip Executes at least one iteration ofDO loops (same as the -1 option).This option has the same effect as-f66 or -66.

OFF

-openmp Enables the parallelizer to generatemultithreaded code based onOpenMP* directives. The code canbe executed in parallel on bothuniprocessor and multiprocessorsystems. The -openmp optionworks with both -O0 (nooptimization) and any optimizationlevel of -On. Specifying-O0 with -openmp helps to debugOpenMP applications.

OFF

-openmp_report{0|1|2}

Controls the OpenMP parallelizer ’slevel of diagnostic messages.

0 − Displays no diagnosticinformation.

1 − Displays diagnostics indicatingloops, regions, and sectionssuccessfully parallelized.

2 − Displays the diagnosticsspecified by -openmp_report1plus diagnostics indicatingMASTER constructs, SINGLEconstructs, CRITICAL constructs,ORDERED constructs, ATOMICdirectives, etc., successfullyhandled.

-openmp_report1

-openmp_stubs Enables the compiler to generatesequential code. The OpenMPdirectives are ignored and a stubOpenMP library is linked.

OFF

-opt_report Generates optimizations report anddirects to stderr unless-opt_report_file is specified.

OFF

-opt_report_filefilename

Specifies the filename to holdthe optimizations report.

OFF

-opt_report_help

Lists the logical names ofoptimizers available for reportgeneration (for

OFF

Page 38: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

34

-opt_report_phase).

-opt_report_level{min|med|max}

Specifies the detail level of theoptimizations report.

-opt_report_levelmin

-opt_report_phasephase

Specifies the phase against whichreports are generated. Thecompiler generates reports for theoptimizer you specify in phase.This option can be used multipletimes on the same command lineto generate reports for multipleoptimizers. Currently, the followingoptimizer reports are supported:

ipo − Interprocedural Optimizerhlo − High Level Optimizerilo − Intermediate LanguageScalar Optimizerecg − Code Generatoromp − Open MPall − All phases

When one of the above logicalnames for optimizers is specifiedfor phase, all reports from thatoptimizer are generated.

OFF

-opt_report_routine[substring ]

Generates a report on the routinescontaining the speci fiedsubstring . If substring is notspecified, reports from all routinesare generated.

OFF

-p Compiles and links for functionprofiling with gprof (1). This isthe same as specifying -pg or -qp.

OFF

-P Causes the Fortran preprocessorto send output to a file (same asthe-preprocess_only and -Foptions). To use this option, youmust also specify -fpp.

OFF

-pad, -nopad Enables the changing of thevariable and array memory layout.

-nopad

Page 39: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

35

-pad_source Specifies that fixed-form sourcerecords shorter than the statementfield width are to be padded withspaces (on the right) to the end ofthe statement field. This affects theinterpretation of character andHollerith literals that are continuedacross source records.

OFF

-par_report{0|1|2|3}

Controls the auto-parallelizerdiagnostic messages.

0 − Displays no diagnosticinformation.1 − Displays diagnostics indicatingloops successfully auto-parallelized. This is the default.Issues a "LOOP AUTO-PARALLELIZED" message forparallel loops.2 − Displays diagnostics indicatingloops successfully auto-parallelized, as well asunsuccessful loops.3 −Displays the diagnosticsspecified by -par_report2 plusadditional information about anyproven or assumed dependenciesinhibiting auto-parallelization(reasons for not parallelizing).

-par_report1

-par_thresholdn Sets a threshold for the auto-parallelization of loops based onthe probability of profitableexecution of the loop in parallel.This option is used for loops whosecomputation work volume cannotbe determined at compile-time. Thethreshold is usually relevant whenthe loop trip count is unknown atcompile-time.n=0 to 100. The compiler applies aheuristic that tries to balance theoverhead of creating multiplethreads versus the amount of workavailable to be shared amongst thethreads.

n=100

Page 40: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

36

-parallel Enables the auto-parallelizer togenerate multithreaded code forloops that can be safely executedin parallel. To use this option, youmust also specify -O2 or -O3.

OFF

-pc32-pc64-pc80IA-32 compiler

Enables control of floating-pointsignificand precision. Somefloating-point algorithms aresensitive to the accuracy of thesignificand, or fractional part of thefloating-point value. For example,iterative operations like divisionand finding the square root can runfaster if you lower the precisionwith the -pcn option.

-pc32 Rounds the significand to24 bits-pc64 Rounds the significand to53 sbit-pc80 Rounds the significand to64 bits

-pc64

-pg Compile and link for functionprofiling with gprof(1). This is thesame as specifying -p or -qp.

OFF

-prec_divIA-32 compiler

Improves precision of floating-pointdivides; it has some speed impact.With some optimizations, such as -xK and -xW, the compiler changesfloating-point division computationsinto multiplication by the reciprocalof the denominator. For example,A/B is computed as A x (1/B) toimprove the speed of thecomputation. However, for valuesof B greater than 2126, the value of1/B is "flushed" (changed) to 0.

When it is important to maintain thevalue of 1/B, use -prec_div todisable the floating-point division-to-multiplication optimization. Theresult of -prec_div is moreaccurate, with some loss ofperformance.

OFF

Page 41: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

37

-prefetch[-]IA-32 compiler

Enables or disables prefetchinsertion (requires -O3).

ON

-preprocess_only Causes the Fortran preprocessorto send output to a file (same asthe -F and -P options). To use thisoption, you must also specify -fpp.

OFF

-prof_dirdir Specifies a directory dir for theprofiling output files, *.dyn and*dpi.

OFF

-prof_filefile Specifies a file name file for theprofiling summary file.

OFF

-prof_format_32 Produces profile data with 32-bitcounters; allows compatibility withearlier compilers. The default is toproduce profile data with 64-bitcounters to handle large numbersof events.

OFF

-prof_gen Instruments a program for profiling. OFF-prof_use Enables use of profiling information

during optimization.OFF

-Qinstall dir Sets dir as a root directory forcompiler installation.

OFF

-Qlocation,tool,path

Sets path as the location of thetool specified by tool.

OFF

-Qoption,tool,opts

Passes options, opts, to the toolspecified by tool , which can befpp, f, c, asm (on IA-32 systems),ias (on Itanium-based systems), orlink.

OFF

-qp Compile and link for functionprofiling with prof(1) tool. This isthe same as specifying -p or -pg.

OFF

Page 42: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

38

-r{8|16} Defines the KIND for real variablesin 8 and 16 bytes.-r8: Defines REAL declarations,constants, functions, and intrinsicsas DOUBLE PRECISION REAL*8,and defines COMPLEX declarations,constants, functions, and intrinsicsas DOUBLE COMPLEX(COMPLEX*16). This option is thesame as specifying -real_size64 or -autodouble.

-r16: Defines REAL and DOUBLEPRECISION declarations,constants, functions, and intrinsicsas REAL*16, and definesCOMPLEX and DOUBLE COMPLEXdeclarations, constants, functions,and intrinsics as COMPLEX*32.This option is the same asspecifying -real_size 128.

-r8

-rcdIA-32 compiler

Disables the change to truncationof the rounding mode for allfloating-point calculations, includingfloating point-to-integerconversions. This option canimprove performance, but floating-point conversions to integer will notconform to Fortran semantics.

OFF

-real_size size(*new)

Defines the size of REAL andCOMPLEX declarations, constants,functions, and intrinsics. The sizecan be 32, 64, or 128.

-real_size32

-recursive (*new) Specifies that all routines should becompiled for possible recursiveexecution. This option sets the -auto option.

OFF(-norecursive)

-reentrancykeyword (*new)

Specifies that the compiler shouldgenerate reentrant code thatsupports a multithreadedapplication. keyword: none, threaded, async.

OFF(-noreentrancy)

-S Causes the compiler to compile toan assembly file (.s) only and notlink.

OFF

Page 43: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

39

-safe_cray_ptr Specifies that CRAY* pointers donot alias with other variables.

OFF

-save Places variables, except thosedeclared as AUTOMATIC, in staticmemory (same as -noauto or-noautomatic). The default is-auto_scalar. However, if youspecify -recursive or -openmp,the default is -auto.

OFF(-auto_scalar)

-scalar_rep[-]IA-32 compiler

Enables scalar replacementperformed during looptransformation. To use thisoption,you must also specify -03.

OFF(-scalar_rep-)

-shared Instructs the compiler to build aDynamic Shared Object (DSO)instead of an executable. OnItanium-based systems, you mustspecify -fpic for the compilationof each object file you want toinclude in the shared library.

OFF

-shared-libcxa(*new)

Links the Intel libcxa C++ librarydynamically, overriding the defaultbehavior when -static is used.This option is the opposite of-static-libcxa.

ON

-sox[-]IA-32 compiler

Enables saving of the compileroptions and version in theexecutable.

-sox-

-stand keyword(*new)

Causes the compiler to issuecompile-time messages fornonstandard language elements.keyword: f90, f95, none.

OFF (-nostand or-stand none)

-static Prevents linking with sharedlibraries. Causes the executable tolink all libraries statically.

OFF

-static-libcxa(*new)

Links the Intel libcxa C++ librarystatically. This option is theopposite of -shared-libcxa.

OFF

-std90 Causes the compiler to issuemessages for language elementsthat are not standard in Fortran 90(same as the -stand f90 option).

OFF

Page 44: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

40

-std95 or -std Causes the compiler to issuemessages for language elementsthat are not standard in Fortran 95(same as the -stand f95 option).This option is set if you specify -warn stderrors.

OFF

-syntax_only Speci fies that the source fileshould be checked only for correctsyntax (same as the -syntax and-y options). No code is generated,no object file is produced, andsome error checking done by theoptimizer is bypassed. This optionlets you do a quick syntax check ofyour source file.

OFF

-T file (*new) Tells the linker to read linkcommands from the specified file.

OFF

-Tffile Speci fies that file should becompiled as a Fortran source file.This option is useful when youhave a file with a nonstandardfilename suffix.

OFF

-threads (*new) Specifies that multithreadedlibraries should be linked. Thisoption sets the-reentrancy threaded option.

OFF (-nothreads)

-tpp1Itanium compiler

Optimizes for the Intel® Itanium®processor.

OFF

-tpp2Itanium compiler

Optimizes for the Intel® Itanium® 2processor. This is the default onItanium-based systems.

ON

-tpp{5|6|7}IA-32 compiler

-tpp5 optimizes for the IntellPentium® processor.-tpp6 optimizes for the IntelPentium Pro, Pentium II, andPentium III processors.-tpp7 optimizes for the Intel®Pentium® 4 processors, Intel®Xeon(TM) processors, Intel®Pentium® M processors, and(*new) Intel processors code-named Prescott. This is the defaulton IA-32 systems.

-tpp7

Page 45: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

41

-traceback (*new) Tells the compiler to generate extrainformation in the object file toallow the display of source filetraceback information at runtimewhen a severe error occurs.

OFF(-notraceback)

-tune keywordIA-32 compiler

Determines the version of thearchitecture for which the compilergenerates instructions. keyword:-tune pn1 - optimizes for theIntel® Pentium® processor.-tune pn2 - optimizes for theIntel® Pentium® Pro, Intel®Pentium® II, and Inte® Pentium®III processors.-tune pn3 - optimizes for theIntel® Pentium® Pro, Intel®Pentium® II, and Intel® Pentium®III processors. This is the same asspecifying the -tune pn2 option.-tune pn4 - optimizes for theIntel® Pentium® 4 processor. Thisis the default.

-tune pn4

-u Sets the default type of a variableto undefined (IMPLICIT NONE).This is the same as specifying the-implicitnone option.

ON

-Uname Removes the predefined macroname.

OFF

-unroll[n] Sets the maximum number of timesto unroll loops. Use -unroll0 todisable loop unrolling. The defaultis -unroll, which tells thecompiler to use default heuristics.

-unroll

-uppercase Causes the compiler to ignore casedifferences in identifiers and toconvert external names touppercase (same as the -namesuppercase option). The default is-lowercase (or -nameslowercase).

OFF

Page 46: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

42

-us Tells the compiler to append anunderscore character to externaluser-defined names (opposite of -nus). Specifying -us is the sameas specifying the -assumeunderscore option.

ON

-use_asm Tells the compiler to produceobjects through the assembler.

OFF

-V Displays compiler versioninformation.

OFF

-v Tells the driver that tool commandsshould be shown and executed.

OFF

-vec_report{0|1|2|3|4|5}

IA-32 compiler

Controls amount of vectorizerdiagnostic information as follows:n = 0: no informationn = 1: indicates vectorized loops(default)n = 2: indicates vectorized andnon-vectorized loopsn = 3: indicates vectorized andnon-vectorized loops andprohibiting data dependenceinformationn = 4: indicates non-vectorizedloopsn = 5: indicates non-vectorizedloops and prohibiting datadependence information.

-vec_report1

-vms Causes the runtime system tobehave like HP* Fortran forOpenVMS Alpha systems and VAXsystems (VAX FORTRAN*) invarious ways. See Intel® FortranCompiler Manpages for details.

OFF

-w Disables all warning messages(same as the -nowarn and -warnnogeneral options).

OFF

-W{n} Disables warnings (n =0) orenables warnings (n =1). Thedefault is -W1 (same as the -warngeneral option).-W0 is the same as specifying-warn nogeneral, -nowarn, or-w.

-W1

Page 47: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

43

-w90 Suppresses warning messagesabout Fortran features that aredeprecated or obsolescent inFortran 95 (same as the -w95option).

-w95 Suppresses warning messagesabout Fortran features that aredeprecated or obsolescent inFortran 95 (same as the -w95option).

OFF

-warn keyword(*new)

Specifies the level of warningmessages issued by the compileras indicated by a keyword: all,none, [no]alignments,[no]declarations,[no]errors, [no]general,[no]ignore_loc,[no]stderrors,[no]truncated_source,[no]uncalled, [no]unused,[no]usage.See Intel® Fortran CompilerManpages for details.

OFF(-warn noneor-warnnokeyword)

-what (*new) Prints the version strings of theFortran command and thecompiler.

OFF

-Wl o1 [,o2,...] (*new)

Passes options -o1, -o2, etc. tothe linker for processing.

OFF

-Wp o1 [,o2,...] (*new)

Passes options -o1, -o2, etc. tothe preprocessor.

OFF

-X Removes standard directories fromthe include file search path (sameas the-nostdinc option). You can usethe-X option with the -I option toprevent the compiler fromsearching the default path forinclude files and direct it to use analternate path.

OFF

Page 48: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

44

-x{K|W|N|B|P}

IA-32 compiler

Generates specialized code to runon processors supporting theextensions indicated by processor-specific codes:

K - Intel® Pentium® IIIprocessors and compatible Intelprocessors.

W - Intel Pentium 4 processors and compatible Intel processors.

The *new codes: when the mainprogram is compiled with one ofthese options, it will detect non-compatible processors andgenerate a fatal error messageduring execution. These optionsalso enable new optimizations inaddition to Intel processor specific-optimizations.

(*new) N - Intel Pentium 4 processors and compatible Intel processors.

(*new) B - Intel® Pentium® Mand compatible Intel processors.

(*new) P - Intel processors code-named Prescott and compatible Intel processors.

See Intel® Fortran CompilerManpages for more details.

OFF

-Xlinker val(*new)

Pass val directly to the linker forprocessing.

OFF

-y Specifies that the source file shouldbe checked only for correct syntax(same as the -syntax_only and-syntax options).

OFF

-zero Initializes to zero all local scalarvariables of intrinsic type INTEGER,REAL, COMPLEX, or LOGICAL,which are saved and not already

OFF (-zero-)

Page 49: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

45

initialized.-Zp{1|2|4|8|16} Aligns fields of records and

components of derived types onthe smaller of the size boundaryspecified or the boundary that willnaturally align them (same as the -align recnbyte option). The ncan be:1, 2, 4, 8, or 16. If you donot specify n, you get -Zp8, whichis the default.

-Zp8

Page 50: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

46

Windows* to Linux* Options Cross-referenceThis section provides cross-reference table of the Intel® Fortran Compileroptions used on the Windows* and Linux* operating systems. The optionsdescribed can be used for compilations targeted to either IA-32 or Itanium®-based applications or both. See Conventions Used in the Options Quick GuideTables.

• Options specific to IA-32 architecture• Options specific to the Itanium® architecture• All other options are available for both IA-32 and Itanium architectures.

NoteThe table is based on the alphabetical order of compiler options for Linux,second column.

NoteThe value in the Default column is used for both Windows and Linuxoperating systems unless indicated otherwise.

For more details on each of these options refer to the Intel® Fortran CompilerUser's Guide, Volumes I and II, and the Intel® Fortran Compiler Manpages.

Windows Option Linux Option Description Default

/1 -1 Executes at least oneiteration of DO loops(same as the -onetripoption). This option hasthe same effect as-f66 or -66 .

OFF

/4L{72|80|132}

-72, -80, -132

Treats the statementfield of each fixed-formsource line as ending incolumn 72 (the default),80, or 132 (same as the-extend_sourceoption).

/4L72-72

Page 51: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

47

/align:keyword

-alignkeyword

Tells the compiler toalign data items byadding padding bytes(same as the-align all option) asindicated by akeyword: all, none,[no]commons,dcommons,[no]recnbytes(n=1, 2, 4, 8, 16),[no]records,[no]sequenceSee Intel® FortranCompiler Manpages formore details.

-alignnocommons-alignrecords-alignnosequence-alignrec8bytes

/Qansi_alias[-]

-ansi_alias Tells the compiler toassume that theprogram adheres to theFortran 95 Standardtype aliasability rules.

-ansi_alias-

None -archkeywordIA-32 only

Determines the versionof the architecture forwhich the compilergenerates instructions.keyword:pn1 Optimizes for theIntel® Pentium®processor.pn2 Optimizes for theIntel® Pentium® Pro,Intel® Pentium® II, andIntel® Pentium® IIIprocessors.pn3 This is the sameas specifying the -archpn2 option.pn4 optimizes for theIntel® Pentium® 4processor.

-arch pn4

Page 52: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

48

/assume:bscc -assume bscc Tells the compiler totreat the backslashcharacter (\) as a C-style control (escape)character syntax incharacter literals. Thedefault is-assume nobscc,which tells the compilerto treat the backslashcharacter as a normalcharacter instead of acontrol character incharacter literals.

-assumenobscc

/assume:keyword

-assumekeyword

Specifies thatassumptions are madeby the optimizer andcode generatoraccording to theindicated keyword:none,[no]accuracy_sensitive, [no]bscc,[no]byterecl,[no]buffered_io,[no]dummy_aliases,[no]protect_constants,[no]source_include,[no]underscore.See Intel® FortranCompiler Manpages fordetails.

-assumenone

/assume:cc_omp

-assumecc_omp

Enables conditionalcompilation as definedby the OpenMP FortranAPI.-openmp enables thisoption: sets -assumecc_omp.

-assumecc_ompwith -openmpspecified

Page 53: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

49

/assume:minus0

-assumeminus0

Tells the compiler touse Fortran 95 standardsemantics for thetreatment of IEEE*floating value -0.0 in theSIGN intrinsic, if theprocessor is capable ofdistinguishing thedifference between -0.0and +0.0, and to write avalue of-0.0 with a negativesign on formattedoutput.

The default is -assumenominus0, which tellsthe compiler to useFortran 90/77 standardsemantics in the SIGNintrinsic to treat -0.0 and+0.0 as 0.0, and to writea value of -0.0 with nosign on formatted

output.

OFF(-assumenominus0)

/Qauto -auto Places variables,except those declaredas SAVE, on the runtimestack (same as-automatic or -nosave.

-auto_scalaror: if youspecify -recursiveor-openmp,the default is-auto

Page 54: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

50

/Qauto_ilp32Itanium-basedsystems

-auto_ilp32Itanium-basedsystems

Specifies that theapplication cannotexceed a 32-bitaddress space, whichallows the compiler touse 32-bit pointerswhenever possible. Touse this option, youmust also specify -ipo.

Using the -auto_ilp32 option onprograms that canexceed 32-bit addressspace (2**32) maycause unpredictableresults during programexecution.

OFF

/Qauto_scalar -auto_scalar Makes AUTOMATIC allscalar local variables ofintrinsic type INTEGER,REAL, COMPLEX, orLOGICAL. You cannotspecify -save, -autoor -automatic withthis option.

OFF

/Qautodouble -autodouble Defines real variables tobe EAL(KIND=8).Thisoption is the same asspecifying -r8.

OFF

/automatic -automatic Places variables,except those declaredas SAVE, on the runtimestack (same as-auto or -nosave).The default is -auto_scalar.However, if you specifyrecursive or -openmp, the default is-auto.

-auto_scalaror: if youspecify-recursiveor-openmp,the default is-auto.

Page 55: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

51

/Qax{K|W|N|B|P}IA-32 only

-ax{K|W|N|B|P}IA-32 only

Generates processor-specific codecorresponding to one ofcodes:

K - Intel® Pentium®III processors andcompatible Intelprocessors.

W - Intel Pentium 4processors andcompatible Intelprocessors.

The *new codes: theseoptions enable newoptimizations in additionto Intel processor-specific optimizations.

(*new) N - Intel Pentium 4 processors and compatible Intel processors.

(*new) B - Intel®Pentium® M andcompatible Intelprocessors.

(*new) P - Intelprocessors code-namedPrescott and compatibleIntel processors.

OFF

None -Bdynamic Enables dynamic linkingof libraries at runtime.Smaller executables arecreated than with staticlinking.

OFF

/[no]browser None Specifies that sourcebrowser informationshould be (or not)generated in theindicated file if present.

OFF(-nobrowser)

Page 56: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

52

None -Bstatic Enables static linking ofa user's library.

OFF

/c -c Causes the compiler tocompile to an object(.o) file only and notlink.

OFF

/CB -CB Performs runtimechecks on whetherarray subscript andsubstring referencesare within declaredbounds. Same as -check bounds.

OFF

/ccdefault:keyword

-ccdefaultkeyword

Specifies the type ofcarriage control usedfor units 6 and *;keyword = default,fortran, list, ornone.

-ccdefaultdefaultcan beaffected bythe -vmsoption, seemanpages

/check:keyword

-checkkeyword

Checks runtimeconditions, according tothe keyword: all,none,[no]arg_temp_created, [no]bounds,[no]format,[no]output_conversion

OFF(-nocheckor(-checknone)

/cm -cm Suppresses allmessages aboutquestionableprogramming practices(same as the -warnnousage option).

OFF

/Qcommon_args -common_args Tells the compiler thatdummy (formal)arguments toprocedures sharememory locations withother dummyarguments or withCOMMON variables thatare assigned. This isthe same as specifying

OFF

Page 57: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

53

-assumedummy_aliases.

/Qcomplex_limited_range[-]

-complex_limited_range[-]

Enables the use ofbasic algebraicexpansions of somearithmetic operationsinvolving data of typeCOMPLEX. This cancause someperformanceimprovements inprograms that use a lotof COMPLEX arithmetic,but values at theextremes of theexponent range maynot compute correctly.

OFF(-complex_limited_range-,optiondisabled)

/convert:keyword

-convertkeyword

Specifies the format ofunformatted filescontaining numeric dataindicated in a keyword:big_endian, cray,fdx, fgx, ibm,little_endian,native, vaxd, vaxg.See Intel® FortranCompiler Manpages formore details.

OFF

/Qcpp -cpp Runs the Fortranpreprocessor on sourcefiles prior to compilation(same as the -fppoption).

OFF

/Dname/Dname[=value]

-Dname-Dname[=value]

Defines the name as adefinition to use withconditional compilationdirectives or the Fortranpreprocessor (-fpp).The value can be aninteger or it can be acharacter stringdelimited by doublequotes; for example,-Dname="string". Ifno definition is given,the <name > is defined

OFF

Page 58: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

54

as "1"./d_lines -d_lines Compiles debug

statements (indicatedby D in column 1); thisis the same asspecifying -DD.

-nod_lines

/Qd_lines -DD Compiles debuggingstatements indicated bythe letter D in column 1of the source code; thisis the same asspecifying -d_lines.

OFF

/double_size:size

-double_sizesize

Defines the size ofDOUBLE PRECISIONand DOUBLE COMPLEXdeclarations, constants,functions, and intrinsics.The size can be 64(default) or 128.

-double_size 64

/Qdps[-] -dps Enable (default) ordisable DEC*parameter statementrecognition.

ON

/Bz -dryrun Specifies that driver toolcommands should beshown but notexecuted.

OFF

None -dynamic-linker(file)

Speci fies a dynamiclinker in file otherthan the default.

OFF

/Qdyncom:A,B,C

-dyncom"a,b,c"

Enables dynamicallocation of thespecified COMMONblocks at run time. Thequotes are required.

OFF

/E -E Causes the Fortranpreprocessor to sendoutput to stdout.

OFF

/4{Y|N}s -e90, -e95 Causes the compiler toissue errors instead ofwarnings fornonstandard Fortran 90(-e90) or Fortran 95 (-e95). No such errors orwarnings are issued by

OFF (/4Ns)

Page 59: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

55

default./EP -EP Causes the Fortran

preprocessor to sendoutput to stdout,omitting#line directives.

OFF

/[no]error_limit:num

-[no]error_limit num

Specifies the maximumnumber of error-level orfatal-level compilererrors allowed for a filespecified on thecommand line. Amaximum of 30 error-level and fatal-levelmessages are allowedbefore the compilerstops the compilation.

-error_limit 30

/Qextend_source:[size]

-extend_source [size]

Specifies the columnnumber to use to endthe statement field infixed-form source files.size can be 72, 80, or132. The defaultbehavior is -noextend_source,which implies column72. If you specify -extend_source withno size, the default is-extend_source132. Specifying -extend_source setsthe -fixed option.

-noextend_source

/F -F Causes the Fortranpreprocessor to sendoutput to a file (same asthe-preprocess_onlyand -P options). To usethis option, you mustalso specify -fpp.

OFF

/f66 or -66 -f66 or -66 Enforces FORTRAN-66semantics.

OFF

Page 60: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

56

/f77rtl -f77rtl Tells the compiler touse the runtimebehavior of FORTRAN77 instead ofIntel® Fortran. Thisaffects some INQUIREspecifiers when the unitis not connected to afile, PAD= defaults to'NO’ for formatted input,NAMELIST input formatis different, andNAMELIST and list-directed input ofcharacter strings mustbe delimited byapostrophes or quotes.

OFF(-nof77rtl)

/fast -fast Enhances speed acrossthe entire program. Setsthe following commandoptions that canimprove runtimeperformance: -O3, -ipo, and -static.

OFF

/FAc -fcode-asm Produces an assemblyfile with optional codeannotations. To use thisoption, you must alsospecify -S.

OFF

None -fcommon Tells the compiler totreat common symbolsas global definitions andto allocate memory foreach symbol at compiletime. This may permitthe compiler to use themore efficient GP-relative addressingmode when accessingthe symbol.

OFF(-fno-common)

/FI -FI Specifies source filesare in fixed format(same as the-fixed option).

Based on fileextension

Page 61: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

57

/fixed -fixed Specifies source filesare in fixed format. Bydefault, source fileformat is determined bythe file suffix.

Based on fileextension

None -fminshared Tells the compiler totreat a compilation unitas a component of amain program and notto link it as a shareableobject. Implies-fvisibility=protected

OFF

/Oa[-] -fno-alias Specifies that aliasingshould not be assumedin the program.

-falias/Oa

/Ow[-] -fno-fnalias Specifies that aliasingshould not be assumedwithin functions, butshould be assumedacross calls.

-ffnalias/Ow

/Qfnsplit -fnsplit-Itanium-basedsystems

Enables functionsplitting (enabled with -prof_use). The defaultis -fnsplit-, whichdisables the splittingwithin a routine butleaves functiongrouping enabled.

-fnsplit-

/Oy-IA-32 only

-fpIA-32 only

Disables using EBP asa general purposeregister so it can beused as a stack frameprinter.

OFF

Page 62: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

58

/Qfp_port -fp_portIA-32 only

Rounds floating-pointresults after floating-point operations, sorounding to user-declared precisionhappens atassignments and typeconversions; this hassome impact on speed.The default is to keepresults of floating-pointoperations in higherprecision; this providesbetter performance butless consistent floating-point results.

OFF

/fpconstant -fpconstant Tells the compiler toextend the precision todouble precision forsingle-precisionconstants assigned todouble-precisionvariables.

-nofpconstant

Page 63: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

59

/fpe:n -fpen Specifies floating-pointexception handling atrun time for the mainprogram, n=0, 1, 3.

-fpe0 - floatingunderflow results inzero; all other floating-point exceptions abortexecution;

-fpe1 - floatingunderflow results inzero; all other floating-point exceptionsproduce exceptionalvalues (signed Infinitiesor NaNs) and executioncontinues;

-fpe3 - all floating-point exceptionsproduce exceptionalvalues (signed infinities,denormals, or NaNs)and executioncontinues; this is thedefault. Also see -ftz.

/fpe:3-fpe3

None -fpic, -fPIC Generates position-independent code. Canalso be specified as -fPIC.

OFF

Page 64: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

60

/Qfpp:n -fpp n Runs the Fortranpreprocessor on sourcefiles prior tocompilation.n=0: disables CVF and# directives (equivalentto -nofpp).n=1: enables CVFconditional compilationand # directives; whenFortran preprocessor isinvoked,-fpp1 is the defaultn=2: enables only #directives;n=3: enables only CVFconditional compilationdirectives.

OFF

/fpscomp[:keyword]

-fpscomp[keyword]

Specifies a level ofcompatibility withMicrosoft* FortranPowerStation asindicated by akeyword: all, none,[no]filesfromcmd,[no]general,[no]ioformat,[no]libs,[no]logicals.

For all andnolibs:-fpscomplibs

For the rest:-fpscompnone

Page 65: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

61

/QfpstkchkIA-32 only

-fpstkchkIA-32 only

Generates extra codeafter every function callto assure that the FP(floating-point) stack isin the expected state.By default, there is nochecking. So when theFP stack overflows,NaN value is put intoFP calculations, and theprogram’s results differ.Unfortunately, theoverflow point can befar away from the pointof the actual bug. The-fpstkchk optionplaces code that wouldaccess-violateimmediately after anincorrect call occurred,thus making it easier tolocate these issues.

OFF

/FR -FR Specifies source filesare in free format (sameas the -free option).

Based onsource fileextension

None -fr32Itanium compiler

Disables use of highfloating-point registers.Uses only the lower 32floating-point registers.

OFF

/free -free Specifies source filesare in free format. Bydefault, source fileformat is determined bythe file suffix.

Based onsource fileextension

/FAs -fsource-asm Produces an assemblyfile with optional codeannotations. To use thisoption, you must alsospecify -S.

OFF

/Qftz[-] -ftz[-] Enables (or disables:-ftz-) floatingunderflow results set tozero. For Itanium-based systems only:option -O3 sets -ftz

-ftz-

Page 66: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

62

on.

None -fverbose-asm

Produces an assemblyfile with compilercomments, includingoptions and versioninformation. To use thisoption, you must alsospecify -S, which sets -fverbose-asm. If youdo not want this defaultwhen you specify -S,specify –fnoverbose-asm.

-fnoverbose-asm

None -fvisibility=keyword

-fvisibility-keyword=file

The first form specifiesthe default visibility forglobal symbols usingone of the fivecommand line optionscorresponding to thekeyword: external,default, protected,hidden, andinternal.

The second formspecifies the visibility forsymbols that are in afile (this form overridesthe first form). Thefile is the pathnameof a file containing thelist of symbols whosevisibility you want to set;the symbols areseparated bywhitespace (spaces,tabs, or newlines).See Intel® FortranCompiler Manpages formore details.

OFF

None -fwritable-strings

Specifies that stringliterals should be placedin a writable datasection. This option isused for compatibilitywith old programs that

OFF

Page 67: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

63

write into string literals./Zi, /Z7 -g Produces symbolic

debug information in theobject file. The compilerdoes not support thegeneration ofdebugging informationin assemblable files. Ifyou specify the -goption, the resultingobject file will containdebugging information,but the assemblable filewill not.

On IA-32 systems,specifying the -g or -O0 option automaticallyenables the-fp option.

OFF

/help -help Prints the list ofcompiler options.

OFF

/Idir -Idir Specifies a directory toadd to the include path,which is used to searchfor module files (USEstatement) and includefiles (INCLUDEstatement).

OFF

None -i_dynamic Links Intel-providedlibraries dynamically.

OFF

/4I{2|4|8} -i{2|4|8} Defines the defaultKIND for integervariables and constantsto be 2, 4, and 8 bytes(same as-integer_size{16|32|64} )

/4I4-i4

/4{Y|N}d -implicitnone

Sets the default type ofa variable to undefined(IMPLICIT NONE).Same as the -u option.

OFF

Page 68: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

64

/Qinline_debug_info

-inline_debug_info

Preserves the sourceposition of inlined codeinstead of assigning thecall-site source positionto inlined code.

OFF

/intconstant -intconstant Tells the compiler touse FORTRAN 77semantics, rather thanFortran 95/90semantics, to determinethe KIND for integerconstants.

OFF

/integer_size:size

-iteger_sizesize

Defines the size ofINTEGER and LOGICALvariables. The sizecan be 16, 32, or 64.

-integer_size 32

/Qip -ip Enables single-fileinterproceduraloptimizations.

OFF

/Qip_no_inlining

-ip_no_inlining

Disables full and partialinlining enabled by -i8.To use this option, youmust specify -ip or -ipo.

OFF

/Qip_no_pinliningIA-32 only

-ip_no_pinliningIA-32 only

Disables partial inlining.To use this option, youmust specify -ip or -ipo.

OFF

/QIPF_fltacc[-]Itanium-basedsystems

-IPF_fltacc[-]Itanium-basedsystems

Disables optimizationsthat affect floating-pointaccuracy. If the defaultsetting is used (-IPF_fltacc-), thecompiler may applyoptimizations thatreduce floating−pointaccuracy. You can use-IPF_fltacc or -mpto improve floating-pointaccuracy, but at thecost of disabling someoptimizations.

-IPF_fltacc-

Page 69: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

65

/QIPF_flt_eval_method0Itanium-basedsystems

-IPF_flt_eval_method0Itanium-basedsystems

Directs the compiler toevaluate theexpressions involvingfloating-point operandsin the precisionindicated by thevariable types declaredin the program. Bydefault, intermediatefloating-pointexpressions aremaintained in higherprecision.

OFF

/QIPF_fma[-]Itanium-basedsystems

-IPF_fmaItanium-basedsystems

Enables the combiningof floating-pointmultiplies andadd/subtract operations.Also enables thecontraction of floating-point multiply andadd/subtract operationsinto a single operation.The compiler contractsthese operationswhenever possible.However, if -mp isspecified, thesecontractions aredisabled.

-IPF_fma-

/QIPF_fp_speculationmodeItanium-basedsystems

-IPF_fp_speculationmodeItanium-basedsystems

Enables floating-pointspeculations with one ofthe following modeconditions:

fast −Speculatefloating-pointoperations.off −Disablesspeculation of floating-point operations.safe −Speculate onlywhen safe.strict −This is thesame as specifying off.

-IPF_fp_speculationfast

Page 70: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

66

/Qipo -ipo Enables mult file IPoptimizations (betweenfiles). When you specifythis option, the compilerperforms inline functionexpansion for calls tofunctions defined inseparate files. For thisreason, it is important tocompile the entireapplication or multiple,related source filestogether when youspecify -ipo.

OFF

/Qipo_c -ipo_c Generates a multifileobject file (ipo_out.o)that can be used infurther link steps.

OFF

/Qipo_obj -ipo_obj Forces the generationof real object files.Requires -ipo.

IA-32: OFFItaniumCompiler:ON

/Qipo_S -ipo_S Generates a multi fileassembly file(ipo_out.s) that canbe used in further linksteps.

OFF

/Qivdep_parallelItanium-basedsystems

-ivdep_parallelItanium-basedsystems

Tells the compiler thatthere is no loop-carriedmemory dependency inany loop following anIVDEP directive.

OFF

None -Kpic This is a deprecatedoption; it can also bespecified as-KPIC. Use -fpicinstead.

OFF

None -Ldir Tells the linker tosearch for libraries indir before searchingthe standard directories.

OFF

Page 71: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

67

/libdir:all -[no]libdir[keyword]

Controls the librarynames that should beemitted into the objectfile as indicated in akeyword: all,[no]automatic,[no]user.

-libdirall

None -lname Links with the libraryindicated in name.

OFF

/Qlowercase -lowercase Causes the compiler toignore case differencesin identifiers and toconvert external namesto lowercase (same asthe -nameslowercase option).This is the default.

Windows:OFFLinux: ON

/iface:mixed_str_len_arg

-mixed_str_len_arg

Tells the compiler thatthe hidden lengthpassed for a characterargument is to beplaced immediatelyafter its correspondingcharacter argument inthe argument list. Thedefault(-nomixed_str_len_arg) places thehidden lengths insequential order at theend of the argument list.

OFF

/Fmfilename None Instructs the linker toproduce a map file.

OFF

/module:dir -module dir Specifies the directorydir where module(.mod) files should beplaced when createdand where they shouldbe searched for (USEstatement).

OFF

Page 72: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

68

/Op[-] -mp Maintains floating-pointprecision (whiledisabling someoptimizations). Restrictsoptimization to maintaindeclared precision andto ensure that floating-point arithmeticconforms more closelyto the ANSI* and IEEEstandards.

For most programs,specifying this optionadversely affectsperformance. If you arenot sure whether yourapplication needs thisoption, try compilingand running yourprogram both with andwithout it to evaluatethe effects on bothperformance andprecision.

OFF

/Qprec

IA-32 compiler

-mp1

IA-32 compiler

Improves floating-pointprecision. This optiondisables feweroptimizations and hasless impact onperformance than -mp.

OFF

/names:keyword

-nameskeyword

Specifies how sourcecode identifiers andexternal names areinterpreted as indicatedby a keyword: as_is,lowercase,uppercase

OFF

/nbs -nbs Tells the compiler totreat a backslash as anormal character, notan escape character(same as the-assume nobsccoption).

OFF

Page 73: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

69

None -no_cpprt Prevents linking of theC++ runtime libraries.

OFF

/align:none -noalign Prevents the alignmentof data items. This isthe same as specifying-align none.

-align

/noaltparam -noaltparam Speci fies that thealternate form ofparameter constantdeclarations (withoutparenthesis) should notbe recognized (same asthe-nodps option).Thisform has noparenthesessurrounding the list, andthe form of theconstant, rather thanimplicit or explicittyping, determines thedata type of thevariable.

-altparam

/Qnobss_init -nobss_init Places any variablesthat are explicitlyinitialized with zeros inthe DATA section. Bydefault, variablesexplicitly initialized withzeros are placed in theBSS section.

OFF

None -nodefaultlibs

Prevents the compilerfrom using standardlibraries when linking.

OFF

/nodefine -nodefine Specifies that allpreprocessor definitionsapply only to -fpp andnot to Intel Fortranconditional compilationdirectives.

OFF

Page 74: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

70

/Qdps- -nodps Specifies that thealternate form ofparameter constantdeclarations (withoutparenthesis) should notbe recognized (same asthe-noaltparam option).

-dps

None -nofor_main Specifies the mainprogram is not written inFortran, and preventsthe compiler fromlinking for_main.ointo applications.

OFF

/noinclude -noinclude Prevents the compilerfrom searching in/usr/include for filesspecified in anINCLUDE statement.You can specify the -Idir option along withthis option. This optiondoes not affectcpp(1) behavior, andis not related to theFortran 95 and 90 USEstatement.

ON

/Oi- -nolib_inline

Disables inlineexpansion of intrinsicfunctions.

ON

/nologo -nologo Suppresses compilerversion information.

OFF

None -nostartfiles

Prevents the compilerfrom using standardstartup files whenlinking.

OFF

None -nostdinc Remove standarddirectories from includefile search path (sameas the -X option.)

OFF

None -nostdlib Prevents the compilerfrom using standardlibraries and startupfiles when linking.

OFF

Page 75: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

71

None -nus Disables appending anunderscore to externalsubroutine names.

OFF

/Fafile/Fofile/Fefile

-ofile Speci fies the name foran output file.

OFF

/Od -O0 Disables -Onoptimizations. On IA-32systems, this optionsets the -fp option.

OFF

/O1 -O1 On IA-32systems,enablesoptimizations for speed.Also disables intrinsicrecognition and the -fpoption. This option isthe same as the-O2 option.

On Itanium(R)-basedsystems, enablesoptimizations for serverapplications (straight-line and branch-likecode with flat profile).Enables optimizationsfor speed,while beingaware of code size.Forexample, this optiondisables softwarepipelining and loopunrolling.

OFF

/O2 -O2, -O This option is thedefault foroptimizations.However,if -g isspecied, the default is -O0.

On IA-32 systems, thisoption is the same asthe -O1 option.

On Itanium-basedsystems, enablesoptimizations for speed,

ON

Page 76: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

72

including global codescheduling, softwarepipelining, predication,and speculation.

On these systems, the-O2 option enablesinlining of intrinsics. Italso enables thefollowing capabilities forperformance gain:constant propagation,copy propagation,dead-code elimination,global registerallocation, globalinstruction schedulingand control speculation,loop unrolling,optimized codeselection, partialredundancy elimination,strengthreduction/inductionvariable simplification,variable renaming,exception handlingoptimizations, tailrecursions, peepholeoptimizations, structureassignment loweringand optimizations, anddead store elimination.

Page 77: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

73

/O3 -O3 Enables -O2optimizations plus moreaggressiveoptimizations, such asprefetching, scalarreplacement, and looptransformations.Enables optimizationsfor maximum speed, butdoes not guaranteehigher performanceunless loop andmemory accesstransformation takeplace.

On IA-32 systems,when the-O3 option is used withthe-ax and -x options, itcauses the compiler toperform moreaggressive datadependency analysisthan for -O2, which mayresult in longercompilation times.

On Itanium-basedsystems, enablesoptimizations fortechnical computingapplications (loop-intensive code): loopoptimizations and dataprefetch.

OFF

Page 78: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

74

/Ob{0|1|2} -Ob{0|1|2} Controls inlineexpansion. The amountof inline expansionperformed varies asfollows:

-Ob0: disable inlining;however, statementfunctions are alwaysinlined.

-Ob1: Enables inliningof routines.This is thedefault.

-Ob2: enables inliningof any routine, at thecompiler ’s discretion.Enablesinterproceduraloptimizations (has thesame effect as the-ip option).

-Ob1

/Qonetrip -onetrip Executes at least oneiteration of DO loops(same as the -1option). This option hasthe same effect as -f66 or -66.

OFF

/Qopenmp -openmp Enables the parallelizerto generatemultithreaded codebased on OpenMP*directives. The codecan be executed inparallel on bothuniprocessor andmultiprocessor systems.The -openmp optionworks with both -O0 (nooptimization) and anyoptimization level of -On. Specifying -O0 with-openmp helps todebug OpenMPapplications.

OFF

Page 79: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

75

/Qopenmp_report{0|1|2}

-openmp_report{0|1|2}

Controls the OpenMPparallelizer ’s level ofdiagnostic messages.

0 − Displays nodiagnostic information.

1 − Displaysdiagnostics indicatingloops, regions, andsections successfullyparallelized.

2 − Displays thediagnostics specified by-openmp_report1plus diagnosticsindicating MASTERconstructs, SINGLEconstructs, CRITICALconstructs, ORDEREDconstructs, ATOMICdirectives, etc.,successfully handled.

-openmp_report1

/Qopenmp_stubs

-openmp_stubs

Enables the compiler togenerate sequentialcode. The OpenMPdirectives are ignoredand a stub OpenMPlibrary is linked.

OFF

/Qopt_report -opt_report Generates anoptimization report anddirects to stderrunless -opt_report_file isspecified.

OFF

/Qopt_report_filefilename

-opt_report_filefilename

Specifies thefilename to hold theoptimizations report.

OFF

/Qopt_report_help

-opt_report_help

Lists the logical namesof optimizers availablefor report generation(for -opt_report_phase).

OFF

Page 80: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

76

/Qopt_report_level{min|med|max}

-opt_report_level{min|med|max}

Specifies the detail levelof the optimizationsreport.

-opt_report-levelmin

/Qopt_report_phasephase

-opt_report_phasephase

Specifies the phaseagainst which reportsare generated. Thecompiler generatesreports for the optimizeryou specify in phase.This option can be usedmultiple times on thesame command line togenerate reports formultiple optimizers.Currently, the followingoptimizer reports aresupported:

ipo − InterproceduralOptimizerhlo − High LevelOptimizerilo − IntermediateLanguage ScalarOptimizerecg − Code Generatoromp − Open MPall − All phases

When one of the abovelogical names foroptimizers is specifiedfor phase, all reportsfrom that optimizer aregenerated.

OFF

/Qopt_report_routine[substring]

-opt_report_routine[substring]

Generates a report onthe routines containingthe speci fiedsubstring . Ifsubstring is notspecified, reports fromall routines aregenerated.

OFF

Page 81: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

77

None -p Compiles and links forfunction profiling withgprof (1). This is thesame as specifying -pgor -qp .

OFF

/P -P Causes the Fortranpreprocessor to sendoutput to a file (same asthe-preprocess_onlyand -F options). To usethis option, you mustalso specify -fpp.

OFF

/Qpad[-] -pad Enables the changing ofthe variable and arraymemory layout.

OFF (-nopad)

/Qpad_source -pad_source Specifies that fixed-formsource records shorterthan the statement fieldwidth are to be paddedwith spaces (on theright) to the end of thestatement field. Thisaffects the interpretationof character andHollerith literals that arecontinued acrosssource records.

OFF

Page 82: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

78

/Qpar_report{0|1|2|3}

-par_report{0|1|2|3}

Controls the auto-parallelizer diagnosticmessages.

0 − Displays nodiagnostic information.1 − Displaysdiagnostics indicatingloops successfully auto-parallelized. This is thedefault. Issues a "LOOPAUTO-PARALLELIZED"message for parallelloops.2 − Displaysdiagnostics indicatingloops successfully auto-parallelized, as well asunsuccessful loops.3 −Displays thediagnostics specified by-par_report2 plusadditional informationabout any proven orassumed dependenciesinhibiting auto-parallelization (reasonsfor not parallelizing).

-par_report1

Page 83: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

79

/Qpar_threshold{n}

-par_threshold{n}

Sets a threshold for theauto-parallelization ofloops based on theprobability of profitableexecution of the loop inparallel. This option isused for loops whosecomputation workvolume cannot bedetermined at compile-time. The threshold isusually relevant whenthe loop trip count isunknown at compile-time.n=0 to 100. Thecompiler applies aheuristic that tries tobalance the overhead ofcreating multiplethreads versus theamount of workavailable to be sharedamongst the threads.

n=100

/Qparallel -parallel Enables the auto-parallelizer to generatemultithreaded code forloops that can be safelyexecuted in parallel. Touse this option, youmust also specify -O2or -O3.

OFF

/Qpc{32|64|80}IA-32 only

-pc32-pc64-pc80IA-32 only

Enables floating-pointsignificand precisioncontrol as follows:-pc32 to 24-bitsignificand-pc64 to 53-bitsignificand-pc80 to 64-bitsignificandSee Intel® FortranCompiler Manpages formore details.

/Qpc64-pc64

Page 84: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

80

/[no]pdbfile:[file]

None Specifies that anydebug-relatedinformation should (orshould not) begenerated to a programdatabase file.

OFF(-nopdbfile)

None -pg Compile and link forfunction profiling withgprof(1). This is thesame as specifying -por -qp.

OFF

/Qprec_divIA-32 only

-prec_divIA-32 only

Disables floating pointdivision-to-multiplicationoptimization resulting inmore accurate divisionresults. Slight speedimpact.

OFF

/Qprefetch[-]IA-32 only

-prefetch[-]IA-32 only

Enables or disablesprefetch insertion(requires -O3).

OFF

None -preprocess_only

Causes the Fortranpreprocessor to sendoutput to a file (same asthe -F and -P options).To use this option, youmust also specify -fpp.

OFF

/Qprof_dirdir -prof_dirdir Specifies a directory forprofiling output files,*.dyn and *dpi.

OFF

/Qprof_filefile

-prof_filefile

Specifies a file namefile for the profilingsummary file.

OFF

/Qprof_format_32

-prof_format_32

Produces profile datawith 32-bit counters;allows compatibility withearlier compilers. Thedefault is to produceprofile data with 64-bitcounters to handle largenumbers of events.

OFF

/Qprof_gen -prof_gen Instruments a programfor profiling.

OFF

/Qprof_use -prof_use Enables use of profilinginformation duringoptimization.

OFF

Page 85: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

81

None -Qinstall,dir

Sets dir as a rootdirectory for compilerinstallation.

OFF

/Qlocation,tool,path

-Qlocation,tool,path

Specifies an alternateversion of a tool locatedat path.

OFF

/Qoption,tool,opts

-Qoption,tool,opts

Passes options, opts,to the tool specified bytool , which can befpp, f, c, asm (on IA-32 systems), ias (onItanium-basedsystems), or link.

OFF

None. -qp Compile and link forfunction profiling withprof(1) tool. This isthe same as specifying-p or -pg.

OFF

/4R{8|16} -r{8|16} Defines the KIND forreal variables in 8 and16 bytes.-r8: Defines REALdeclarations, constants,functions, and intrinsicsas DOUBLEPRECISION REAL*8,and defines COMPLEXdeclarations, constants,functions, and intrinsicsas DOUBLE COMPLEX(COMPLEX*16). Thisoption is the same asspecifying -real_size64 or -autodouble.

-r16: Defines REALand DOUBLEPRECISIONdeclarations, constants,functions, and intrinsicsas REAL*16, anddefines COMPLEX andDOUBLE COMPLEXdeclarations, constants,functions, and intrinsicsas COMPLEX*32. This

-r8

Page 86: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

82

option is the same asspecifying -real_size128.

/QrcdIA-32 only

-rcdIA-32 only

Disables the change totruncation of therounding mode for allfloating-pointcalculations, includingfloating point-to-integerconversions. Thisoption can improveperformance, butfloating-pointconversions to integerwill not conform toFortran semantics.

OFF

/real_size:size

-real_sizesize

Defines the size ofREAL and COMPLEXdeclarations, constants,functions, and intrinsics.The size can be 32,64, or 128.

-real_size32

/recursive -recursive Specifies that allroutines should becompiled for possiblerecursive execution.This option sets the -auto option.

OFF

/reentrancy:keyword

-reentrancykeyword

Specifies that thecompiler shouldgenerate reentrant codethat supports amultithreadedapplication. keyword:none, threaded,async.

OFF

/S -S Causes the compiler tocompile to an assemblyfile (.s) only and notlink.

OFF

/Qsafe_cray_ptr

-safe_cray_ptr

Specifies that CRAY*pointers do not aliaswith other variables.

OFF

Page 87: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

83

/Qsave -save Places variables,except those declaredas AUTOMATIC, instatic memory (same as-noauto or-noautomatic). Thedefault is -auto_scalar.However, if you specify-recursive or -openmp, the default is-auto.

OFF

/Qscalar_rep[-]IA-32 only

-scalar_rep[-]IA-32 only

Enables scalarreplacement performedduring looptransformation. To usethis option,you mustalso specify -03.

OFF(-scalar_rep-)

None -shared Tells the compiler toproduce a dynamicshared object instead ofan executable. OnItanium-based systems,you must specify -fpicfor the compilation ofeach object file youwant to include in theshared library.

OFF

None -shared-libcxa

Links the Intel libcxaC++ library dynamically,overriding the defaultbehavior when-static is used. Thisoption is the opposite of-static-libcxa.

ON

/Qsox[-] -sox[-]IA-32 only

Enables saving of thecompiler options andversion in theexecutable.

OFF (-sox-)

/stand:keyword

-standkeyword

Causes the compiler toissue compile-timemessages fornonstandard languageelements. keyword:f90, f95, none.

OFF(-nostandor-standnone)

Page 88: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

84

None -static Prevents linking withshared libraries.Causes the executableto link all librariesstatically.

OFF

None -static-libcxa

Links the Intel libcxaC++ library statically.This option is theopposite of -shared-libcxa.

OFF

/stand:f90 -std90 Causes the compiler toissue messages forlanguage elements thatare not standard inFortran 90 (same as the-stand f90 option).

OFF

/stand:f95 -std95 or -std

Causes the compiler toissue messages forlanguage elements thatare not standard inFortran 95 (same as the-stand f95 option).This option is set if youspecify -warnstderrors.

OFF

/Zs -syntax_only Speci fies that thesource file should bechecked only for correctsyntax (same as the -syntax and -yoptions). No code isgenerated, no object fileis produced, and someerror checking done bythe optimizer isbypassed. This optionlets you do a quicksyntax check of yoursource file.

OFF

None -T file Tells the linker to readlink commands from thespecified file.

OFF

Page 89: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

85

/Tffile -Tffile Speci fies that fileshould be compiled asa Fortran source file.This option is usefulwhen you have a filewith a nonstandardfilename suffix.

OFF

/threads -threads Specifies thatmultithreaded librariesshould be linked. Thisoption sets the-reentrancythreaded option.

OFF(-nothreads)

/G1Itanium-basedsystems

-tpp1Itanium-basedsystems

Optimizes for the Intel®Itanium® processor.

OFF

/G2Itanium-basedsystems

-tpp2Itanium-basedsystems

Optimizes for the Intel®Itanium® 2 processor.This is the default onItanium-based systems.

/G2-tpp2

/G{5|6|7}IA-32 only

-tpp{5|6|7}IA-32 only

-tpp5 optimizes for theIntel® Pentium®processor.-tpp6 optimizes for theIntel Pentium Pro,Pentium II, andPentium III processors.-tpp7 optimizes for theIntel Pentium 4processors, Intel®Xeon(TM) processors,Intel® Pentium® Mprocessors, and Intelprocessors code-namedPrescott. This is thedefault on IA-32systems.

/G7-tpp7

/traceback -traceback Tells the compiler togenerate extrainformation in the objectfile to allow the displayof source file tracebackinformation at runtimewhen a severe erroroccurs.

OFF

Page 90: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

86

None -tunekeywordIA-32 only

Determines the versionof the architecture forwhich the compilergenerates instructions.keyword:-tune pn1 -optimizes for the Intel®Pentium® processor.-tune pn2 -optimizes for the Intel®Pentium® Pro, Intel®Pentium® II, and Inte®Pentium® IIIprocessors.-tune pn3 -optimizes for the Intel®Pentium® Pro, Intel®Pentium® II, and Intel®Pentium® IIIprocessors. This is thesame as specifying the-tune pn2 option.-tune pn4 -optimizes for the Intel®Pentium® 4 processor.This is the default.

-tune pn4

/4{Y|N}d -u Sets the default type ofa variable to undefined(IMPLICIT NONE).This is the same asspecifying the-implicitnoneoption.

ON

/Uname -Uname Removes thepredefined macro name.

OFF

/Qunroll[n] -unroll[n] Sets the maximumnumber of times tounroll loops. Use-unroll0 to disableloop unrolling. Thedefault is-unroll, which tellsthe compiler to usedefault heuristics.

-unroll

Page 91: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

87

/Quppercase -uppercase Causes the compiler toignore case differencesin identifiers and toconvert external namesto uppercase (same asthe -namesuppercase option).The default is -lowercase (or -names lowercase).

Windows*:ONLinux*: OFF

None -us Tells the compiler toappend an underscorecharacter to externaluser-defined names(opposite of -nus).Specifying -us is thesame as specifying the-assumeunderscore option.

None -use_asm Tells the compiler toproduce objects throughthe assembler.

OFF

/QV -V Displays compilerversion information.

OFF

None -v Tells the driver that toolcommands should beshown and executed.

OFF

/Qvec_report{n}IA-32 only

-vec_report{n}IA-32 only

Controls amount ofvectorizer diagnosticinformation as follows:n = 0: no informationn = 1: indicatesvectorized loops(default)n = 2: indicatesvectorized and non-vectorized loopsn = 3: indicatesvectorized and non-vectorized loops andprohibiting datadependence informationn = 4: indicates non-vectorized loopsn = 5: indicates non-

-vec_report1

Page 92: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

88

vectorized loops andprohibiting datadependenceinformation.

/Qvms -vms Causes the runtimesystem to behave likeHP* Fortran forOpenVMS Alphasystems and VAXsystems (VAXFORTRAN*) in variousways. See Intel®Fortran CompilerManpages for details.

OFF

/w -w Disables all warningmessages (same as the-nowarn and -warnnogeneral options).

OFF

/W{0|1} -W{0|1} Disables warnings (n=0) or enables warnings(n =1). The default is -W1 (same as the-warn generaloption).-W0 is the same asspecifying -warnnogeneral, -nowarn,or -w.

-W1

/w90, /w95 -w90, -w95 Suppresses warningmessages aboutFortran features whichare deprecated orobsolescent in eitherFortran 90 or Fortran95.

OFF

Page 93: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

89

/warn:keyword -warnkeyword

Specifies the level ofwarning messagesissued by the compileras indicated by akeyword: all, none,[no]alignments,[no]declarations,[no]errors,[no]general,[no]ignore_loc,[no]stderrors,[no]truncated_source, [no]uncalled,[no]unused,[no]usage. See Intel®Fortran CompilerManpages for details.

OFF(-warnnone or -warnnokeyword)

/what -what Prints the versionstrings of the Fortrancommand and thecompiler.

OFF

/link 01[,O2] -Wl o1 [,o2...]

Passes options -o1, -o2, etc. to the linker forprocessing.

OFF

/fpp:“o1[,O2]”

-Wp o1 [,o2...]

Passes options -o1, -o2, etc. to thepreprocessor.

OFF

/X -X Removes standarddirectories from theinclude file search path(same as the-nostdinc option).You can use the -Xoption with the -Ioption to prevent thecompiler from searchingthe default path forinclude files and direct itto use an alternatepath.

OFF

Page 94: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

90

/Qx{K|W|N|B|P}IA-32 only

-x{K|W|N|B|P}IA-32 only

Generates specializedcode to run onprocessors supportingthe extensions indicatedby processor-specificcodes:

K - Intel® Pentium®III processors andcompatible Intelprocessors.

W - Intel Pentium 4processors andcompatible Intelprocessors.

The *new codes: whenthe main program iscompiled with one ofthese options, it willdetect non-compatibleprocessors andgenerate a fatal errormessage duringexecution. Theseoptions also enable newoptimizations in additionto Intel processorspecific-optimizations.

(*new) N - Intel Pentium4 processors andcompatible Intelprocessors.

(*new) B - Intel®Pentium® M andcompatible Intelprocessors.

(*new) P - Intelprocessors code-namedPrescott and compatibleIntel processors.

OFF

Page 95: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

91

/link val -Xlinker val Pass val directly to thelinker for processing.

OFF

/Zs -y Specifies that thesource file should bechecked only for correctsyntax (same as the-syntax_only and-syntax options).

OFF

/Qzero[-] -zero Initializes to zero alllocal scalar variables ofintrinsic type INTEGER,REAL, COMPLEX, orLOGICAL, which aresaved and not alreadyinitialized.

OFF(/Qzero-)(-zero-)

/Zp{1|2|4|8|16}

-Zp{1|2|4|8|16}

Aligns fields of recordsand components ofderived types on thesmaller of the sizeboundary specified orthe boundary that willnaturally align them(same as the -alignrecnbyte option). Then can be:1, 2, 4, 8, or16. If you do not specifyn, you get -Zp8, whichis the default.

-Zp8

Page 96: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation
Page 97: Intel® Fortran Compiler Options Quick Reference Guide for Linux* … · 2008. 1. 28. · Intel® Fortran Compiler Options Quick Reference 4-assume cc_omp Enablesconditionalcompilation

Intel® Fortran Compiler Options Quick Reference

93

IndexC

Compiler

Options Quick ReferenceAlphabetical ............................ 13

Compiler........................................... 4

Compiler......................................... 13

D

Disclaimer ........................................ 1

L

Linux............................................... 46

N

New compiler options ...................... 4

O

Options

Overviews.....................................2

Quick reference alphabetical .....13

Options .............................................2

Options .............................................4

Options ...........................................13

Options ...........................................46

Options Cross-reference................46

W

Windows* to Linux* optionscrossreference............................46