Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mikael_Grev
Beginner
73 Views

libiomp5.dylib needed even though I link statically

Hello, Maybe I have misunderstood this in some way but I'm trying to link without any dunamic libs. I statically link to libiomp5.a but still it wants the .dylib when I run the app.

I use OpenMP.

Any suggestions how I can break the dependency on libiomp5.dylib?

Cheers,
Mikael Grev

Btw. Got 67ms jpeg encode+decode on a 2560x1600/32 image. Darn that's fast!! MacBook Pro Dual Core 2.
0 Kudos
3 Replies
Mikael_Grev
Beginner
73 Views

Oh yeah. Almost forgot.

I'm on a Mac OS X 10.5.7 using Compiler 11.1/058
Mikael_Grev
Beginner
73 Views

You post, you solve. :)

Intel Compiler Runtime needs to be set to static under "Build" in XCode.

Cheers,
Mikael
Ying_H_Intel
Employee
73 Views

Quoting - mikaelgrev
You post, you solve. :)

Intel Compiler Runtime needs to be set to static under "Build" in XCode.

Cheers,
Mikael

Hi Mikael,

Thank you for sharing. Yeah, when enable OPENMP, Intel Compiler will link libiomp5 dynamic by default.The openmp library used by IPP is also from Intel Compiler. So we need take care when use them.

Some related info: IPP threading FAQ

<http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-threading...

Regards,
Ying
Reply