<?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 Problem with linking IPP libraries in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-linking-IPP-libraries/m-p/770868#M682</link>
    <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1344473111968="60" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=572771" href="https://community.intel.com/en-us/profile/572771/" class="basic"&gt;Lincoln Greenhill&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;EM&gt;I am trying to compile a program which uses function&lt;STRONG&gt;ippsMalloc_8u&lt;/STRONG&gt;. I believe this function is from ipps library.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt; [&lt;STRONG&gt;SergeyK&lt;/STRONG&gt;] Yes, that's correct. That function is from a Signal Processing domain.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;But I am getting following error: &lt;/EM&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;DIV class="dp-highlighter"&gt;&lt;DIV class="bar"&gt;&lt;DIV class="tools"&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('CollapseSource',this);return false;"&gt;&lt;EM&gt;- collapse source&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;&lt;EM&gt;view plain&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;&lt;EM&gt;copy to clipboard&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;&lt;EM&gt;print&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;&lt;EM&gt;?&lt;/EM&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;OL class="dp-sh"&gt;&lt;LI class="alt"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;gccipp0.c-L/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64/-lippcore-lipps &lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="alt"&gt;&lt;SPAN&gt;&lt;EM&gt;/usr/bin/ld:&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;warning:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;libiomp5.so,neededby&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64//&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;libippcore.so&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;,&lt;BR /&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;notfound&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;(tryusing-rpathor-rpath-link) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;EM&gt;/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64//libippcore.so:undefinedreferenceto`omp_get_max_threads@VERSION'&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;[&lt;STRONG&gt;SergeyK&lt;/STRONG&gt;] Have you seen that warning?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
    <pubDate>Thu, 09 Aug 2012 00:54:39 GMT</pubDate>
    <dc:creator>SergeyKostrov</dc:creator>
    <dc:date>2012-08-09T00:54:39Z</dc:date>
    <item>
      <title>Problem with linking IPP libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-linking-IPP-libraries/m-p/770867#M681</link>
      <description>I am trying to compile a program which uses functionippsMalloc_8u. I believe this function is from ipps library. But I am getting following error:&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;[bash]gcc ipp0.c -L/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64/ -lippcore -lipps

/usr/bin/ld: warning: libiomp5.so, needed by /opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64//libippcore.so, not found (try using -rpath or -rpath-link)
/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64//libippcore.so: undefined reference to `omp_get_max_threads@VERSION'
.
.
.

undefined reference to `kmp_create_affinity_mask@VERSION'/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64//libippcore.so: undefined reference to `kmp_get_affinity@VERSION'
collect2: ld returned 1 exit status[/bash] &lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;The filelibiomp5.so is present in the same directory (/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64/)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;But how should I link it while compiling the code?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Aug 2012 18:30:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-linking-IPP-libraries/m-p/770867#M681</guid>
      <dc:creator>Lincoln_Greenhill</dc:creator>
      <dc:date>2012-08-08T18:30:16Z</dc:date>
    </item>
    <item>
      <title>Problem with linking IPP libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-linking-IPP-libraries/m-p/770868#M682</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1344473111968="60" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=572771" href="https://community.intel.com/en-us/profile/572771/" class="basic"&gt;Lincoln Greenhill&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;EM&gt;I am trying to compile a program which uses function&lt;STRONG&gt;ippsMalloc_8u&lt;/STRONG&gt;. I believe this function is from ipps library.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt; [&lt;STRONG&gt;SergeyK&lt;/STRONG&gt;] Yes, that's correct. That function is from a Signal Processing domain.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;But I am getting following error: &lt;/EM&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;DIV class="dp-highlighter"&gt;&lt;DIV class="bar"&gt;&lt;DIV class="tools"&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('CollapseSource',this);return false;"&gt;&lt;EM&gt;- collapse source&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;&lt;EM&gt;view plain&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;&lt;EM&gt;copy to clipboard&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;&lt;EM&gt;print&lt;/EM&gt;&lt;/A&gt;&lt;A href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;&lt;EM&gt;?&lt;/EM&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;OL class="dp-sh"&gt;&lt;LI class="alt"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;gccipp0.c-L/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64/-lippcore-lipps &lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="alt"&gt;&lt;SPAN&gt;&lt;EM&gt;/usr/bin/ld:&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;warning:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;libiomp5.so,neededby&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64//&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;libippcore.so&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;,&lt;BR /&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;notfound&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;(tryusing-rpathor-rpath-link) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;EM&gt;/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64//libippcore.so:undefinedreferenceto`omp_get_max_threads@VERSION'&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;[&lt;STRONG&gt;SergeyK&lt;/STRONG&gt;] Have you seen that warning?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Aug 2012 00:54:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-linking-IPP-libraries/m-p/770868#M682</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-08-09T00:54:39Z</dc:date>
    </item>
    <item>
      <title>Problem with linking IPP libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-linking-IPP-libraries/m-p/770869#M683</link>
      <description>Hi Lincoln&lt;BR /&gt;&lt;BR /&gt;In general, a common command to build ipp program like :&lt;BR /&gt;&lt;BR /&gt;gcc main.cpp -I/opt/intel/composer_xe_2011_sp1.10.319/ipp/include -L/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64/ -L/opt/intel/composer_xe_2011_sp1.10.319/compiler/lib/intel64-lipps -lippcore -liomp5&lt;BR /&gt;&lt;BR /&gt;The OpenMP library libiomp5is from Intel Compiler, located in Compilerlib directory. But if you haveitpresented inIPP directory, the command can be&lt;BR /&gt;gcc main.cpp -I/opt/intel/composer_xe_2011_sp1.10.319/ipp/include -L/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64/ -lipps -lippcore -liomp5&lt;BR /&gt;&lt;BR /&gt;Thelibiomp5.soshould be linked explicitly. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Aug 2012 03:00:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-linking-IPP-libraries/m-p/770869#M683</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-08-09T03:00:10Z</dc:date>
    </item>
  </channel>
</rss>

