<?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 Just for clarification, the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977801#M17189</link>
    <description>&lt;P&gt;Just for clarification, the default action will be the same as OMP_NESTED=0 ??&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Matara Ma&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2014 02:04:12 GMT</pubDate>
    <dc:creator>Matara_Ma_Sukoy1</dc:creator>
    <dc:date>2014-01-15T02:04:12Z</dc:date>
    <item>
      <title>BLAS call inside OMP parallel block</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977799#M17187</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Suppose I have a machine on which I can, say, 8 simultaneous threads. Now suppose I have 2&amp;nbsp; distinct "omp parallel" blocks. I want to use all 8 threads in both blocks.&lt;/P&gt;
&lt;P&gt;However, one paralle block has BLAS calls. The other does not. If I have 8 threads going on these 2 blocks, when the BLAS function is reached will MKL try to parallelize the BLAS call? I'm afraid that this will slow things down because I have no more threads available in my machine. I would still like to take advantage of the MKL-BLAS speedup, but I do not want it to multi-thread because I am already multi-threading at a higher level.&lt;/P&gt;
&lt;P&gt;How do I control this? I understand I have the environment variables OMP_NUM_THREADS and MKL_NUM_THREADS. However the BLAS are not called in every parallel block and it is my understanding that these environment variables are only read once.&lt;/P&gt;
&lt;P&gt;Can somebody comment on how this threading can be controlled?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Arthur&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2012 19:20:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977799#M17187</guid>
      <dc:creator>Arthur_M_</dc:creator>
      <dc:date>2012-12-21T19:20:36Z</dc:date>
    </item>
    <item>
      <title>If you don't set _OMP_NESTED</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977800#M17188</link>
      <description>If you don't set _OMP_NESTED or call omp_set_nested, the default is to run in the parent thread at the lower level of nested OpenMP calls.  You could call omp_set_nested to change the setting prior to an omp parallel.</description>
      <pubDate>Sat, 22 Dec 2012 17:29:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977800#M17188</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-12-22T17:29:40Z</dc:date>
    </item>
    <item>
      <title>Just for clarification, the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977801#M17189</link>
      <description>&lt;P&gt;Just for clarification, the default action will be the same as OMP_NESTED=0 ??&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Matara Ma&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2014 02:04:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977801#M17189</guid>
      <dc:creator>Matara_Ma_Sukoy1</dc:creator>
      <dc:date>2014-01-15T02:04:12Z</dc:date>
    </item>
    <item>
      <title>Yes, by default the OMP</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977802#M17190</link>
      <description>&lt;P&gt;Yes, by default the OMP_NESTED is disabled, if it is not set.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2014 04:10:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BLAS-call-inside-OMP-parallel-block/m-p/977802#M17190</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2014-01-20T04:10:26Z</dc:date>
    </item>
  </channel>
</rss>

