when using integrated MKL or IPP from Intel compiler, the error dyld:Library not loaded:libiomp5.dylib shows. Adding the right environment variable can solve the problem.
Linker error generated when different parts of a program try to link both the static and dynamic versions of the OpenMP runtime. The solution is to expilcitly call out either a dynamic or static link.
This page contains common questions and answers on multi-threading in the Intel IPP.
The Intel® Compilers provide an OpenMP* runtime library to enable mixed Microsoft Visual C++* and Intel Compiler builds that both use OpenMP*.
For more complete information about compiler optimizations, see our Optimization Notice.