Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6628 Discussions

_IPP_PARALLEL_STATIC with dynamic link OpenMP library

li__steve
Beginner
129 Views

I would like to know what is the best way to specify my Microsoft Visual Studio project to use the multithreaded IPP static library and the OpenMP dynamic library. I am currently using _IPP_PARALLEL_STATIC, but it automaticallyuses the OpenMP static library, instead of the recommended dynamic library.

Steve

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
129 Views
Hello Steve,

You might need to use the /NODEFAULTLIB:libiomp5mt.lib option. See the following for more information and how to set this in the project properties:

http://msdn.microsoft.com/en-us/library/3tz4da4a(v=VS.100).aspx

and then add libiomp5md.lib to the list of libraries to be linked against.

Paul
Royi
Novice
129 Views
Hi Paul. What if I configured VS to use Intel C++ Compiler? I'm having problems and what I want is to link the threaded versions of IPP statically and dynamically the OpenMP (I'll distribute the OpenMP dll). What should I do? Thanks.
Reply