| July 7, 2009 12:30 PM PDT | |
|
Symptom(s): This can cause performance degradation. Set environment variable KMP_DUPLICATE_LIB_OK=TRUE if you want your program to continue in this case.
Cause: mkl_c.lib is one of mkl static library interface. It defines libguide.lib as a default library for resolution of threading library calls. But other Intel® software such as Intel® IPP, Intel® C++ Compiler and Intel® OpenCV defined libguid40.lib as default. So the error arises because of the duplicate initialization of libguide.lib when using static MKL library and other Intel software at the same time. Solution: You could use linker switch /nodefaultlib:libguide.lib and link with libguide40.lib by adding the option to the link line or in project option. For example, link users.obj mkl_c.lib /nodefaultlib:libguide.lib libguide40.lib. This will stop mkl_c.lib from defining libguide.lib as a default library for resolution of threading library calls. Operating System:
|
This article applies to: Intel® Integrated Performance Primitives Knowledge Base, Intel® Math Kernel Library Knowledge Base
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (3) 
| March 13, 2011 2:13 PM PDT
a.lee |
yes, that would be quite helpful! i tried something refering to environment variables whcih i found when researching on the issue. KMP_DUPLICATE_LIB_OK=TRUE. did not work, unfortunately. |
| June 27, 2011 4:28 PM PDT
Aubrey W. (Intel)
|
Hello, This information is only for software developers. If you are receiving this error message as an end-user, you should contact the software vendor. If you are a developer, and have questions about this issue, please post your questions to the Intel(R) Software Network forums at http://software.intel.com/en-us/forums/ Best regards, == Aubrey W. Intel(R) Software Network Support |



Will Sim