<?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 Solving a sequence of systems with identical sparsity patterns ? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821989#M4869</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have to solve a sequence (iteration) of systems AX = B with multiple RHS.&lt;BR /&gt;At each iteration, X and B do not change and A changes but retains its sparsity patterns.&lt;BR /&gt;&lt;BR /&gt;So I think I can use iparm&lt;SAMP class="codeph"&gt;[3]=62 but I know &lt;/SAMP&gt;exactly &lt;SAMP class="codeph"&gt;how to use it.&lt;BR /&gt;&lt;BR /&gt;B&lt;/SAMP&gt;elow is a summary of what I do :&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;I&gt;Itration 1 :&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;iparm[3]=0;&lt;BR /&gt;phase=13;&lt;BR /&gt;pardiso(...);&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;I&gt;Itration 2 :&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;iparm[3]=62;&lt;BR /&gt;phase=23;&lt;BR /&gt;pardiso(...);&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;I&gt;Itration 3 :&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;
iparm[3]=62;&lt;BR /&gt;
phase=23;&lt;BR /&gt;
pardiso(...);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I never release memory (phase=0 or -1) between iterations.&lt;BR /&gt;&lt;BR /&gt;Is it the correct way to solve my problem ?&lt;BR /&gt;&lt;BR /&gt;Thierry&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Sep 2010 10:51:25 GMT</pubDate>
    <dc:creator>Thierry_LE_SOMMER__E</dc:creator>
    <dc:date>2010-09-17T10:51:25Z</dc:date>
    <item>
      <title>Solving a sequence of systems with identical sparsity patterns ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821989#M4869</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have to solve a sequence (iteration) of systems AX = B with multiple RHS.&lt;BR /&gt;At each iteration, X and B do not change and A changes but retains its sparsity patterns.&lt;BR /&gt;&lt;BR /&gt;So I think I can use iparm&lt;SAMP class="codeph"&gt;[3]=62 but I know &lt;/SAMP&gt;exactly &lt;SAMP class="codeph"&gt;how to use it.&lt;BR /&gt;&lt;BR /&gt;B&lt;/SAMP&gt;elow is a summary of what I do :&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;I&gt;Itration 1 :&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;iparm[3]=0;&lt;BR /&gt;phase=13;&lt;BR /&gt;pardiso(...);&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;I&gt;Itration 2 :&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;iparm[3]=62;&lt;BR /&gt;phase=23;&lt;BR /&gt;pardiso(...);&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;I&gt;Itration 3 :&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;
iparm[3]=62;&lt;BR /&gt;
phase=23;&lt;BR /&gt;
pardiso(...);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I never release memory (phase=0 or -1) between iterations.&lt;BR /&gt;&lt;BR /&gt;Is it the correct way to solve my problem ?&lt;BR /&gt;&lt;BR /&gt;Thierry&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Sep 2010 10:51:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821989#M4869</guid>
      <dc:creator>Thierry_LE_SOMMER__E</dc:creator>
      <dc:date>2010-09-17T10:51:25Z</dc:date>
    </item>
    <item>
      <title>Solving a sequence of systems with identical sparsity patterns</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821990#M4870</link>
      <description>Thierry, please see this &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=66732&amp;amp;o=a&amp;amp;s=lr"&gt;topic&lt;/A&gt;.</description>
      <pubDate>Fri, 17 Sep 2010 11:56:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821990#M4870</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-09-17T11:56:29Z</dc:date>
    </item>
    <item>
      <title>Solving a sequence of systems with identical sparsity patterns</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821991#M4871</link>
      <description>Thank you&lt;BR /&gt;I read the topic and I found a start of answer but I found nothing about iparm[3]&lt;BR /&gt;&lt;BR /&gt;In my case, I have one matrix and therefore one memory address pointer PT.&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Sep 2010 12:56:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821991#M4871</guid>
      <dc:creator>Thierry_LE_SOMMER__E</dc:creator>
      <dc:date>2010-09-17T12:56:08Z</dc:date>
    </item>
    <item>
      <title>Solving a sequence of systems with identical sparsity patterns</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821992#M4872</link>
      <description>I made a search with Google on this forum and I found my answer&lt;BR /&gt;&lt;BR /&gt;What I do is correct but with iparm[3]=62 i see no speed up&lt;BR /&gt;I set iparm[3]=32 and now the speed up is there.</description>
      <pubDate>Fri, 17 Sep 2010 13:51:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821992#M4872</guid>
      <dc:creator>Thierry_LE_SOMMER__E</dc:creator>
      <dc:date>2010-09-17T13:51:24Z</dc:date>
    </item>
    <item>
      <title>Solving a sequence of systems with identical sparsity patterns</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821993#M4873</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;What matrix type do you use?&lt;BR /&gt;If A changes and scaling and matching are used (iparm(11) and iparm(13)), so you should rerun phase 11. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:18:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821993#M4873</guid>
      <dc:creator>Sergey_Solovev__Inte</dc:creator>
      <dc:date>2010-09-20T09:18:58Z</dc:date>
    </item>
    <item>
      <title>Solving a sequence of systems with identical sparsity patterns</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821994#M4874</link>
      <description>Currently I use :&lt;BR /&gt;&lt;BR /&gt;mtype = -2;&lt;BR /&gt;iparm[0] = 1;&lt;BR /&gt;iparm[1] = 2;&lt;BR /&gt;iparm[2] = 4;&lt;BR /&gt;iparm[3] = 32; //0 for the first iteration&lt;BR /&gt;iparm[59] = 1;&lt;BR /&gt;&lt;BR /&gt;iparm[10] and iparm[12] are set to 0&lt;BR /&gt;&lt;BR /&gt;It works fine with that&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:30:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821994#M4874</guid>
      <dc:creator>Thierry_LE_SOMMER__E</dc:creator>
      <dc:date>2010-09-20T09:30:37Z</dc:date>
    </item>
    <item>
      <title>Solving a sequence of systems with identical sparsity patterns</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821995#M4875</link>
      <description>Hi, Thierry!&lt;BR /&gt;&lt;BR /&gt;In the MKL documentation the description of the corresponding iparm(4) parameter contains the following lines:&lt;BR /&gt;&lt;P&gt;" ... iparm(4) has the form iparm(4)= 10*L+K. ... The value L controls the stopping criterion of the Krylow-Subspace iteration: epsCGS = 10^-L is used in the stopping criterion...". &lt;BR /&gt;So for iparm[3] = 32 the value 10^-3 is used in the stopping criterion, while for iparm[3] = 62 the value 10^-6 is used which requires (significantly) more iterations than for stopping criterion 10^-3. I think that the reason ofthe described problem is in more strict conditions for iparm[3]=62 than for iparm[3]=32.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2010 03:50:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-sequence-of-systems-with-identical-sparsity-patterns/m-p/821995#M4875</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2010-09-22T03:50:14Z</dc:date>
    </item>
  </channel>
</rss>

