<?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 got the wrong Schur complement in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1736082#M37521</link>
    <description>&lt;P&gt;Brain,&amp;nbsp; can you please check with new MKL releases:&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html&amp;nbsp;&lt;/A&gt;&amp;nbsp;This problem expected to be fixed starting from MKL 2025.2.&amp;nbsp; Thanks for your report of this problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
    <pubDate>Fri, 06 Feb 2026 04:47:05 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2026-02-06T04:47:05Z</dc:date>
    <item>
      <title>Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1627578#M36371</link>
      <description>&lt;P&gt;Hi, I am calling Pardiso in Fortran to compute the schur complement of sparse matrix.&amp;nbsp;When the matrix is small, I can get the right answer. But I got wrong results when the matrix dimension increases.&amp;nbsp;The mkl I use is the Linux version 2024.2&lt;/P&gt;&lt;P&gt;Here are some of my Pardiso parameters:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    Type(MKL_CLUSTER_SPARSE_SOLVER_HANDLE) :: Pt(64)
    Integer :: Maxfct, Mnum, Mtype, Phase, Neqns, Nrhs, Msglvl, Error
    Integer :: Perm(Neqns)
    Integer :: Iparm(64)

    Do i = 1, 64
        Pt(i)%dummy = 0
    End Do

    Maxfct   = 1
    Mnum     = 1
    Perm     = 0
    Nrhs     = 1
    Error    = 0
    Msglvl   = 0
    Mtype    = 11

    Iparm     = 0
    Iparm(1)  = 1
    Iparm(2)  = 2
    Iparm(3)  = OMP_GET_NUM_PROCS()
    Iparm(8)  = 5
    Iparm(10) = 13
    Iparm(13) = 1
    Iparm(21) = 1
    Iparm(24) = 1
    Iparm(36) = -1

    Perm(numLocalInternalFreedomDegrees + 1:) = 1
    
    Phase = 11
    Call Pardiso( Pt, Maxfct, Mnum, Mtype, Phase, Neqns, CSR_Matrix_Value, CSR_Row_Index, CSR_Matrix_Column, Perm, Nrhs, Iparm, Msglvl, Right_Vector, Computed_Value, Error )

    numNoneZero = Iparm(36)
    Allocate(KS_Row_Index(numLocalSharedFreedomDegrees + 1))
    Allocate(KS_Matrix_Column(numNoneZero), KS_Matrix_Value(numNoneZero))

    Call pardiso_export(Pt, KS_Matrix_Value, KS_Row_Index, KS_Matrix_Column, 1, Iparm, Error)

    Iparm(36) = -1
    Phase = 22
    Call Pardiso( Pt, Maxfct, Mnum, Mtype, Phase, Neqns, CSR_Matrix_Value, CSR_Row_Index, CSR_Matrix_Column, Perm, Nrhs, Iparm, Msglvl, Right_Vector, Computed_Value, Error )&lt;/LI-CODE&gt;&lt;P&gt;I have set Iparm(36) to 1 and 2 to calculate dense Schur complement, and the results are not any different from the CSR format results obtained with -1 and -2. I use Matlab to calculate schur complement. In the figure, the blue one is the Matlab's results, and the red one is the Pardiso's results. Pardiso's results are obviously wrong.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Comparation.jpg" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/58490i7B9AD451B20FD76A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Comparation.jpg" alt="Comparation.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is something wrong in my iparm parameters, or is there a bug in the mkl?&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2024 13:44:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1627578#M36371</guid>
      <dc:creator>BrianZHANG</dc:creator>
      <dc:date>2024-08-31T13:44:06Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1628471#M36379</link>
      <description>&lt;P&gt;Hello &lt;A href="https://isvc.my.salesforce.com/one/one.app?#/sObject/a4l4U000001AbI4QAK/view" rel="noopener noreferrer" target="_blank"&gt;Brian&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please calculate and provide the condition number for this matrix?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Sep 2024 05:02:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1628471#M36379</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-09-04T05:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1628489#M36380</link>
      <description>&lt;P&gt;Hi Mahan&lt;BR /&gt;&lt;BR /&gt;I calculated the condition number of this matrix using Matlab's condest, and the result is 1.52*10^14. I know that the ill-conditioned system&amp;nbsp;can lead to numerical errors, but why are the non-zero patterns of the two so different, especially in the upper right corner of the matrix? The result of Pardiso looks like some columns are shifted to the left.&lt;BR /&gt;&lt;BR /&gt;When I do Jacobi preprocessing, which is multiplying by a diagonal matrix, the condition number is reduced to 90,000.&amp;nbsp;I have set iparm(11)=1, iparm(13)=1, and iparm(36)=2 to compute dense schur's complement, and the result is still the same. Scaling and weighted matching should also help improve matrix properties, shouldn't they?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 08:11:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1628489#M36380</guid>
      <dc:creator>BrianZHANG</dc:creator>
      <dc:date>2024-09-04T08:11:39Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1630857#M36426</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please share a reproducer for this? The example Fortran source you have shared is not compilable.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Sep 2024 02:13:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1630857#M36426</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-09-13T02:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1630979#M36429</link>
      <description>&lt;P&gt;Hi Mahan,&lt;/P&gt;&lt;P&gt;Thank you for your time to check it for me. I uploaded the VS project and Matlab code. The original matrix was too large, so I uploaded it to &lt;A href="https://drive.google.com/file/d/1PxKLUySl9CeYzAMNwTmCxYoYBz1iidbM/view?usp=sharing" target="_blank" rel="noopener"&gt;Google Drive&lt;/A&gt;. The matrix after jacobi preprocessing is also included.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 07:05:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1630979#M36429</guid>
      <dc:creator>BrianZHANG</dc:creator>
      <dc:date>2024-09-13T07:05:17Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1633766#M36486</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;The error is reproducible and the issue has been communicated to the development team. Please allow us a few days to come up with an update on this.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Sep 2024 06:50:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1633766#M36486</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-09-27T06:50:29Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1635061#M36503</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This issue might take some time to resolve, I am not having any specific ETA for this at this moment.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Oct 2024 02:14:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1635061#M36503</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-10-04T02:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1637489#M36540</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Mahan,&lt;/SPAN&gt;&lt;BR /&gt;I'll await further updates and appreciate any information when available. Thanks again for your support.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 02:13:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1637489#M36540</guid>
      <dc:creator>BrianZHANG</dc:creator>
      <dc:date>2024-10-16T02:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso got the wrong Schur complement</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1736082#M37521</link>
      <description>&lt;P&gt;Brain,&amp;nbsp; can you please check with new MKL releases:&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html&amp;nbsp;&lt;/A&gt;&amp;nbsp;This problem expected to be fixed starting from MKL 2025.2.&amp;nbsp; Thanks for your report of this problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 04:47:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-got-the-wrong-Schur-complement/m-p/1736082#M37521</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2026-02-06T04:47:05Z</dc:date>
    </item>
  </channel>
</rss>

