<?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 in the case if you will in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960210#M19593</link>
    <description>&lt;P&gt;in the case if you will evaluate the latest version 8.0, please take into account &amp;nbsp;the following info:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Intel® IPP library "_l" and "_t" suffixes removed. A new OS native convention is now implemented: Windows* static libraries now have an "mt" suffix for both single and multi-threaded libraries.&lt;/LI&gt;
&lt;LI&gt;Threaded static and dynamic/shared libraries are now in a "threaded" subfolder.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;more info about that you can find onto IPP release note page following the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-ipp-80-library-release-notes"&gt;http://software.intel.com/en-us/articles/intel-ipp-80-library-release-notes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2013 07:15:10 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2013-07-26T07:15:10Z</dc:date>
    <item>
      <title>Linking a project using IPP and MKL</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960207#M19590</link>
      <description>&lt;P&gt;Unfortunately I'm new to C++ compiling, and I've been thrown in at the deep end and asked to convert an Intel C++ compiled DLL on Windows into the Linux equivalent (which I believe to be a dynamically linked shared object?).&lt;/P&gt;
&lt;P&gt;I think I have successfully altered the code so that it should compile, but it seems to be tripping up when it comes to linking. I'm getting dozens of errors in the format 'source.cpp: undefined reference to `ippsMalloc_64f' in function 'someFunction'', and ippsMalloc_64f can be replaced with ippsfree, ippsSet_64f etc...&lt;/P&gt;
&lt;P&gt;I'm assuming that the problem lies with my arguments that I pass to the compiler. These are:&lt;/P&gt;
&lt;P&gt;$ icpc *.cpp -I$MKLROOT/include -I$IPPROOT/include -L$IPPROOT/lib/intel64 -L$MKLROOT/lib/intel64&lt;/P&gt;
&lt;P&gt;My environment variables: IPPROOT is /opt/intel/composer_xe_2013.5.192/ipp, and MKLROOT is /opt/intel/composer_xe_2013.5.192/mkl&lt;/P&gt;
&lt;P&gt;O/S is Fedora 18. Each source file has #include&amp;lt;ipp.h&amp;gt; and #include&amp;lt;mkl.h&amp;gt; at the top.&lt;/P&gt;
&lt;P&gt;What am I doing wrong, and how do I specify to output a shared object?&lt;/P&gt;
&lt;P&gt;Thanks, and sorry for the amateur questions.&lt;BR /&gt;Thomas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 10:45:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960207#M19590</guid>
      <dc:creator>Thomas_W_4</dc:creator>
      <dc:date>2013-07-25T10:45:04Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...I'm getting dozens of</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960208#M19591</link>
      <description>&amp;gt;&amp;gt;...I'm getting dozens of errors in the format 'source.cpp: undefined reference to `ippsMalloc_64f' in function 'someFunction''...
&amp;gt;&amp;gt;...
&amp;gt;&amp;gt;$ icpc *.cpp -I$MKLROOT/include -I$IPPROOT/include -L$IPPROOT/lib/intel64 -L$MKLROOT/lib/intel64

Since this is the error during Linking it is clear that you have Not linked some IPP libraries. Could you check $IPPROOT/lib/intel64 folder?</description>
      <pubDate>Fri, 26 Jul 2013 01:05:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960208#M19591</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-26T01:05:08Z</dc:date>
    </item>
    <item>
      <title>Hi Thomas,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960209#M19592</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;
&lt;P&gt;You need "&lt;STRONG&gt;-l&amp;lt;lib_name&amp;gt;&lt;/STRONG&gt;" (low-case L) option in your command line. This option tells Linux linker to search "&lt;STRONG&gt;lib&amp;lt;libname&amp;gt;.a&lt;/STRONG&gt;" file for unresolved external references.&lt;/P&gt;
&lt;P&gt;Look into &lt;STRONG&gt;$IPPROOT/lib/intel64&lt;/STRONG&gt; folder. &lt;STRONG&gt;ippsMalloc*&lt;/STRONG&gt;&amp;nbsp;(and most of ipps* functions) are part of IPPS library. If your IPP is 7.1.x you need to add &lt;BR /&gt;"&lt;STRONG&gt;-lipps&amp;lt;suffix&amp;gt;&lt;/STRONG&gt;", where &amp;lt;suffix&amp;gt; is either blank for dynamic linking, or "&lt;STRONG&gt;_l&lt;/STRONG&gt;" for static single-thread, or "&lt;STRONG&gt;_t&lt;/STRONG&gt;" for static multi-thread.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Sergey&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2013 04:52:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960209#M19592</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2013-07-26T04:52:13Z</dc:date>
    </item>
    <item>
      <title>in the case if you will</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960210#M19593</link>
      <description>&lt;P&gt;in the case if you will evaluate the latest version 8.0, please take into account &amp;nbsp;the following info:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Intel® IPP library "_l" and "_t" suffixes removed. A new OS native convention is now implemented: Windows* static libraries now have an "mt" suffix for both single and multi-threaded libraries.&lt;/LI&gt;
&lt;LI&gt;Threaded static and dynamic/shared libraries are now in a "threaded" subfolder.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;more info about that you can find onto IPP release note page following the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-ipp-80-library-release-notes"&gt;http://software.intel.com/en-us/articles/intel-ipp-80-library-release-notes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2013 07:15:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960210#M19593</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2013-07-26T07:15:10Z</dc:date>
    </item>
    <item>
      <title>Quote:Sergey Kostrov wrote:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960211#M19594</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Sergey Kostrov wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;...I'm getting dozens of errors in the format 'source.cpp: undefined reference to `ippsMalloc_64f' in function 'someFunction''...&lt;BR /&gt; &amp;gt;&amp;gt;...&lt;BR /&gt; &amp;gt;&amp;gt;$ icpc *.cpp -I$MKLROOT/include -I$IPPROOT/include -L$IPPROOT/lib/intel64 -L$MKLROOT/lib/intel64&lt;/P&gt;
&lt;P&gt;Since this is the error during Linking it is clear that you have Not linked some IPP libraries. Could you check $IPPROOT/lib/intel64 folder?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://i.imgur.com/T3ihNhC.png" height="327" width="1552" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2013 07:44:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960211#M19594</guid>
      <dc:creator>Thomas_W_4</dc:creator>
      <dc:date>2013-07-26T07:44:09Z</dc:date>
    </item>
    <item>
      <title>Quote:Sergey Khlystov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960212#M19595</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Sergey Khlystov (Intel) wrote:&lt;BR /&gt;You need "&lt;STRONG&gt;-l&amp;lt;lib_name&amp;gt;&lt;/STRONG&gt;" (low-case L) option in your command line. This option tells Linux linker to search "&lt;STRONG&gt;lib&amp;lt;libname&amp;gt;.a&lt;/STRONG&gt;" file for unresolved external references.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This solved it! Using grep and the &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor"&gt;Intel Library Link Line Advisor&lt;/A&gt;&amp;nbsp;I ended up with the command&lt;/P&gt;
&lt;P&gt;icpc *.cpp &amp;nbsp;-I/opt/intel/composer_xe_2013.5.192/mkl/include -I/opt/intel/composer_xe_2013.5.192/ipp/include -L/opt/intel/composer_xe_2013.5.192/ipp/lib/intel64 -L/opt/intel/composer_xe_2013.5.192/mkl/lib/intel64 -lipps -lippcore -lippvm -lippm -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lpthread -lm&lt;/P&gt;
&lt;P&gt;No doubt I'll be back in the near future with some other amateur questions.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Thomas&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2013 08:13:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960212#M19595</guid>
      <dc:creator>Thomas_W_4</dc:creator>
      <dc:date>2013-07-26T08:13:08Z</dc:date>
    </item>
    <item>
      <title>All libipps* libraries in the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960213#M19596</link>
      <description>All &lt;STRONG&gt;libipps*&lt;/STRONG&gt; libraries in the folder and I'm glad that you've managed to fix the problem. Thanks for the screenshot and update on the issue.</description>
      <pubDate>Fri, 26 Jul 2013 13:42:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Linking-a-project-using-IPP-and-MKL/m-p/960213#M19596</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-26T13:42:00Z</dc:date>
    </item>
  </channel>
</rss>

