<?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 Eclipse 3.5 CDT 6.0 IPP 6.1 and Static Lining, Multi-threading, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829351#M5418</link>
    <description>jaylord wrote "..&lt;B&gt;p&lt;/B&gt;&lt;SPAN style="font-family: verdana, sans-serif; font-size: 10.8333px;"&gt;&lt;B&gt;roblem is, 'ippvmem64t' doesn't exist.."&lt;/B&gt;&lt;/SPAN&gt;&lt;DIV&gt;Could you please look at the &lt;SPAN style="font-size: 10.8333px;"&gt;/opt/intel/Compiler/11.1/072/ipp/em64t/sharedlib directory.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;&lt;/SPAN&gt;Does that mean you cannot seelibippvm.so andlibippcore.so&lt;SPAN style="font-size: 10.8333px;"&gt;binaries there?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;--Gennady&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 06 Sep 2010 06:27:25 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-09-06T06:27:25Z</dc:date>
    <item>
      <title>Eclipse 3.5 CDT 6.0 IPP 6.1 and Static Lining, Multi-threading, etc. under Linux</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829350#M5417</link>
      <description>Something seems to be serious messed up with the IPP setup for Eclipse. What I'm using:&lt;BR /&gt;&lt;BR /&gt;Eclipse 3.5 Build ID 20100218-1602 with CDT 6&lt;BR /&gt;Intel Linux Compiler em64t v11.1-072&lt;BR /&gt;SuSe 11.3 64-bit up to date&lt;BR /&gt;Core2 Quad cpu&lt;BR /&gt;&lt;BR /&gt;Everything seems setup properly with the setup scripts for the Intel compiler and IPP running on login. My app builds properly using using dynamic linking (C/C++ Build-&amp;gt;Settings-&amp;gt;Link with Dynamic Libraries checked), but multi-threading won't start. Heres the code:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt; IppStatus sts;&lt;BR /&gt;  sts = ippInitCpu(ippCpuC2Q);&lt;BR /&gt;  cout &amp;lt;&amp;lt; "Ipp init: " &amp;lt;&amp;lt; ippGetStatusString( sts ) &amp;lt;&amp;lt; endl;&lt;BR /&gt;&lt;BR /&gt;  cout &amp;lt;&amp;lt; "Number of cores = " &amp;lt;&amp;lt; ippGetNumCoresOnDie() &amp;lt;&amp;lt; endl;&lt;BR /&gt;&lt;BR /&gt;  int numThreads = 4;&lt;BR /&gt;  sts = ippSetNumThreads( numThreads );&lt;BR /&gt;  cout &amp;lt;&amp;lt; "Set Num Threads: " &amp;lt;&amp;lt; ippGetStatusString( sts ) &amp;lt;&amp;lt; endl;&lt;BR /&gt;  ippGetNumThreads( &amp;amp;numThreads );&lt;BR /&gt; cout &amp;lt;&amp;lt; "Number of threads = " &amp;lt;&amp;lt; numThreads &amp;lt;&amp;lt; endl;&lt;BR /&gt;  ...&lt;BR /&gt;&lt;BR /&gt;The linker message:&lt;BR /&gt;&lt;BR /&gt;make -k all &lt;BR /&gt;Building target: MXLib.exe&lt;BR /&gt;Invoking: Intel Intel 64 C++ Linker&lt;BR /&gt;icpc -shared-intel -parallel -ipp=common -mkl=parallel -lpthread -o"MXLib.exe" ./src/MXLib.o &lt;BR /&gt;Finished building target: MXLib.exe&lt;BR /&gt;&lt;BR /&gt;And what I get out:&lt;BR /&gt;&lt;BR /&gt;Ipp init: ippStsNoErr: No error, it's OK&lt;BR /&gt;Number of cores = 4&lt;BR /&gt;Set Num Threads: ippStsNoOperation: No operation has been executed&lt;BR /&gt;Number of threads = 1&lt;BR /&gt;&lt;BR /&gt;So, obviously multi-threading is not working. I tried using the static threaded libraries but they defy all effort to link through eclipse. No combination of options anywhere will make the linker inside eclipse have anything to do with it. Just checking the use static libraries box brings up:&lt;BR /&gt;&lt;BR /&gt;make -k all &lt;BR /&gt;Building target: MXLib.exe&lt;BR /&gt;Invoking: Intel Intel 64 C++ Linker&lt;BR /&gt;icpc -static -parallel -ipp=common -mkl=parallel -lpthread -o"MXLib.exe" ./src/MXLib.o &lt;BR /&gt;ld: cannot find -lippvmem64t&lt;BR /&gt;make: *** [MXLib.exe] Error 1&lt;BR /&gt;make: Target `all' not remade because of errors.&lt;BR /&gt;&lt;BR /&gt;Problem is, 'ippvmem64t' doesn't exist. There are 'libippvmemerged64t.a' etc. in the IPP lib folder. Unchecking the use static libraries and adding the libraries manully doesn't work for some reason (Eclipse adding the -l before the library name?).&lt;BR /&gt;&lt;BR /&gt;Anyway, something is definatley messed up, missing from the help docs or I've been drinking too much and it's effecting me during the day. :-)&lt;BR /&gt;&lt;BR /&gt;P.S. I want to do this through the Eclipse interface since this library is for use by non-programmers who do not want to mess with makefiles.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Sep 2010 17:43:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829350#M5417</guid>
      <dc:creator>jaylord</dc:creator>
      <dc:date>2010-09-05T17:43:55Z</dc:date>
    </item>
    <item>
      <title>Eclipse 3.5 CDT 6.0 IPP 6.1 and Static Lining, Multi-threading,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829351#M5418</link>
      <description>jaylord wrote "..&lt;B&gt;p&lt;/B&gt;&lt;SPAN style="font-family: verdana, sans-serif; font-size: 10.8333px;"&gt;&lt;B&gt;roblem is, 'ippvmem64t' doesn't exist.."&lt;/B&gt;&lt;/SPAN&gt;&lt;DIV&gt;Could you please look at the &lt;SPAN style="font-size: 10.8333px;"&gt;/opt/intel/Compiler/11.1/072/ipp/em64t/sharedlib directory.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;&lt;/SPAN&gt;Does that mean you cannot seelibippvm.so andlibippcore.so&lt;SPAN style="font-size: 10.8333px;"&gt;binaries there?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;--Gennady&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Sep 2010 06:27:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829351#M5418</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-09-06T06:27:25Z</dc:date>
    </item>
    <item>
      <title>Eclipse 3.5 CDT 6.0 IPP 6.1 and Static Lining, Multi-threading,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829352#M5419</link>
      <description>There is a libippvmem64t.so (I'm using the 64-bit version) in /opt/intel/Compiler/11.1/072/ipp/ia32/sharedlib, but that's not what it's complaining about. It's looking for ippvmem64t (without the 'lib' at the begininng). Like I said, dynamic linking works although it doesn't seem to multithread. I think maybe IPP and CDT are out of sync and things are not being set up properly.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2010 22:36:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829352#M5419</guid>
      <dc:creator>jaylord</dc:creator>
      <dc:date>2010-09-06T22:36:47Z</dc:date>
    </item>
    <item>
      <title>Eclipse 3.5 CDT 6.0 IPP 6.1 and Static Lining, Multi-threading,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829353#M5420</link>
      <description>Hate to reply to my own post, but I just ran a quick test looping ippsDiv_32f_I() (a multi-threaded IPP function) 10,000 times on 1,000,000 element sized vectors and it is definately running single threaded.</description>
      <pubDate>Mon, 06 Sep 2010 22:46:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829353#M5420</guid>
      <dc:creator>jaylord</dc:creator>
      <dc:date>2010-09-06T22:46:08Z</dc:date>
    </item>
    <item>
      <title>Eclipse 3.5 CDT 6.0 IPP 6.1 and Static Lining, Multi-threading,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829354#M5421</link>
      <description>Never Mind!&lt;BR /&gt;&lt;BR /&gt;I figured it out. It was a RTFM (sort of) issue. It was all spelled out on this web page:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/how-to-build-ipp-application-in-linux-environment/" target="_blank"&gt;http://software.intel.com/en-us/articles/how-to-build-ipp-application-in-linux-environment/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I just wish this page was included in the download.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2010 03:48:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eclipse-3-5-CDT-6-0-IPP-6-1-and-Static-Lining-Multi-threading/m-p/829354#M5421</guid>
      <dc:creator>jaylord</dc:creator>
      <dc:date>2010-09-07T03:48:00Z</dc:date>
    </item>
  </channel>
</rss>

