وارد bashrc. شدم با (kate .bashrc ) و در انتهای اون opt/intel/fc/10.1.008/bin/ifortvars.sh/ . رو تایپ کردم به زیر نگاه کنید لطفا
[[left]code]
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# ... and ignore same sucessive entries.
export HISTCONTROL=ignoreboth
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_colored_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
;;
*)
;;
esac
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
#if [ -f ~/.bash_aliases ]; then
# . ~/.bash_aliases
#fi
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
. /opt/intel/fc/10.1.018/bin/ifortvars.sh
[/left][left]ifort: command line error: no files specified; for help type "ifort -help"
[/left]
و بعدش هم ifort -help زدم[left]Intel(R) Fortran Compiler Help
==============================
usage: ifort [options] file1 [file2 ...]
where options represents zero or more compiler options
fileN is a Fortran source (.f .for .ftn .f90 .fpp .F .FOR .F90 .i .i90),
assembly (.s .S), object (.o), static library (.a), or other
linkable file
Commonly used options may be placed in the ifort.cfg file.
Compiler Option List
--------------------
Optimization
------------
-O1 optimize for maximum speed, but disable some optimizations which
increase code size for a small speed benefit.
-O2 enable optimizations (DEFAULT)
-O3 enable -O2 plus more aggressive optimizations that may not improve
performance for all programs
-O0 disable optimizations
-O same as -O2
-fast enable -xT -O3 -ipo -no-prec-div -static
Options set by -fast cannot be overridden, list options separately to
change behavior
-inline-level=<n> control inline expansion:
n=0 disable inlining
n=1 no inlining (unless -ip specified)
n=2 inline any function, at the compiler's discretion (same as -ip)
-falias assume aliasing in program (DEFAULT)
-fno-alias assume no aliasing in program
-ffnalias assume aliasing within functions (DEFAULT)
-fno-fnalias assume no aliasing within functions, but assume aliasing across
calls
-f[no-]inline-functions
inline any function, at the compiler's discretion (same as -ip)
-finline-limit=<n>
set maximum number of statements a function can have and still
be considered for inlining
-f[no-]omit-frame-pointer
enable(DEFAULT)/disable use of EBP as general purpose register.
-fno-omit-frame-pointer replaces -fp
-f[no-]keep-static-consts
enable/disable(DEFAULT) emission of static const variables even
when not referenced
Advanced Optimization
---------------------
-reentrancy <keyword>
specify whether the threaded, reentrant run-time support
should be used
Keywords: none (same as -noreentrancy), threaded, async
-noreentrancy
do not use threaded, reentrant run-time support
-nolib-inline
disable inline expansion of intrinsic functions
-heap-arrays [n]
Temporary arrays of minimum size n (in kilobytes) are
allocated in heap memory rather than on the stack
-no-heap-arrays
(DEFAULT) Temporary arrays are allocated on the stack
-pad enable changing variable and array memory layout
-nopad disable(DEFAULT) changing variable and array memory layout
-unroll[n] set maximum number of times to unroll loops. Omit n to use
default heuristics. Use n=0 to disable loop unroller.
-[no-]scalar-rep
enable(DEFAULT)/disable scalar replacement (requires -O3)
-unroll-aggressive
enables more aggressive unrolling heuristics
-funroll-loops unroll loops based on default heuristics
-safe-cray-ptr Cray pointers do not alias with other variables
-[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules in
optimizations; user asserts that the program adheres to
these rules
-[no-]complex-limited-range
enable/disable(DEFAULT) the use of the basic
algebraic expansions of some complex arithmetic
operations. This can allow for some performance
improvement in programs which use a lot of complex
arithmetic at the loss of some exponent range.
-opt-multi-version-aggressive
enables more aggressive multi-versioning
-opt-ra-region-strategy[=<keyword>]
select the method that the register allocator uses to
partition each routine into regions
routine - one region per routine
block - one region per block
trace - one region per trace
loop - one region per loop
default - compiler selects best option
-vec-guard-write enables cache/bandwidth optimization for stores under
conditionals (within vector loops)
-opt-jump-tables=<arg>
default - let the compiler decide when a jump table, a
series of if-then-else constructs or a
combination is generated
never - do not generate jump tables and always use
if-then-else constructs
large - generate jump tables up to a certain pre-
defined size (64K entries)
<n> - generate jump tables up to <n> in size
Code Generation
---------------
-mcpu=<cpu> same as -mtune=<cpu>
-mtune=<cpu> optimize for a specific cpu
pentium3 - optimize for Intel Pentium(R) III processors
pentium4 - optimize for Intel Pentium(R) 4 processor (DEFAULT)
core2 - optimize for Intel Core(TM)2 processor family
-march=<cpu> generate code excusively for a given <cpu>
pentium3 - streaming SIMD extensions
pentium4 - Intel Pentium(R) 4 New Instructions
core2 - Intel Core(TM)2 processor family
-ax<codes> generate code specialized for processors specified by <codes>
while also generating generic IA-32 instructions. <codes>
includes one or more of the following characters:
K Intel Pentium III and compatible Intel processors
W Intel Pentium 4 and compatible Intel processors
N Intel Pentium 4 and compatible Intel processors. Enables new
optimizations in addition to Intel processor-specific optimizations
P Intel(R) Core(TM) processor family with Streaming SIMD
Extensions 3 (SSE3) instruction support
T Intel(R) Core(TM)2 processor family with SSSE3
S Future Intel processors supporting SSE4 Vectorizing Compiler and
Media Accelerator instructions
-x<codes> generate specialized code to run exclusively on processors
indicated by <codes> as described below
K Intel Pentium III and compatible Intel processors
W Intel Pentium 4 and compatible Intel processors
N Intel Pentium 4 and compatible Intel processors. Enables new
optimizations in addition to Intel processor-specific optimizations
P Intel(R) Core(TM) processor family with Streaming SIMD
Extensions 3 (SSE3) instruction support
T Intel(R) Core(TM)2 processor family with SSSE3
O Intel(R) Core(TM) processor family. Code is expected to run properly
on any processor that supports SSE3, SSE2 and SSE instruction sets
S Future Intel processors supporting SSE4 Vectorizing Compiler and
Media Accelerator instructions
-tune <keyword>
pn1 - optimize for Pentium(R) processor
pn2 - optimize for Pentium(R) Pro, Pentium(R) II, and
Pentium(R) III processors
pn3 - same as pn2
pn4 - optimize for Pentium(R) 4 processor (DEFAULT)
-arch <keyword>
pn1 - optimize for Pentium(R) processor
pn2 - optimize for Pentium(R) Pro, Pentium(R) II, and
Pentium(R) III processors
pn3 - same as pn2
pn4 - optimize for Pentium(R) 4 processor (DEFAULT)
-mia32 generate generic IA-32 architecture code for Intel Pentium III and
compatible Intel processors. This option lets you disable any default
or previously-set extended instruction settings
-msse generate code for Intel Pentium III and compatible Intel processors
-msse2 generate code for Intel Pentium 4 and compatible Intel processors
-msse3 generate code for Intel(R) Core(TM) Duo processors, Intel(R) Core(TM)
Solo processors, Intel Pentium 4 and compatible Intel processors with
Streaming SIMD Extensions 3 (SSE3) instruction support
Language
--------
-stand [<keyword>]
specifies level of conformance with ANSI standard to check
for. -stand default level of conformance is f03
keywords: f90, f95, f03, none
-std90 Issue messages for language elements that are not standard in
Fortran 90 (same as -stand f90 option)
-std95,-std Issue messages for language elements that are not standard in
Fortran 95 (same as -stand f95 option)
-std03 Issue messages for language elements that are not standard in
Fortran 2003 (same as -stand f03 option)
-e90 Issue errors for language elements that are not standard in
Fortran 90 (same as -stand f90 -warn stderrors options)
-e95 Issue errors for language elements that are not standard in
Fortran 95 (same as -stand f95 -warn stderrors options)
-e03 Issue errors for language elements that are not standard in
Fortran 2003 (same as -stand f03 -warn stderrors options)
-[no]pad-source make compiler acknowledge blanks at the end of a line
-[no]dps, -[no]altparam
specify if alternate form of parameter constant declarations
(without parenthesis) is recognized. Default is to recognize
-u, -implicitnone set IMPLICIT NONE by default
-common-args assume "by reference" subprogram arguments may alias one
another. Same as -assume dummy_aliases
-[no]mixed-str-len-arg
indicates whether hidden lengths are passed after their
character argument or after all arguments.
-assume <keyword>
specify assumptions made by the optimizer and code generator
keywords: none, [no]byterecl, [no]buffered_io,
[no]dummy_aliases, [no]minus0,
[no]old_boz, [no]old_unit_star,
[no]protect_constants, [no]protect_parens,
[no]underscore, [no]2underscore,
[no]source_include, [no]writeable_strings
-[no]fixed,-FI specifies source files are in fixed format
-[no]free, -FR specifies source files are in free format
-72 specify 72 column lines for fixed form sources
-80 specify 80 column lines for fixed form sources
-132 specify 132 column lines for fixed form sources
-extend-source same as -132
-extend-source [size]
Determines the column that ends the statement field of each
source line in a fixed-format file. -extend-source default
size is 132
size: 72, 80, 132
-noextend-source
source lines are expected to be 72 characters
-ccdefault <keyword>
specify default carriage control for units 6 and *
keywords: default, fortran, list, or none
-C enable extensive runtime error checking
-CB runtime checks for out-of-bounds array subscript/substring refs
Same as -check bounds
-CA runtime checks for valid pointers. Same as -check pointer
-CU runtime checks for uninitialized variables. Same as -check uninit
-check <keyword>
check run-time conditions
keywords: all (same as -C), none (same as -nocheck),
[no]arg_temp_created, [no]bounds, [no]format,
[no]output_conversion, [no]pointer, [no]uninit
-nocheck perform no extra run-time checks
-nbs treat backslash as a normal character, not an escape character
-us append an underscore to external subroutine names
-nus do not append an underscore to external subroutine names
-lowercase change routine names to all lowercase (DEFAULT)
(same as -names lowercase)
-uppercase change routine names to all uppercase (same as -names uppercase)
-names <keyword>
specify how source code identifiers and external names are
interpreted
keywords: as_is, lowercase, uppercase
-syntax-only perform syntax check only
Compatibility
-------------
-fpscomp [keyword]
specify the level of compatibility to adhere to with Fortran
PowerStation
keywords: all, none (same as -nofpscomp),
[no]filesfromcmd, [no]general, [no]ioformat,
[no]ldio_spacing, [no]libs, [no]logicals
-nofpscomp no specific level of compatibility with Fortran Powerstation
-1, -onetrip execute any DO loop at least once
-f66, -66 allow extensions that enhance FORTRAN-66 compatibility
-[no]f77rtl specify that the Fortran 77 specific run-time support should
-vms enable VMS and DEC statement extensions
be used
Compiler Diagnostics
--------------------
-cm suppress all comment messages
-q suppress printing errors to stderr
-w disable all warnings
-Wn disable warnings (n=0) or show warnings
(n=1, DEFAULT, same as -warn general)
-w90, -w95 suppress messages about use of non-standard Fortran
-warn <keyword>
specifies the level of warning messages issued.
keywords: all, none (same as -nowarn),
[no]alignments, [no]declarations, [no]errors,
[no]general, [no]ignore_loc, [no]interfaces,
[no]stderrors, [no]truncated_source, [no]uncalled,
[no]unused, [no]usage
-nowarn suppress all warning messages
-WB turn a compile-time bounds check into a warning
-Winline enable inline diagnostics
-[no]gen-interfaces
generate interface blocks for all routines in the file. Can be
checked using -warn interfaces
-[no]traceback
specify whether the compiler generates PC correlation data used
to display a symbolic traceback rather than a hexidecimal traceback
at runtime failure
-error-limit <size>
specify the maximum number of error-level or fatal-level compiler
errors allowed
-noerror-limit
set no maximum number on error-level or fatal-level error messages
-diag-enable <v1>[,<v2>,...]
enable a specific diagnostic or a specified group of diagnostics
-diag-disable <v1>[,<v2>,...]
disable a specific diagnostic or a specified group of diag-nostics
-diag-error <v1>[,<v2>,...]
make the specified diagnostic or group of diagnostics warnings
when emitted
-diag-warning <v1>[,<v2>,...]
make the specified diagnostic or group of diagnostics remarks
when emitted
-diag-remark <v1>[,<v2>,...]
make the specified diagnostic or group of diagnostics errors
when emitted
-diag-dump
display the currently enabled diagnostic messages to stdout or to
a specified diagnostic output file. No compilation is performed
-diag-file[=<file>]
<file> where diagnostics are emitted to. Not specifying this
causes messages to be output to stderr
-diag-file-append[=<file>]
<file> where diagnostics are emitted to. When <file> already
exists, output is appended to the file
-[no-]diag-id-numbers
enable(DEFAULT)/disable the diagnostic specifiers to be output
in numeric form
Inlining
--------
-inline-min-size=<n>
set size limit for inlining small routines
-no-inline-min-size
no size limit for inlining small routines
-inline-max-size=<n>
set size limit for inlining large routines
-no-inline-max-size
no size limit for inlining large routines
-inline-max-total-size=<n>
maximum increase in size for inline function expansion
-no-inline-max-total-size
no size limit for inline function expansion
-inline-max-per-routine=<n>
maximum number of inline instances in any function
-no-inline-max-per-routine
no maximum number of inline instances in any function
-inline-max-per-compile=<n>
maximum number of inline instances in the current compilation
-no-inline-max-per-compile
no maximum number of inline instances in the current compilation
-inline-factor=<n>
set inlining upper limits by n percentage
-no-inline-factor
do not set inlining upper limits
-inline-forceinline
treat inline routines as forceinline
Interprocedural Optimizations (IPO)
-----------------------------------
-ip enable single-file IP optimizations (within files)
-ipo[n] enable multi-file IP optimizations (between files)
-ipo-c generate a multi-file object file (ipo_out.o)
-ipo-S generate a multi-file assembly file (ipo_out.s)
-ip-no-inlining disable full and partial inlining (requires -ip or -ipo)
-ip-no-pinlining disable partial inlining (requires -ip or -ipo)
-ipo-separate create one object file for every source file
(overrides -ipo[n])
-ipo-jobs<n> specify the number of jobs to be executed simultaneously
during the IPO link phase
Profile Guided Optimization (PGO)
---------------------------------
-prof-dir <d> specify directory for profiling output files (*.dyn and *.dpi)
-prof-file <f> specify file name for profiling summary file
-prof-gen[x] instrument program for profiling; with the x qualifier, extra
information is gathered
-no-prof-gen disable profiling instrumentation
-[no-]prof-use enable/disable(DEFAULT) use of profiling information during
optimization
-prof-use=nomerge
disable profmerge when using -prof-use
-prof-gen-sampling
prepare code for use with profrun sample gathering tool
-[no-]func-groups
enable(DEFAULT with PGO)/disable function grouping
-prof-hotness-threshold:<val>
set the hotness threshold for function grouping
-p compile and link for function profiling with UNIX gprof tool
-f[no-]instrument-functions
determine whether function entry and exit points are
instrumented
Optimization Reports
--------------------
-vec-report[n] control amount of vectorizer diagnostic information:
n=0 no diagnostic information
n=1 indicate vectorized loops (DEFAULT)
n=2 indicate vectorized/non-vectorized loops
n=3 indicate vectorized/non-vectorized loops and prohibiting
data dependence information
n=4 indicate non-vectorized loops
n=5 indicate non-vectorized loops and prohibiting data
dependence information
-opt-report [n] generate an optimization report to stderr
0 disable optimization report output
1 minimum report output
2 medium output (DEFAULT when enabled)
3 maximum report output
-opt-report-file<file> specify the filename for the generated report
-opt-report-level[level] specify the level of report verbosity (min|med|max)
-opt-report-phase<name> specify the phase that reports are generated against
-opt-report-routine<name> reports on routines containing the given name
-opt-report-help display the optimization phases available for
reporting
-tcheck enable analysis of threaded applications (requires
Intel(R) Thread Checker; cannot be used with compiler
alone)
-tprofile generate instrumentation to analyze multi-threading
performance (requires Intel(R) Thread Profiler; cannot
be used with compiler alone)
-tcollect[=<lib>] insert instrumentation probes calling the Intel(R)
Trace Collector API. The library -l<lib> is linked in
the default being -lVT (requires Intel(R) Trace
Collector)
OpenMP* and Parallel Processing
------------------------------
-openmp enable the compiler to generate multi-threaded code
based on the OpenMP* directives
-openmp-profile enable analysis of OpenMP application when the Intel(R)
Thread Profiler is installed
-openmp-stubs enables the user to compile OpenMP programs in
sequential mode. The openmp directives are ignored and
a stub OpenMP library is linked (sequential)
-openmp-report{0|1|2} control the OpenMP parallelizer diagnostic level
-parallel enable the auto-parallelizer to generate multi-threaded
code for loops that can be safely executed in parallel
-par-report{0|1|2|3} control the auto-parallelizer diagnostic level
-par-threshold[n] set threshold for the auto-parallelization of loops
where n is an integer from 0 to 100
-par-runtime-control enable compiler to generate runtime control code for
effective automatic parallelization
-opt-streaming-stores <arg>
specifies whether streaming stores are generated
always - enables generation of streaming stores under
the assumption that the application is memory
bound
auto - compiler decides when streaming stores are
used (DEFAULT)
never - disables generation of streaming stores
-opt-malloc-options={0|1|2|3|4}
specify malloc configuration parameters. Specifying
a non-zero <n> value will cause alternate configuration
parameters to be set for how malloc allocates and frees
memory
Floating Point
--------------
-[no-]ftz enable/disable flush denormal results to zero
-[no-]prefetch enable/disable(DEFAULT) prefetch insertion
-[no]recursive compile all procedures for possible recursive execution
-ssp enable software-based speculative pre-computation
-fp-model <name> enable <name> floating point model variation
[no-]except - enable/disable floating point semantics
fast[=1|2] - enables more aggressive floating point optimizations
precise - allows value-safe optimizations
source - enables intermediates in source precision
strict - enables -fp-model precise -fp-model except, disables
contractions, enables property to allow for
modification of the floating point environment
-fp-speculation<mode>
enable floation point speculations with the following <mode>
conditions:
fast - speculate floating point operations (DEFAULT)
safe - speculate only when safe
strict - same as off
off - disables speculation of floating-point operations
-mp maintain floating point precision (disables some optimizations)
-mp1 improve floating-point precision (speed impact is less than -mp)
-m[no-]ieee-fp
same as -mp
-[no]fltconsistency
specify that improved floating-point consistency should be used
-fpe{0|1|3} specifies behavior on floating point exceptions
-[no-]prec-div
improve precision of floating-point divides (some speed impact)
-[no-]prec-sqrt
determine if certain square root optimizations are enabled
-[no-]fp-port round fp results at assignments & casts (some speed impact)
-fp-stack-check enable fp stack checking after every function/procedure call
-pc32 set internal FPU precision to 24 bit significand
-pc64 set internal FPU precision to 53 bit significand (DEFAULT)
-pc80 set internal FPU precision to 64 bit significand
-rcd rounding mode to enable fast float-to-int conversions
-rounding-mode chopped
set internal FPU rounding control to truncate
Preprocessor
------------
-D<name>[=<text>] define macro
-noD,-nodefines
specifies that any /D macros go to the preprocessor only, and not
to the compiler too
-allow nofpp_comments
If a Fortran end-of-line comment is seen within a #define,
treat it as part of the definition. Default is allow fpp_comments
-E preprocess to stdout
-EP preprocess to stdout omitting #line directives
-P, -preprocess-only
preprocess to file omitting #line directives
-fpp[n] run Fortran preprocessor on source files prior to compilation
n=0 disable running the preprocessor, equivalent to no fpp
n=1,2,3 run preprocessor
-cpp[n] same as -fpp[n]
-[no]keep keep/remove preprocessed file generated by preprocessor as input to
compiler stage. Not affected by -save-temps. Default is -nokeep
-module [path]
specify path where mod files should be placed and first location to
look for mod files
-I<dir> add directory to include file search path
-U<name> remove predefined macro
-X, -nostdinc
remove standard directories from include file search path
Output, Debug
-------------
-c compile to object (.o) only, do not link
-S compile to assembly (.s) only, do not link
-[no-]use-asm
produce objects through assembler
-use-msasm Support Microsoft style assembly language insertion using MASM
style syntax
-fcode-asm produce assembly file with optional code annotations (requires -S)
-fsource-asm
produce assembly file with optional source annotations (requires -S)
-f[no-]verbose-asm
produce assembly file with compiler comments (DEFAULT) (requires -S)
-o<file> name output file
-g produce symbolic debug information in object file (implies -O0 when
another optimization option is not explicitly set)
-gdwarf-2 enable generation of debug information using the DWARF2 format
-debug [keyword]
enable debug information and control output of enhanced
debug information.
keywords: all, full, minimal, none, [no]inline-debug-info,
[no]variable-locations, [no]semantic-stepping, extended
-debug-parameters [keyword]
control output of debug information for PARAMETERS
keywords: all, used, none (same as -nodebug-parameters)
-nodebug-parameters
do not output debug information for PARAMETERS
-DD compile debug statements, indicated by D in column 1. This
option prevents the definition of a macro named D using the
command line -Dname option (use -Dname=n syntax instead)
-[no]d-lines
compile debug statements (indicated by D in column 1)
-inline-debug-info preserve the source position of inlined code instead
of assigning the call-site source position to inlined code
-ftrapuv trap uninitialized variables
-map-opts enable option mapping tool
-print-multi-lib
print information about libraries being used
Data
----
-i2 set default KIND of integer variables to 2
-i4 set default KIND of integer variables to 4
-i8 set default KIND of integer variables to 8
-integer-size <size>
specifies the default size of integer and logical variables
size: 16, 32, 64
-r8 set default size of REAL to 8 bytes
-r16 set default size of REAL to 16 bytes
-real-size <size>
specify the size of REAL and COMPLEX declarations, constants,
functions, and intrinsics
size: 32, 64, 128
-autodouble same as -r8
-double-size <size>
defines the size of DOUBLE PRECISION and DOUBLE COMPLEX
declarations, constants, functions, and intrinsics
size: 64, 128
-[no]fpconstant
extends the precision of single precision constants assigned
to double precision variables to double precision
-[no]intconstant
use Compaq Fortran 77 semantics, rather than Compaq Fortran
90, to determine kind of integer constants
-auto make all local variables AUTOMATIC. Same as -automatic
-auto-scalar make scalar local variables AUTOMATIC (DEFAULT)
-save save all variables (static allocation)
(same as -noautomatic, opposite of -auto)
-[no]zero enable/disable(DEFAULT) implicit initialization to zero of
local scalar variables of intrinsic type INTEGER, REAL,
COMPLEX, or LOGICAL that are saved and not initialized
-Qdyncom"blk1,blk2,..." make given common blocks dynamically-allocated
-Zp[n] specify alignment constraint for structures (n=1,2,4,8,16)
(same as -align recNbyte)
-[no]align analyze and reorder memory layout for variables and arrays
-f[no-]align-functions
align the start of functions on an optimal byte boundary. When
disabled (DEFAULT) align on a 2-byte boundary
-falign-functions=[2|16]
align the start of functions on a 2 (DEFAULT) or 16 byte boundary
-align <keyword>
specify how data items are aligned
keyword: all (same as /align), none (same as /noalign),
[no]commons, [no]dcommons, [no]records,
rec1byte, rec2byte, rec4byte, rec8byte, rec16byte,
[no]sequence
-convert <keyword>
specify the format of unformatted files containing numeric data
keywords: big_endian, cray, ibm, little_endian, native, vaxd,
-no-bss-init disable placement of zero-initialized variables in BSS (use DATA)
Miscellaneous
-------------
-V display compiler version information
--version display GCC style version information
-dumpmachine display the target machine only
-[no]logo [do not] display compiler version information
-[no-]sox enable/disable(DEFAULT) saving of compiler options and version
in the executable
-save-temps Store the intermediate files in current directory and name
them based on the source file.
-dryrun show driver tool commands but do not execute tools
-v [file] show driver tool commands and execute tools
-watch <keyword>
tells the driver to output processing information.
keywords: all, none (same as -nowatch),
[no]cmd (same as -v), [no]source
-nowatch suppress processing information output. (Default)
-what display detailed compiler version information
-Tf<file> compile file as Fortran source
-f[no-]pic, -f[no-]PIC
generate position independent code (OFF by default)
-save-temps Store the intermediate files in current directory and name
them based on the source file.
-fpack-struct pack structure members together
-f[no-]math-errno
set ERRNO after calling standard math library functions
-f[no-]keep-static-consts
enable/disable(DEFAULT) emission of static const variables even
when not referenced
Component Control
-----------------
-Qoption,<str>,<opts> pass options <opts> to tool specified by <str>
-Qlocation,<str>,<dir> set <dir> as the location of tool specified by <str>
-Qinstall <dir> set <dir> as root of compiler installation
-B<prefix> find libraries, headers and executables in <prefix>
Linking/Linker
--------------
-L<dir> instruct linker to search <dir> for libraries
-l<string> instruct the linker to link in the -l<string> library
-shared-intel link Intel provided libraries dynamically
-static-intel link Intel provided libraries statically
-shared-libgcc link libgcc dynamically
-static-libgcc link libgcc statically
-dynamic-linker<file>
select dynamic linker other than the default
-nodefaultlibs do not use standard libraries when linking
-nofor-main do not link against Fortran main object
Used when linking Fortran objects with C main program
-nostartfiles do not use standard startup files when linking
-nostdlib do not use standard libraries and startup files when linking
-static prevents linking with shared libraries
-shared produce a shared object
-Bstatic specify following libraries are linked statically
-Bdynamic specify following libraries are linked dynamically
-pthread use POSIX* thread library for multithreading support
-[no-]cxxlib specify whether or not C++ runtime libraries should be
linked against. Default is off.
-cxxlib[=dir] link using C++ run-time libraries provided with gcc
dir is an optional top-level location for the gcc
binaries and libraries
-cxxlib-<mode> tell the compiler which C++ run-time libraries to use
nostd - do not link in standard C++ library
-T <file> direct linker to read link commands from <file>
-Xlinker <val> pass <val> directly to the linker for processing
-Wa,<o1>[,<o2>,...] pass options o1, o2, etc. to the assembler
-Wl,<o1>[,<o2>,...] pass options o1, o2, etc. to the linker for processing
-Wp,<o1>[,<o2>,...] pass options o1, o2, etc. to the preprocessor
-[no]threads specify whether or not multi-threaded libraries should be
linked against
-help [category] print full or category help message
Valid categories include
advanced - Advanced Optimization
codegen - Code Generation
compatibility - Compatibility
component - Component Control
data - Data
deprecated - Deprecated Options
diagnostics - Compiler Diagnostics
float - Floating Point
help - Help
inline - Inlining
ipo - Interprocedural Optimizations (IPO)
language - Language
link - Linking/Linker
misc - Miscellaneous
openmp - OpenMP and Parallel Processing
opt - Optimization
output - Output
pgo - Profile Guided Optimization (PGO)
preproc - Preprocessor
reports - Optimization Reports
Copyright (C) 1985-2008, Intel Corporation. All rights reserved.
* Other brands and names are the property of their respective owners.
[/left]