<?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 Thank you Irina. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-Pardiso-to-solve-linear-system-with-the-same-pattern/m-p/1172848#M28708</link>
    <description>&lt;P&gt;Thank you Irina.&lt;/P&gt;

&lt;P&gt;Should I release memory each time (i.e. using Phase = -1)? As you know, I'm solving a linear system in many iterations. If I don't release memory, will my code accumulate memory usage unnecessarily?&lt;/P&gt;</description>
    <pubDate>Sun, 17 Dec 2017 03:40:02 GMT</pubDate>
    <dc:creator>Hwang__Carpenter</dc:creator>
    <dc:date>2017-12-17T03:40:02Z</dc:date>
    <item>
      <title>Using Pardiso to solve linear system with the same pattern</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-Pardiso-to-solve-linear-system-with-the-same-pattern/m-p/1172846#M28706</link>
      <description>&lt;P&gt;Suppose that I need to solve a linear system in this form, Ax=b, in many iterations. In each iteration, I get a new matrix A. However, the pattern of the matrix is the same. That is, the indices of the nonzeros in A are the same throughout the iterations, but the values of the nonzeros change throughout the iterations.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I don't want to go from phase 1 to phase 3 every time. Since LU factorization doesn't depend entirely on the values of the nonzeros, can I just run phases 1 and 2 just once and in the iterations run phase 3 for different IA, JA, and A vectors, so that I don't have to factorize every time?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 20:34:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-Pardiso-to-solve-linear-system-with-the-same-pattern/m-p/1172846#M28706</guid>
      <dc:creator>Hwang__Carpenter</dc:creator>
      <dc:date>2017-12-13T20:34:12Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-Pardiso-to-solve-linear-system-with-the-same-pattern/m-p/1172847#M28707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I think what you need is a low rank update - it allows to use factorization for matrix A1 when factorizing A2 if&amp;nbsp;both matrices have the same pattern of nonzeroes. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;To use the low rank update feature, set&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SAMP class="codeph" style="color: rgb(102, 102, 102); text-transform: none; line-height: 1.6em; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; white-space: normal; box-sizing: border-box; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN class="parmname" style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-style: italic; font-weight: normal; box-sizing: border-box;"&gt;iparm&lt;/SPAN&gt;(39)&lt;/SAMP&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SAMP class="codeph" style="color: rgb(102, 102, 102); text-transform: none; line-height: 1.6em; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; white-space: normal; box-sizing: border-box; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;= 1&lt;/SAMP&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN&gt;&amp;nbsp;and&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SAMP class="codeph" style="color: rgb(102, 102, 102); text-transform: none; line-height: 1.6em; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; white-space: normal; box-sizing: border-box; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SAMP class="codeph" style="line-height: 1.6em; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; box-sizing: border-box;"&gt;&lt;SPAN class="parmname" style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-style: italic; font-weight: normal; box-sizing: border-box;"&gt;iparm&lt;/SPAN&gt;(24)&lt;/SAMP&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;= 10&lt;/SAMP&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;. And additionally supply an array that lists the values in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;VAR style="color: rgb(102, 102, 102); text-transform: none; line-height: 1.6em; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-weight: 400; word-spacing: 0px; white-space: normal; box-sizing: border-box; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;A2&lt;/VAR&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that are different from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;VAR style="color: rgb(102, 102, 102); text-transform: none; line-height: 1.6em; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-weight: 400; word-spacing: 0px; white-space: normal; box-sizing: border-box; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;A1&lt;/VAR&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="parmname" style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-style: italic; font-weight: 400; word-spacing: 0px; white-space: normal; box-sizing: border-box; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;perm&lt;/SPAN&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;parameter. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;More information &lt;A href="https://software.intel.com/en-us/mkl-developer-reference-c-intel-mkl-pardiso-parallel-direct-sparse-solver-interface#LOW_RANK"&gt;here&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Irina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 21:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-Pardiso-to-solve-linear-system-with-the-same-pattern/m-p/1172847#M28707</guid>
      <dc:creator>Irina_S_Intel</dc:creator>
      <dc:date>2017-12-14T21:37:00Z</dc:date>
    </item>
    <item>
      <title>Thank you Irina.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-Pardiso-to-solve-linear-system-with-the-same-pattern/m-p/1172848#M28708</link>
      <description>&lt;P&gt;Thank you Irina.&lt;/P&gt;

&lt;P&gt;Should I release memory each time (i.e. using Phase = -1)? As you know, I'm solving a linear system in many iterations. If I don't release memory, will my code accumulate memory usage unnecessarily?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2017 03:40:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-Pardiso-to-solve-linear-system-with-the-same-pattern/m-p/1172848#M28708</guid>
      <dc:creator>Hwang__Carpenter</dc:creator>
      <dc:date>2017-12-17T03:40:02Z</dc:date>
    </item>
  </channel>
</rss>

