Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
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