Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Flags / Options

Short description

-fPIC

Generate position-independent code. Usually used when building shared objects.

-fPIE

Generate position-independent code that can ONLY be linked into executables.

-ftz

Flush subnormal results to zero. Ref: https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-1/ftz-qftz.html.

-heap-arrays [size]

Put automatic and temporary arrays that are larger than size KB on the heap instead of the stack. Ref: https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-1/heap-arrays.html.

-mcondiionalmcondional-branch=[keyword]
(ifort only, not in ifx)

Identify code that may be vulnerable to speculative execution side-channel attacks as a result of bad speculation of a conditional branch direction. Ref: https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-1/mconditional-branch-qconditional-branch.html.

-pie

Link code compiled with -fPIE into an executable.

-pthread

Compile with POSIX thread library for multi-threading support.

...