# qopenmp-stubs, Qopenmp-stubs

Enables compilation of OpenMP* programs in sequential mode.

## Syntax

Linux: | -qopenmp-stubs

macOS: | -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. Offloading can only be enabled when using ifx.

## IDE Equivalent

Visual Studio: Language > Process OpenMP Directives

## Alternate Options

None

Parent topic: Offload Compilation, OpenMP*, and Parallel Processing Options

## See Also

qopenmp, Qopenmp compiler option