<?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 multi-threaded matrix multiplication  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/multi-threaded-matrix-multiplication/m-p/1056565#M21448</link>
    <description>&lt;P&gt;Dear Intel MKL developers,&lt;/P&gt;

&lt;P&gt;I am integrating the MKL subroutine mkl_zcsrmultcsr in my MPI code. I tested a case with 16 processors, and mkl_zcrsmultcsr is called in every processor in parallel. Once it is called, multi-threaded computing is automatically activated.&lt;/P&gt;

&lt;P&gt;The problem I encountered is that 12 processors among all processors work fine while the other 4 processors give memory corruption errors, moreover, these 4 processors can vary during each test. I am not sure what the problem would be. Your advise is well appreciated.&lt;/P&gt;

&lt;P&gt;best,&lt;/P&gt;

&lt;P&gt;Likun&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2015 23:33:54 GMT</pubDate>
    <dc:creator>Likun_T_</dc:creator>
    <dc:date>2015-03-18T23:33:54Z</dc:date>
    <item>
      <title>multi-threaded matrix multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/multi-threaded-matrix-multiplication/m-p/1056565#M21448</link>
      <description>&lt;P&gt;Dear Intel MKL developers,&lt;/P&gt;

&lt;P&gt;I am integrating the MKL subroutine mkl_zcsrmultcsr in my MPI code. I tested a case with 16 processors, and mkl_zcrsmultcsr is called in every processor in parallel. Once it is called, multi-threaded computing is automatically activated.&lt;/P&gt;

&lt;P&gt;The problem I encountered is that 12 processors among all processors work fine while the other 4 processors give memory corruption errors, moreover, these 4 processors can vary during each test. I am not sure what the problem would be. Your advise is well appreciated.&lt;/P&gt;

&lt;P&gt;best,&lt;/P&gt;

&lt;P&gt;Likun&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 23:33:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/multi-threaded-matrix-multiplication/m-p/1056565#M21448</guid>
      <dc:creator>Likun_T_</dc:creator>
      <dc:date>2015-03-18T23:33:54Z</dc:date>
    </item>
    <item>
      <title>Dear all,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/multi-threaded-matrix-multiplication/m-p/1056566#M21449</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;Some update about my previous post. If I set number of processors to be 4, the call of mkl_zcsrmultcsr is successful in each processor, however, if i tried 8 or 16 processors, I got memory corruption errors.&lt;/P&gt;

&lt;P&gt;The structure of my code is like this:&lt;/P&gt;

&lt;P&gt;subroutine test&lt;/P&gt;

&lt;P&gt;call test1()&lt;/P&gt;

&lt;P&gt;call mkl_zcrsmultcrs()&lt;/P&gt;

&lt;P&gt;call test2()&lt;/P&gt;

&lt;P&gt;end subroutine test&lt;/P&gt;

&lt;P&gt;all the calculations in subroutines test1, test2 and mkl_zcrsmultcrs are independent among processors. I am not sure if anything else is needed for multi-threaded computing.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Likun&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 20:09:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/multi-threaded-matrix-multiplication/m-p/1056566#M21449</guid>
      <dc:creator>Likun_T_</dc:creator>
      <dc:date>2015-03-19T20:09:33Z</dc:date>
    </item>
    <item>
      <title>Hello Likun,   </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/multi-threaded-matrix-multiplication/m-p/1056567#M21450</link>
      <description>&lt;P&gt;Hello Likun, &amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;What do you by "independent among processors"? &amp;nbsp;Are you working on the SMP system with 16 threads? &amp;nbsp;Do you use the same A,B and C arrays which you use in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.3333330154419px; line-height: 20px;"&gt;mkl_zcsrmultcsr?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.3333330154419px; line-height: 20px;"&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 03:28:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/multi-threaded-matrix-multiplication/m-p/1056567#M21450</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-03-20T03:28:13Z</dc:date>
    </item>
  </channel>
</rss>

