<?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 pardiso with parallel MKL and TBB on large systems in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-with-parallel-MKL-and-TBB-on-large-systems/m-p/1129643#M25520</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm solving a large sparse system with pardiso. I'm using the Parallel MKL library with TBB enabled on Windows 64bit system. My A matrix is 57k x 57k and my right hand side B matrix is 57k x 45k.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;When I run the code, I get an error during the solution = -2.&lt;/SPAN&gt;&amp;nbsp;If I switch to using the Sequential version of MKL,&amp;nbsp; the peak memory used is about 80GB but the process solves. In the parallel mode, I get the output regarding the statistics of the parallel direct factorization and the error happens almost immediately so it doesn't seem like it's actually trying to do the forward/backward substitution.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;It seems that pardiso is just trying to use up all available memory in parallel mode. I have tried on machines with 64GB memory, 72GB and 128GB and each time, if I check on the value:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;max(iparm[14], iparm[15] + iparm[16]) before the solve phase (I'm using C indexing)&amp;nbsp; the results is always returned as the remaining free memory on the machine.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2018 21:13:35 GMT</pubDate>
    <dc:creator>Goldis__John</dc:creator>
    <dc:date>2018-01-26T21:13:35Z</dc:date>
    <item>
      <title>pardiso with parallel MKL and TBB on large systems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-with-parallel-MKL-and-TBB-on-large-systems/m-p/1129643#M25520</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm solving a large sparse system with pardiso. I'm using the Parallel MKL library with TBB enabled on Windows 64bit system. My A matrix is 57k x 57k and my right hand side B matrix is 57k x 45k.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;When I run the code, I get an error during the solution = -2.&lt;/SPAN&gt;&amp;nbsp;If I switch to using the Sequential version of MKL,&amp;nbsp; the peak memory used is about 80GB but the process solves. In the parallel mode, I get the output regarding the statistics of the parallel direct factorization and the error happens almost immediately so it doesn't seem like it's actually trying to do the forward/backward substitution.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;It seems that pardiso is just trying to use up all available memory in parallel mode. I have tried on machines with 64GB memory, 72GB and 128GB and each time, if I check on the value:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;max(iparm[14], iparm[15] + iparm[16]) before the solve phase (I'm using C indexing)&amp;nbsp; the results is always returned as the remaining free memory on the machine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 21:13:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-with-parallel-MKL-and-TBB-on-large-systems/m-p/1129643#M25520</guid>
      <dc:creator>Goldis__John</dc:creator>
      <dc:date>2018-01-26T21:13:35Z</dc:date>
    </item>
    <item>
      <title>What version of lib do you</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-with-parallel-MKL-and-TBB-on-large-systems/m-p/1129644#M25521</link>
      <description>&lt;P style="margin: 0in 0in 0.25in; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11pt; font-family: Arial, sans-serif;"&gt;What version of lib do you use?&amp;nbsp; Is that specific with TBB based threading mode or the same with OpenMP mode too?&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2018 04:33:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-with-parallel-MKL-and-TBB-on-large-systems/m-p/1129644#M25521</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-01-28T04:33:13Z</dc:date>
    </item>
    <item>
      <title>I'm using the Build date: 08</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-with-parallel-MKL-and-TBB-on-large-systems/m-p/1129645#M25522</link>
      <description>&lt;P&gt;I'm using the &lt;EM&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: intel-clear-cyrillic, intel-clear, Tahoma, Arial, sans-serif; font-size: 14px;"&gt;Build date: 08 Nov 2017&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;version&lt;FONT color="#666666" face="intel-clear-cyrillic, intel-clear, Tahoma, Arial, sans-serif"&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;I&gt;.&amp;nbsp;&amp;nbsp;&lt;/I&gt;I tried with and without TBB and am getting the same result. The factorization takes about 20 GB of memory and then i immediately get the error. The machine has 140GB of RAM (it's an AWS &lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: AmazonEmber, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; text-align: center;"&gt;c5.18xlarge instance)&lt;/SPAN&gt;&lt;FONT color="#666666" face="intel-clear-cyrillic, intel-clear, Tahoma, Arial, sans-serif"&gt;&lt;SPAN style="font-size: 14px;"&gt;. Here are my solver settings and I've tried with iparm[1] set to both 2 and 3 as well as iparm[24] at both 0 and 1 (although probably missed some combinations with TBB on/off).&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[0] = 1;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[1] = 2;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[3] = 0;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[4] = 0;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[5] = 0;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[7] = 2;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[9] = 8;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[10] = 1;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[12] = 0;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[13] = 0;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[17] = -1;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[18] = -1;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[19] = 0;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[20] = 1;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[24] = 1;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;iparm[34] = 1;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;thanks!&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jan 2018 20:12:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-with-parallel-MKL-and-TBB-on-large-systems/m-p/1129645#M25522</guid>
      <dc:creator>Goldis__John</dc:creator>
      <dc:date>2018-01-29T20:12:23Z</dc:date>
    </item>
  </channel>
</rss>

