- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
So I've managed to create .dlls (plug-ins) that staticly link to MKL 10.0.5.025, using mkl_c.lib, mkl_core.lib and libomp5mt.lib (or libguide.lib) in VC2005.
This works fine as long as a hosting application loads only one of these .dlls. But as soon as a second .dll is loaded, things go weird with this message popping up: "OMP: Error #15: initializing libiomp5mt.lib, but found libiomp5mt.lib already initialized [...]".
Does that mean that MKL can not be used with static linking for plug-in environments that may load multiple exectuables that staticly link to it?
Is there a combination of static libs that I can link to that do not interfere with each other?
Thanks,
;) Urs
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please link with dynamic treading library libiomp5md.lib instead of static you used.
--Gennady

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page