- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Forum users,
I'm using Pardiso from MKL on Windows. Since I updated to the most up to date version, I'm receiving the following error message.
OMP: Error #15: Initializing libiomp5mt.lib, but found libiomp5mt.lib already initialized.
OMP: Hint: This may cause performance degradation and correctness issues. Set environment variable KMP_DUPLICATE_LIB_OK=TRUE to ignore this ....
My program terminates with this error message. Interestingly, it does not happen with every call to Pardiso. Sometimes it will just work.
I thought this problem might be caused by static linking, so I switched to dynamic linking (DLLs), but this did not solve the problem.
I would be grateful for any hint.
Regards, Alex
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Gennady,
many thanks for your answer. This is not my case. My application links against
libiomp5md.lib
mkl_intel_c_dll.lib
mkl_intel_thread_dll.lib
mkl_core_dll.lib
My application containts two custom DLLs, one depending on another, which both link againstlibiomp5md.lib. Is this a problem?
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a problem if libiomp5mt.lib is also linked in, as your error message indicates. Nowhere should there be a reference to libiomp5mt (or openmplink:static), as presence of both creates the situation referred to in the message.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page