<?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 Re: PARDISO: Suspected bug in partial / Schur-complement solve in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749814#M37605</link>
    <description>&lt;P&gt;Above, I have tested the "partial solve" feature and the Schur-complement feature. Apart from the problem with the wrong result for one of the two matrices, I have compared the PARDISO outputs concerning used resources: They were identical, which is why I think that the partial solve feature is essentially the Schur-complement with a sparse Schur matrix.&lt;/P&gt;&lt;P&gt;I have tested the partial solve feature for another bigger case which delivers the correct result (mtype=6):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Partial solve factorization step is orders of magnitude slower than the standard factorization (can't give a factor because I measure in seconds and the standard factorization is &amp;lt; 1 sec.)&lt;/LI&gt;&lt;LI&gt;The factorization for the partial solve needs about 21 times more RAM&lt;/LI&gt;&lt;LI&gt;I call the "solve" step frequently inside an outer iterative solver (another Schur-complement formulation). With partial solve, the outer iterative solver is about 39 times slower. Here my aim was to get a speedup because the outer solver needs just a "surface solution" from PARDISO instead of the full 3D solution&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Summary: The partial solve / Schur-complement feature is much slower and much more memory intensive than the std. factorization and solve.&lt;/P&gt;&lt;P&gt;I'm not an expert but it is understandable since a number of (sparse) matrix-matrix products are involved and an efficient implementation seems to be very complicated. This is also explained in a PARDISO manual by O. Schenk.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2026 06:48:25 GMT</pubDate>
    <dc:creator>rbunger</dc:creator>
    <dc:date>2026-06-02T06:48:25Z</dc:date>
    <item>
      <title>PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748401#M37591</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a complex symmetric system (mtype = 6). I want to compute a partial solution, specifically just a small upper part of the solution vector. I have tested two different matrices:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;For the first one (ID = 746704) both the partial solve mode (iparm[30] =3) and the sparse Schur-complement mode (iparm[35] = -2) deliver the same correct result.&lt;/LI&gt;&lt;LI&gt;The second matrix is special: It contains two individual sub-matrices so that the corresponding systems could be solved individually, like a block-diagonal matrix (the matrix is a FEM matrix where two domains are not&amp;nbsp;connected (they are connected only via a hybridization with an integral equation)). The computed reduced solutions are wrong.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Each matrix is about 25 MB in size (compressed), so I can't upload them.&lt;/P&gt;&lt;P&gt;Below, I just print the first six coefficients of the solution vector. "partial_solve = 0": Schur-complement mode; "partial_solve = 1": Partial solve mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID = 746704&lt;BR /&gt;partial_solve = 0&lt;BR /&gt;N_schur = 12341&lt;/P&gt;&lt;P&gt;Reference solution:&lt;BR /&gt;x(0) = (0,26.0314)&lt;BR /&gt;x(1) = (0,-25.8455)&lt;BR /&gt;x(2) = (0,41.7267)&lt;BR /&gt;x(3) = (0,-67.5421)&lt;BR /&gt;x(4) = (0,16.0706)&lt;BR /&gt;x(5) = (0,-16.0299)&lt;BR /&gt;&lt;BR /&gt;Reduced solution:&lt;BR /&gt;x(0) = (0,26.0314)&lt;BR /&gt;x(1) = (0,-25.8455)&lt;BR /&gt;x(2) = (0,41.7267)&lt;BR /&gt;x(3) = (0,-67.5421)&lt;BR /&gt;x(4) = (0,16.0706)&lt;BR /&gt;x(5) = (0,-16.0299)&lt;BR /&gt;&lt;BR /&gt;Full solution:&lt;BR /&gt;x(0) = (0,26.0314)&lt;BR /&gt;x(1) = (0,-25.8455)&lt;BR /&gt;x(2) = (0,41.7267)&lt;BR /&gt;x(3) = (0,-67.5421)&lt;BR /&gt;x(4) = (0,16.0706)&lt;BR /&gt;x(5) = (0,-16.0299)&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;ID = 746704&lt;BR /&gt;partial_solve = 1&lt;/P&gt;&lt;P&gt;Reference solution:&lt;BR /&gt;x(0) = (0,26.0314)&lt;BR /&gt;x(1) = (0,-25.8455)&lt;BR /&gt;x(2) = (0,41.7267)&lt;BR /&gt;x(3) = (0,-67.5421)&lt;BR /&gt;x(4) = (0,16.0706)&lt;BR /&gt;x(5) = (0,-16.0299)&lt;BR /&gt;&lt;BR /&gt;Reduced solution:&lt;BR /&gt;x(0) = (0,26.0314)&lt;BR /&gt;x(1) = (0,-25.8455)&lt;BR /&gt;x(2) = (0,41.7267)&lt;BR /&gt;x(3) = (0,-67.5421)&lt;BR /&gt;x(4) = (0,16.0706)&lt;BR /&gt;x(5) = (0,-16.0299)&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;P&gt;ID = 202443&lt;BR /&gt;partial_solve = 0&lt;BR /&gt;N_schur = 6508&lt;/P&gt;&lt;P&gt;Reference solution:&lt;BR /&gt;x(0) = (0,-2.94291)&lt;BR /&gt;x(1) = (0,4.24624)&lt;BR /&gt;x(2) = (0,-7.5356)&lt;BR /&gt;x(3) = (0,8.64307)&lt;BR /&gt;x(4) = (0,-2.44929)&lt;BR /&gt;x(5) = (0,-3.66346)&lt;BR /&gt;&lt;BR /&gt;Reduced solution:&lt;BR /&gt;x(0) = (0,0.124542)&lt;BR /&gt;x(1) = (0,0.13367)&lt;BR /&gt;x(2) = (0,0.133519)&lt;BR /&gt;x(3) = (0,0.151462)&lt;BR /&gt;x(4) = (0,0.152197)&lt;BR /&gt;x(5) = (0,0.148365)&lt;BR /&gt;&lt;BR /&gt;Full solution:&lt;BR /&gt;x(0) = (0,0.365116)&lt;BR /&gt;x(1) = (0,0.589676)&lt;BR /&gt;x(2) = (0,-1.5622)&lt;BR /&gt;x(3) = (0,2.30311)&lt;BR /&gt;x(4) = (0,-0.417001)&lt;BR /&gt;x(5) = (0,0.473597)&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;ID = 202443&lt;BR /&gt;partial_solve = 1&lt;/P&gt;&lt;P&gt;Reference solution:&lt;BR /&gt;x(0) = (0,-2.94291)&lt;BR /&gt;x(1) = (0,4.24624)&lt;BR /&gt;x(2) = (0,-7.5356)&lt;BR /&gt;x(3) = (0,8.64307)&lt;BR /&gt;x(4) = (0,-2.44929)&lt;BR /&gt;x(5) = (0,-3.66346)&lt;BR /&gt;&lt;BR /&gt;Reduced solution:&lt;BR /&gt;x(0) = (0,0.124542)&lt;BR /&gt;x(1) = (0,0.13367)&lt;BR /&gt;x(2) = (0,0.133519)&lt;BR /&gt;x(3) = (0,0.151462)&lt;BR /&gt;x(4) = (0,0.152197)&lt;BR /&gt;x(5) = (0,0.148365)&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 12:24:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748401#M37591</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-05-19T12:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748402#M37592</link>
      <description>&lt;P&gt;I wanted to attach my test code but I got the following error: "The attachment's pardiso_schur.cpp content type (text/x-c++src) does not match its file extension and has been removed."&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 12:26:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748402#M37592</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-05-19T12:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748405#M37593</link>
      <description>&lt;P&gt;oneAPI 2026.0.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 12:45:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748405#M37593</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-05-19T12:45:13Z</dc:date>
    </item>
    <item>
      <title>Re:PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748668#M37596</link>
      <description>&lt;P&gt;Hi, Rainer&lt;/P&gt;&lt;P&gt;Thank you for reaching out. Could you please try uploading the code again using a .c or .cpp file? If needed, try compressing it or upload it as a text file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 May 2026 08:13:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748668#M37596</guid>
      <dc:creator>Aleksandra_K</dc:creator>
      <dc:date>2026-05-21T08:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re:PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748785#M37598</link>
      <description>Hi Alex, many thanks for your interest. I will upload the code next week, but not before Tuesday. It is more or less a combination of existing demo codes. Since it works for one of the matrices, it should be ok. I think PARDISO analyses the matrix for special features, independent block solve for example, and these special cases are possibly not properly combined with partial / Schur complement solve...&lt;BR /&gt;&lt;BR /&gt;Thanks, Rainer</description>
      <pubDate>Fri, 22 May 2026 07:34:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1748785#M37598</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-05-22T07:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749300#M37599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the code as an archive. This is the version I have used to generate the above output. You can't run the code because I can't upload a necessary sparse matrix class I use to generate the reference. I will try to strip down the code and upload it today or tomorrow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2026 07:10:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749300#M37599</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-05-28T07:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749303#M37600</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is a code version which just depends on the Eigen library...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your efforts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2026 07:35:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749303#M37600</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-05-28T07:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749305#M37601</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is a code version without any external requirement (apart from the STL).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rainer&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, 28 May 2026 07:45:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749305#M37601</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-05-28T07:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749814#M37605</link>
      <description>&lt;P&gt;Above, I have tested the "partial solve" feature and the Schur-complement feature. Apart from the problem with the wrong result for one of the two matrices, I have compared the PARDISO outputs concerning used resources: They were identical, which is why I think that the partial solve feature is essentially the Schur-complement with a sparse Schur matrix.&lt;/P&gt;&lt;P&gt;I have tested the partial solve feature for another bigger case which delivers the correct result (mtype=6):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Partial solve factorization step is orders of magnitude slower than the standard factorization (can't give a factor because I measure in seconds and the standard factorization is &amp;lt; 1 sec.)&lt;/LI&gt;&lt;LI&gt;The factorization for the partial solve needs about 21 times more RAM&lt;/LI&gt;&lt;LI&gt;I call the "solve" step frequently inside an outer iterative solver (another Schur-complement formulation). With partial solve, the outer iterative solver is about 39 times slower. Here my aim was to get a speedup because the outer solver needs just a "surface solution" from PARDISO instead of the full 3D solution&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Summary: The partial solve / Schur-complement feature is much slower and much more memory intensive than the std. factorization and solve.&lt;/P&gt;&lt;P&gt;I'm not an expert but it is understandable since a number of (sparse) matrix-matrix products are involved and an efficient implementation seems to be very complicated. This is also explained in a PARDISO manual by O. Schenk.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 06:48:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1749814#M37605</guid>
      <dc:creator>rbunger</dc:creator>
      <dc:date>2026-06-02T06:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: PARDISO: Suspected bug in partial / Schur-complement solve</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1751309#M37608</link>
      <description>&lt;P&gt;Machine is giving You 3 tasks at the same time (different tasks)&lt;BR /&gt;1 Reference 2 Reduced 3 Full 3x3 9 results split improperly&lt;BR /&gt;Machine gives You 3 tasks completed at the same time in 1 task... errors to not damage itself to acomplish task&lt;BR /&gt;but these are 3 tasks at the same time&lt;BR /&gt;Repeating 3 times Reference Reduced Full as split, not as joint per test&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;1 2 3 must be identical the same numbers after finish&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You need:&lt;BR /&gt;Reference1 Reduced2 Full3 should equal same numbers 3x times, it only splits where should not&lt;BR /&gt;&lt;SPAN&gt;partial_solve = 0 are identical separately by error in programming&lt;BR /&gt;partial_solve = 1 are identical separately by error in programming&lt;BR /&gt;partial_solve=0 123&amp;nbsp;123&amp;nbsp;123 3 tasks at the same time&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;partial_solve=1 123&amp;nbsp;123&amp;nbsp;123&amp;nbsp;3 tasks at the same time&lt;BR /&gt;should be:&lt;BR /&gt;partial_solve=0 111 Reference Reduced Full&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;partial_solve=0 111&amp;nbsp;Reference Reduced Full&lt;BR /&gt;partial_solve=0 111&amp;nbsp;Reference Reduced Full&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;partial_solve=0 222&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;partial_solve=0 222&lt;BR /&gt;partial_solve=0 222&lt;BR /&gt;partial_solve=0 333&lt;BR /&gt;partial_solve=0 333&lt;BR /&gt;partial_solve=0 333&lt;BR /&gt;same for:&lt;BR /&gt;partial_solve=1 111 Reference Reduced Full&lt;BR /&gt;partial_solve=1 111&amp;nbsp;Reference Reduced Full&lt;BR /&gt;partial_solve=1 111&amp;nbsp;Reference Reduced Full&lt;BR /&gt;partial_solve=1 222&lt;BR /&gt;partial_solve=1 222&lt;BR /&gt;partial_solve=1 222&lt;BR /&gt;partial_solve=1 333&lt;BR /&gt;partial_solve=1 333&lt;BR /&gt;partial_solve=1 333&lt;BR /&gt;You just acomplished 3 tasks as error to not damage hardwares separated instead 3 not separated&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;3 tasks at the same time splits, need only programming to join not split results in Your prototype, its error showing 3 split jobs.&lt;BR /&gt;Who knows better than me, do not need more than this message to fix repair modify His Her Own not given here at all.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2026 15:54:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-Suspected-bug-in-partial-Schur-complement-solve/m-p/1751309#M37608</guid>
      <dc:creator>LitSurfTry</dc:creator>
      <dc:date>2026-06-14T15:54:52Z</dc:date>
    </item>
  </channel>
</rss>

