<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mac OS 10.4 linking problem with libiomp5.dylib, dynamic li in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905724#M13423</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Did you address this issueon Compiler forum? It seems libiomp library is not patched properly in compiler package?&lt;BR /&gt;&lt;BR /&gt;Vladimir</description>
    <pubDate>Wed, 18 Feb 2009 11:06:00 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2009-02-18T11:06:00Z</dc:date>
    <item>
      <title>Mac OS 10.4 linking problem with libiomp5.dylib, dynamic libs, V11.0/054</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905720#M13419</link>
      <description>I've followed the instructions in the Mac OS X for compiling and linking, but I still can't get it to link:&lt;BR /&gt;Here's the makefile script:&lt;BR /&gt;export IPPROOT=/opt/intel/Compiler/11.0/054/Frameworks/ipp&lt;BR /&gt;icpc -c mmain.cpp&lt;BR /&gt;icpc -c imgproc.cpp&lt;BR /&gt;icpc mmain.o imgproc.o -L/opt/intel/Compiler/11.0/054/Frameworks/tbb/lib -L$IPPROOT/Libraries -L/opt/intel/Compiler/11.0/054/lib -lippcore -lipps -lippi -lippcv -ltbb -ltbbmalloc -lguide -o imgproc&lt;BR /&gt;&lt;BR /&gt;Here's what happens when I run it:&lt;BR /&gt;&lt;BR /&gt;$ ./Makefile&lt;BR /&gt;mmain.cpp(54): (col. 2) remark: LOOP WAS VECTORIZED.&lt;BR /&gt;mmain.cpp(211): (col. 5) remark: LOOP WAS VECTORIZED.&lt;BR /&gt;mmain.cpp(132): (col. 5) remark: LOOP WAS VECTORIZED.&lt;BR /&gt;ld: warning can't open dynamic library: libiomp5.dylib referenced from: /opt/intel/Compiler/11.0/054/Frameworks/ipp/Libraries/libippcore.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)&lt;BR /&gt;ld: Undefined symbols:&lt;BR /&gt;_omp_get_num_procs referenced from libippcore-6 expected to be defined in libiomp5.dylib&lt;BR /&gt;&lt;BR /&gt;It compiles and links fine on windows in visual studio. (I'm not using any omp stuff (explicitly) that I know of).&lt;BR /&gt;&lt;BR /&gt;Any ideas on what I'm missing. I ran the vars.sh files for ipp and icc.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 12 Feb 2009 22:54:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905720#M13419</guid>
      <dc:creator>CCar</dc:creator>
      <dc:date>2009-02-12T22:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mac OS 10.4 linking problem with libiomp5.dylib, dynamic li</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905721#M13420</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hello,&lt;BR /&gt;&lt;BR /&gt;IPP dynamic libraries are using OpenMP run-time (they are threaded with OpenMP API). You probably need to add path to Compiler libraries where libiomp5 should be located&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Feb 2009 20:11:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905721#M13420</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-02-16T20:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mac OS 10.4 linking problem with libiomp5.dylib, dynamic li</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905722#M13421</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336498"&gt;Vladimir Dudnik (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Hello,&lt;BR /&gt;&lt;BR /&gt;IPP dynamic libraries are using OpenMP run-time (they are threaded with OpenMP API). You probably need to add path to Compiler libraries where libiomp5 should be located&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;It is in the LIBRARY_PATH (and the DYLIBRARY_PATH) and I explicitly have it there on the icpc line link if you look more closely (-L/opt/intel/Compiler/11.0/054/lib). If I do an "ls" on that directory, libiomp5.dylib is sitting right there. So, I really don't understand why it can't "open dynamic library: libiomp5.dylib".&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2009 19:22:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905722#M13421</guid>
      <dc:creator>CCar</dc:creator>
      <dc:date>2009-02-17T19:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mac OS 10.4 linking problem with libiomp5.dylib, dynamic li</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905723#M13422</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336498"&gt;Vladimir Dudnik (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Hello,&lt;BR /&gt;&lt;BR /&gt;IPP dynamic libraries are using OpenMP run-time (they are threaded with OpenMP API). You probably need to add path to Compiler libraries where libiomp5 should be located&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I think my problem is related to what Robert Bell's post describes. &lt;BR /&gt;&lt;BR /&gt;otool -L libippcore-6.0.dylib&lt;BR /&gt;libippcore-6.0.dylib:&lt;BR /&gt; /opt/intel/Compiler/11.0/059/Frameworks/ipp/Libraries/libippcore-6.0.dylib (compatibility version 0.0.0, current version 0.0.0)&lt;BR /&gt; libiomp5.dylib (compatibility version 5.0.0, current version 5.0.0)&lt;BR /&gt; /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version&lt;BR /&gt; 88.3.6)&lt;BR /&gt; /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version &lt;BR /&gt;1.0.0)&lt;BR /&gt;&lt;BR /&gt;***The libiomp5.dylib should probably be preceeded by a full path, just like the othe dylibs, but it's not!****&lt;BR /&gt;&lt;BR /&gt;I have found a workaround for this, but I don't like it at all. If I'm in my code directory and I do an " ln -s /opt/intel/Compiler/11.0/059/lib/libiomp5.dylib .", then it finishes linking and I'm able to run the code, but this is not proper at all.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2009 22:53:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905723#M13422</guid>
      <dc:creator>CCar</dc:creator>
      <dc:date>2009-02-17T22:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mac OS 10.4 linking problem with libiomp5.dylib, dynamic li</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905724#M13423</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Did you address this issueon Compiler forum? It seems libiomp library is not patched properly in compiler package?&lt;BR /&gt;&lt;BR /&gt;Vladimir</description>
      <pubDate>Wed, 18 Feb 2009 11:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Mac-OS-10-4-linking-problem-with-libiomp5-dylib-dynamic-libs-V11/m-p/905724#M13423</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-02-18T11:06:00Z</dc:date>
    </item>
  </channel>
</rss>

