Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 7/08/2026
Public
Document Table of Contents

fopenmp-force-usm

Compiles each compilation unit as if it contains a !$OMP REQUIRES UNIFIED_SHARED_MEMORY directive.

Syntax

Linux:

-fopenmp-force-usm

-fno-openmp-force-usm

Windows:

/Qopenmp-force-usm

/Qopenmp-force-usm

Arguments

None

Default

OFF

The default is to not compile each compilation unit as if a $OMP REQUIRES UNIFIED_SHARED_MEMORY appears, unless one appears in the source.

Description

When the option is enabled, the compiler behaves as if each compilation unit contains a !$OMP REQUIRES UNIFIED_SHARED_MEMORY directive.

The option has no effect if one of the following options is not specified:

  • -fiopenmp (Linux) or /Qiopenmp (Windows)

  • -fopenmp-targets (Linux) or /Qopenmp-targets (Windows)

  • -fopenmp-target-do-concurrent (Linux) or /Qopenmp-target-do-concurrent (Windows)

IDE Equivalent

None

Alternate Options

None

Example

Linux

ifx -fopenmp-force-usm -fiopenmp -fopenmp-targets=spir64 -fopenmp-target-do-concurrent test.f90

Windows

ifx /Qopenmp-force-usm /Qiopenmp /Qopenmp-targets=spir64 /Qopenmp-target-do-concurrent test.f90

See Also