Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 10/15/2026
Public
Document Table of Contents

fopenmp-loop-threadization-level, Qopenmp-loop-threadizastion-level

Chooses threadization strategies for OpenMP loop constructs enclosing other loop constructs.

Syntax

Linux:

-fopenmp-loop-threadization-level=scheme

Windows:

/Qopenmp-loop-threadization-level:scheme

Arguments

scheme

The threadization strategy for nested OpenMP loop constructs can be:

default

Use default heuristics to choose the loop level (inner or outer) to threadize

inner_preferred

Favor threadization of inner loop construct using a cost model

inner_always

Favor threadization of inner loop construct disregarding cost model

outer_preferred

Favor threadization of outer loop construct using a cost model

outer_always

Favor threadization of outer loop construct disregarding cost model

Description

The option chooses threadization strategies for OpenMP loop bind(teams) constructs enclosing other OpenMP loop constructs.

When the option is not used, or used with the default scheme, the compiler uses default heuristics to choose the loop level to threadize. The other schemes direct the compiler to favor inner or outer loop constructs for threadization.

IDE Equivalent

None

Alternate Options

None