# fopenmp

Option -fopenmp is a deprecated option that will be removed in a future release.

## Syntax

Linux: | -fopenmp

macOS: | None

Windows: | None

## Arguments

None

## Default

OFF | No OpenMP* multi-threaded code is generated by the compiler.

## Description

Enables recognition of OpenMP* features and tells the parallelizer to generate multi-threaded code based on OpenMP* directives.

This option is meant for advanced users who prefer to use OpenMP* as it is implemented by the LLVM community. You can get most of that functionality by using this option and option -fopenmp-simd.

Option -fopenmp is a deprecated option that will be removed in a future release. For most users, we recommend that you instead use option qopenmp, Qopenmp.

### Note

Option -fopenmp is not the same as option -fiopenmp. If you want to get full advantage of SIMD vectorization or offloading, you must use option -qopenmp.

## IDE Equivalent

None

## Alternate Options

None

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