Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

how can i get the ipp library that openmp is disabled

collinmsn
Beginner
338 Views

hey all,

    we are frequently suffered crash in ippisharpenfilter. From the backtrace, it seems that the cause is the openmp as omp_get_num_threads is called at the deepest stack. So I think the ipp library shipped with icc compiler is openmp enabled. Is there anyway i can get an ipp lib that openmp is disabled? 

0 Kudos
4 Replies
Jeffrey_M_Intel1
Employee
338 Views
In the current releases of IPP (including 7.1) the dynamic library is threaded. However, there are nonthreaded static versions of the IPP libraries with no OpenMP. In IPP's library naming scheme _l is nonthreaded static, _t is threaded static, and no underscore is dynamic. The steps to get linking set up are slightly different based on OS and version of IPP. Which OS and IPP version are you using?
0 Kudos
collinmsn
Beginner
338 Views
Hi Jeffrey, my OS is centos 5.8 x86_64 and IPP version is 7.0.7. How to link to the nonthreaded ipp?
0 Kudos
collinmsn
Beginner
338 Views
Jeffrey, I have linked the static library and the crash disappeared.
0 Kudos
Jeffrey_M_Intel1
Employee
338 Views
Glad to hear that you've been able to take care of the crash. Is this a sufficient workaround or do you need dynamic linking? By the way, IPP is moving away from internal threading. The deprecation process for the internally threaded static and dynamic libraries starts in IPP 7.1. Please write back if there are any concerns.
0 Kudos
Reply