Intel® Fortran Compiler 16.0 User and Reference Guide

fast

Maximizes speed across the entire program.

Syntax

Linux and OS X:

-fast

Windows:

/fast

Arguments

None

Default

OFF

The optimizations that maximize speed are not enabled.

Description

This option maximizes speed across the entire program.

It sets the following options:

On OS X* systems: -ipo, -mdynamic-no-pic, -O3, -no-prec-div, -fp-model fast=2, and -xHost
On Windows* systems: /O3, /Qipo, /Qprec-div-, /fp:fast=2, and /QxHost
On Linux* systems: -ipo, -O3, -no-prec-div, -static, -fp-model fast=2, and -xHost
On Intel® 64 architecture-based systems targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner): [Q]ipo, O3, -no-prec-div (Linux*) or /Qprec-div- (Windows*), -fp-model fast=2 (Linux*) or /fp:fast=2 (Windows*)

When option fast is specified, you can override the [Q]xHost option setting by specifying a different processor-specific [Q]x option on the command line. However, the last option specified on the command line takes precedence.

For example:

For implications on non-Intel processors, refer to the [Q]xHost documentation.

Note

Option fast sets some aggressive optimizations that may not be appropriate for all applications. The resulting executable may not run on processor types different from the one on which you compile. You should make sure that you understand the individual optimization options that are enabled by option fast.

Optimization Notice

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804

IDE Equivalent

None

Alternate Options

None

See Also