# no-intel-lib, Qno-intel-lib

Disables linking to specified Intel® libraries, or to all Intel® libraries.

## Syntax

Linux: | -no-intel-lib[=library]

macOS: | None

Windows: | /Qno-intel-lib[:library]

## Arguments

library | Indicates which Intel® library should not be linked. Possible values are:
libirc | Disables linking to the Intel® C/C++ library.
libimf | Disables linking to the Intel® Fortran Compiler Classic and Intel® Fortran Compiler Math library. This value is only available for Linux*.
libsvml | Disables linking to the Intel® Short Vector Math library.
libirng | Disables linking to the Random Number Generator library.
libipgo | Disables linking to the Profile-Guided Optimization library. This value is only available for ifort.

If you specify more than one library, they must be separated by commas.

If library is omitted, the compiler will not link to any of the Intel® libraries shown above.

## Default

OFF | If this option is not specified, the compiler uses default heuristics for linking to libraries.

## Description

This option disables linking to specified Intel® libraries, or to all Intel® libraries.

### 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

None

## Alternate Options

None

Parent topic: Linking or Linker Options