<?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 Fast poisson solver threading control in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-poisson-solver-threading-control/m-p/1107451#M24212</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I'm trying to control the number of threads used by the fast poisson solver *_Helmholtz_3D. &amp;nbsp;The code is compiled with -tbb and -mkl, and I'm using tbb::task_scheduler_init() function to control the thread count. &amp;nbsp;However, this solver seem to be multithreaded regardless of the number of threads I tell tbb to use. &amp;nbsp;How can I control this?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;MKL Version 11.3.2&lt;BR /&gt;
	ICPC Version 2016.2.062&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2016 09:08:27 GMT</pubDate>
    <dc:creator>Nafees_B_</dc:creator>
    <dc:date>2016-04-27T09:08:27Z</dc:date>
    <item>
      <title>Fast poisson solver threading control</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-poisson-solver-threading-control/m-p/1107451#M24212</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I'm trying to control the number of threads used by the fast poisson solver *_Helmholtz_3D. &amp;nbsp;The code is compiled with -tbb and -mkl, and I'm using tbb::task_scheduler_init() function to control the thread count. &amp;nbsp;However, this solver seem to be multithreaded regardless of the number of threads I tell tbb to use. &amp;nbsp;How can I control this?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;MKL Version 11.3.2&lt;BR /&gt;
	ICPC Version 2016.2.062&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 09:08:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-poisson-solver-threading-control/m-p/1107451#M24212</guid>
      <dc:creator>Nafees_B_</dc:creator>
      <dc:date>2016-04-27T09:08:27Z</dc:date>
    </item>
    <item>
      <title>Hi Nafees,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-poisson-solver-threading-control/m-p/1107452#M24213</link>
      <description>&lt;P&gt;Hi Nafees,&lt;/P&gt;

&lt;P&gt;As I understand,&amp;nbsp; in your case&amp;nbsp; -tbb and -mkl,&amp;nbsp; there are two kind of thread methods:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;tbb,&lt;/P&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;P&gt;OpenMP (-mkl, by default mkl routine will use OpenMP thread)&lt;/P&gt;

&lt;P&gt;tbb::task_scheduler_init() function to control the thread count.&amp;nbsp; but it can't control the thread within MKL routine.&lt;/P&gt;

&lt;P&gt;How about you to try&lt;/P&gt;

&lt;P&gt;&amp;gt;export KMP_AFFINITY= verbose&lt;/P&gt;

&lt;P&gt;&amp;gt;export OMP_NUM_THREADS=1 (Linux)&lt;/P&gt;

&lt;P&gt;or set OMP_NUM_THREADS=1 (windows)&lt;/P&gt;

&lt;P&gt;and see if there is any change.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 03:14:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-poisson-solver-threading-control/m-p/1107452#M24213</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-05-06T03:14:35Z</dc:date>
    </item>
  </channel>
</rss>

