Intel® oneAPI DPC++/C++ Compiler

Developer Guide and Reference

ID 767253
Date 3/31/2025
Public

Visible to Intel only — GUID: GUID-148D30AE-28FD-4F64-A404-E19D6C1CC94D

Document Table of Contents

qopenmp-stubs, Qopenmp-stubs

Enables compilation of OpenMP* programs in sequential mode.

Syntax

Linux:

-qopenmp-stubs

Windows:

/Qopenmp-stubs

Arguments

None

Default

OFF

The library of OpenMP* function stubs is not linked.

Description

This option enables compilation of OpenMP* programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

Visual Studio: Language > OpenMP Support

Eclipse: Language > Process OpenMP Directives

Alternate Options

None

See Also