Linking with System Libraries
To use the
FFT, Trigonometric Transform, or Poisson, Laplace, and Helmholtz
Intel® oneAPI Math Kernel Library
Solver routines, link also the math support system library by adding "
-lm
" to the link line.
The
libiomp5
library relies on the native
pthread
library for multi-threading. Any time
libiomp5
is required, add
-lpthread
to your link line afterwards (the order of listing libraries is important).
The
libtbb
library relies on the compiler
libstdc++
library for C++ support. Any time
libtbb
is required, add
-lstdc++
to your link line afterwards (the order of listing libraries is important).
To link with
statically using a GNU
compiler, link also the system library
Intel® oneAPI Math Kernel Library
libdl
by adding
-ldl
to your link line. The Intel compiler always passes
-ldl
to the linker.