Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

OMP abort

xyzlty
Beginner
479 Views

I have writen a C++ project using IPP ver6.0.2 and ICL ver10.1 in Microsoft VC++ 6.0.
Once the OMP parallel is used, the error will be prompted "OMP abort: Initializing libguide40.dll, but found libiomp5md.dll already initialized. This may cause performance degradation and correctness issues. Set environment variable KMP_DUPLICATE_LIB_OK=TRUE to ignore this problem and force the program to continue anyway.".
How to solve this problem utterly?
Thanks.

0 Kudos
2 Replies
TimP
Honored Contributor III
479 Views
Don't link components from more than one OpenMP support .dll. The standard advice usually is to use only dynamic link for OpenMP library, as that might avoid multiple libraries. It may be better to allow ICL to select an OpenMP library to link, avoiding any supplied by IPP.
0 Kudos
Reply