<?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 Hi Peter, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-linked-against-MKL-not-utilizing-all-cores/m-p/1033114#M20251</link>
    <description>&lt;P&gt;Hi Peter,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; I see &lt;A href="https://aws.amazon.com/ec2/instance-types/"&gt;https://aws.amazon.com/ec2/instance-types/&lt;/A&gt; ec2 c3.2xlarge the details. ( I do not have any experience in using aws).&lt;/P&gt;

&lt;P&gt;&amp;nbsp; Since your build/installation of numpy/scipy with MKL was successful and your benchmark is also running properly with MKL functions, from my understanding, and you&amp;nbsp;mentioned it is using only 1 core, &amp;nbsp;it&amp;nbsp;may be something related to the threading control is not done for MKL.&lt;/P&gt;

&lt;P&gt;You can set the MKL threading&amp;nbsp;environment variables to&amp;nbsp;the&amp;nbsp;number of cores and see whether that helps. Please refer below&amp;nbsp;document.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://software.intel.com/en-us/node/528546"&gt;https://software.intel.com/en-us/node/528546&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;--Vipin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2015 04:51:45 GMT</pubDate>
    <dc:creator>VipinKumar_E_Intel</dc:creator>
    <dc:date>2015-06-10T04:51:45Z</dc:date>
    <item>
      <title>Numpy linked against MKL not utilizing all cores</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-linked-against-MKL-not-utilizing-all-cores/m-p/1033113#M20250</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;

&lt;P&gt;I'm using MKL to speed up numpy and doing some benchmark of matrix multiplication. Mostly I followed the instruction in &lt;A href="https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl" target="_blank"&gt;https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl&lt;/A&gt;. It works great on my dev Mac machine but when I build it the same way on a ec2 &lt;SPAN class="s1"&gt;c3.2xlarge instance, only one core is used with the benchmark script. I'm pretty sure it has 8 physical core...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Has anyone encounter this before or the processor on ec2 doesn't support MKL?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 22:35:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-linked-against-MKL-not-utilizing-all-cores/m-p/1033113#M20250</guid>
      <dc:creator>Peter_L_4</dc:creator>
      <dc:date>2015-06-09T22:35:20Z</dc:date>
    </item>
    <item>
      <title>Hi Peter,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-linked-against-MKL-not-utilizing-all-cores/m-p/1033114#M20251</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; I see &lt;A href="https://aws.amazon.com/ec2/instance-types/"&gt;https://aws.amazon.com/ec2/instance-types/&lt;/A&gt; ec2 c3.2xlarge the details. ( I do not have any experience in using aws).&lt;/P&gt;

&lt;P&gt;&amp;nbsp; Since your build/installation of numpy/scipy with MKL was successful and your benchmark is also running properly with MKL functions, from my understanding, and you&amp;nbsp;mentioned it is using only 1 core, &amp;nbsp;it&amp;nbsp;may be something related to the threading control is not done for MKL.&lt;/P&gt;

&lt;P&gt;You can set the MKL threading&amp;nbsp;environment variables to&amp;nbsp;the&amp;nbsp;number of cores and see whether that helps. Please refer below&amp;nbsp;document.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://software.intel.com/en-us/node/528546"&gt;https://software.intel.com/en-us/node/528546&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;--Vipin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 04:51:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-linked-against-MKL-not-utilizing-all-cores/m-p/1033114#M20251</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2015-06-10T04:51:45Z</dc:date>
    </item>
  </channel>
</rss>

