Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MKL6.1 with IPP4.0 crashes

ysyoo
Beginner
434 Views
Hi.
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 ysyoo@diehard.snu.ac.kr on 03-16-2004 02:05 AM

Message Edited by ysyoo@diehard.snu.ac.kr on 03-16-2004 02:05 AM

Message Edited by ysyoo@diehard.snu.ac.kr on 03-16-2004 02:06 AM

0 Kudos
2 Replies
Todd_R_Intel
Employee
434 Views
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 (premier.intel.com)?
-Todd
0 Kudos
Wendy_Doerner__Intel
Valued Contributor I
434 Views
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.
0 Kudos
Reply