MKL6.1 with IPP4.0 crashes

MKL6.1 with IPP4.0 crashes


I made a program with MKL 6.1 on VC++ 6.0

Iwanna make a linear equation solver.
Thus, I use function "dgesv".
When I test it in simple console program.
It was OK.
However,when I use the function on more complex MFC program witn IPP4.0, I got error message
"abort: Initializing libguide.lib, but found libguide40.lib already initialized.
This can cause performance degradation.
Set environment variable KMP_DUPLICATE_LIB_OK=TRUE
if you want your program to continue in this case"
And, parametar doesn't givesolution.

So, I set the environment like that.
But, I still get this error.

Please, help me.

Message Edited by on 03-16-2004 02:05 AM

Message Edited by on 03-16-2004 02:05 AM

Message Edited by on 03-16-2004 02:06 AM

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

It sounds like both libraries (MKL and IPP) are trying to initialize the OpenMP* threading software. Have you submitted an issue at Intel Premier Support (


When linking Intel IPP and Intel MKL together dynamically you need to make sure the threading library from Intel IPP gets linked in first to avoid the error message of double initialization. To do this, for Intel IPP 4.0 for Windows*, put both ipp40inwin32and ipp40in in the PATH environment variable before the Intel MKL DLLs (e.g. MKL61ia32in).

This is a problem which will be fixed in a future release of Intel IPP.

Leave a Comment

Please sign in to add a comment. Not a member? Join today