<?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: disabiling threading in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/disabiling-threading/m-p/939977#M17565</link>
    <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;Thanks for interesting question. Our answer is - IPP doesn't support MPI, and for now doesn't consider the usage MPI(OMP).&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;Recommendation is to use static. Possible problem, libguide itself is not switched off even evn var is set. The initialization code of libguide is executed in any case.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 08 Sep 2004 21:23:21 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2004-09-08T21:23:21Z</dc:date>
    <item>
      <title>disabiling threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/disabiling-threading/m-p/939976#M17564</link>
      <description>I'm having trouble getting IPP40 to work with mpich. The programs work fine with IPP30 and mpich, but when I link in IPP40 it simply seg fault in some threading code. As a result I thought the problem may be caused by incompatable threading in IPP40. So, I was trying to turn off the threading in IPP40. However I couldn't figure out how to do this. In the IPP40 release notes it says&lt;BR /&gt;&lt;BR /&gt;Increased Threading control&lt;BR /&gt;&lt;BR /&gt;* The use of the dynamic version of libguide allows users to enable/disable nested threading. It is now possible to disable threading inside of Intel IPP library functions such that threading control is maintained at the application level.&lt;BR /&gt;&lt;BR /&gt;I can find no documentation for how this is done, however.&lt;BR /&gt;I found something that suggested setting OMP_NUM_THREADS equal one, but when I do this IPP still spawns threads.&lt;BR /&gt;&lt;BR /&gt;Anyone know how to turn off threading? Or to get IPP40 to work with mpich?&lt;BR /&gt;&lt;BR /&gt;(in any case I don't really want IPP to spawn threads)&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;below is a backtrace of the segfault I get with IPP40. With IPP30 the program runs fine, and I've seen the same thing with multiple mpi programs that also use IPP.&lt;BR /&gt;&lt;BR /&gt;#0 __pthread_alt_lock (lock=0x402e8460, self=0x0) at spinlock.c:446&lt;BR /&gt;#1 0x40335cf6 in __pthread_mutex_lock (mutex=0x402e8450) at mutex.c:120&lt;BR /&gt;#2 0x402343c8 in __libc_free (mem=0x805c448) at malloc.c:3152&lt;BR /&gt;#3 0x40077f2b in beowulf_init () from /usr/lib/libmpich.so.1&lt;BR /&gt;#4 0x4007608b in p4_initenv () from /usr/lib/libmpich.so.1&lt;BR /&gt;#5 0x4008e5da in MPID_P4_Init () from /usr/lib/libmpich.so.1&lt;BR /&gt;#6 0x4008d52d in MPID_CH_InitMsgPass () from /usr/lib/libmpich.so.1&lt;BR /&gt;#7 0x40082b1b in MPID_Init () from /usr/lib/libmpich.so.1&lt;BR /&gt;#8 0x4009c9f8 in MPIR_Init () from /usr/lib/libmpich.so.1&lt;BR /&gt;#9 0x4009c855 in PMPI_Init () from /usr/lib/libmpich.so.1&lt;BR /&gt;#10 0x0804af83 in main (argc=1, argv=0xbffff514) at mpi_ipp_test.cpp:34&lt;BR /&gt;#11 0x401cf657 in __libc_start_main (main=0x804af18 , argc=1,&lt;BR /&gt;ubp_av=0xbffff514, init=0x804a9e4 _init&amp;gt;, fini=0x80548c4 _fini&amp;gt;,&lt;BR /&gt;rtld_fini=0x4000dc94 _dl_fini&amp;gt;, stack_end=0xbffff50c)&lt;BR /&gt;at ../sysdeps/generic/libc-start.c:129</description>
      <pubDate>Wed, 08 Sep 2004 04:35:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/disabiling-threading/m-p/939976#M17564</guid>
      <dc:creator>jeige</dc:creator>
      <dc:date>2004-09-08T04:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: disabiling threading</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/disabiling-threading/m-p/939977#M17565</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;Thanks for interesting question. Our answer is - IPP doesn't support MPI, and for now doesn't consider the usage MPI(OMP).&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;Recommendation is to use static. Possible problem, libguide itself is not switched off even evn var is set. The initialization code of libguide is executed in any case.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Sep 2004 21:23:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/disabiling-threading/m-p/939977#M17565</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-09-08T21:23:21Z</dc:date>
    </item>
  </channel>
</rss>

