<?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:Wrong solution at phase 333 with schur complement option in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1496045#M34662</link>
    <description>&lt;P&gt;Hi Niels,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are working on your issue internally. We will get back to you soon with an update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Jun 2023 07:14:13 GMT</pubDate>
    <dc:creator>ShanmukhS_Intel</dc:creator>
    <dc:date>2023-06-15T07:14:13Z</dc:date>
    <item>
      <title>Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1491897#M34630</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Here are information that you often request:&lt;BR /&gt;- OS details and hardware :&lt;BR /&gt;Description: CentOS Linux release 7.8.2003 (Core)&lt;BR /&gt;Release: 7.8.2003&lt;BR /&gt;Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz (max RAM 252G)&lt;BR /&gt;- Version Intel MKL : 2020.1.217&lt;BR /&gt;&lt;BR /&gt;I want to compute the schur complement of a symmetric sparse matrix, store it in CSR format and solve the linear system with phases 331,332 (with pardiso in this example but it will be done with a cutom subroutine in the future) and 333.&lt;BR /&gt;The backward solve phase (333) gives wrong result with a very small symmetric case (attached to this message). I have a python script that gives me the Schur matrix (which is correct) and the result of the linear system. Intermediate results from phase 331 and 332 are correct but phase 333 gives wrong result on the first componant of the soution. It should be [ 0.25 -0.25 1.5 ] and pardiso gives [ 0.3 -0.25 1.5 ]. I have tried many set of parameters (mtype, iparm) but the one that I sent you is the most relevant for me and the results are wrong so far. If you have any solution let me know!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Python Script :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;import numpy as np&lt;BR /&gt;print("\n ")&lt;BR /&gt;print("\n ")&lt;BR /&gt;print("\n ")&lt;/P&gt;&lt;P&gt;M = np.matrix('5.0,1.0,0.0; 1.0,9.0,2.0; 0.0,2.0,1.0')&lt;/P&gt;&lt;P&gt;A = M[0:2,0:2]&lt;BR /&gt;B = M[0:2,2]&lt;BR /&gt;D = M[2,2]&lt;/P&gt;&lt;P&gt;invD = 1/D&lt;BR /&gt;S = A - np.dot(B,np.dot(invD,B.T))&lt;/P&gt;&lt;P&gt;print("\nSchur Complement S = A-B.inv(D).B^T =")&lt;BR /&gt;print(S)&lt;/P&gt;&lt;P&gt;b=np.array([1,1,1])&lt;BR /&gt;x = np.linalg.solve(M, b)&lt;BR /&gt;print("\n Solution Ax=b :")&lt;BR /&gt;print(x)&lt;/P&gt;&lt;P&gt;print("\n Residual Ax=b :")&lt;BR /&gt;print(M.dot(x)-b)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 12:32:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1491897#M34630</guid>
      <dc:creator>Niels_G</dc:creator>
      <dc:date>2023-06-01T12:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1493633#M34646</link>
      <description>&lt;P&gt;Hi Niels,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting on Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing the source codes. We have tried running the same in our environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We could see the below results while running the same. We will get back to you soon with more information regarding the results wrt. shared Python code and Fortran schur 333 implementation. In addition, we recommend you use the latest version of oneAPI with supported OS environments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Schur Complement S = A-B.inv(D).B^T =&lt;/P&gt;
&lt;P&gt;[[5. 1.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;[1. 5.]]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Solution Ax=b :&lt;/P&gt;
&lt;P&gt;[ 0.25 -0.25&amp;nbsp; 1.5 ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Residual Ax=b :&lt;/P&gt;
&lt;P&gt;[[0.00000000e+00 4.44089210e-16 2.22044605e-16]]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;---------------------------------!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;------- Output Restitution ------!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;---------------------------------!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;SOL(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 ) =&amp;nbsp;&amp;nbsp;0.300000000000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;SOL(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2 ) =&amp;nbsp;-0.250000000000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;SOL(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3 ) =&amp;nbsp;&amp;nbsp;1.50000000000000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:56:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1493633#M34646</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-06-07T11:56:55Z</dc:date>
    </item>
    <item>
      <title>Re:Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1496045#M34662</link>
      <description>&lt;P&gt;Hi Niels,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are working on your issue internally. We will get back to you soon with an update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2023 07:14:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1496045#M34662</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-06-15T07:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1496171#M34668</link>
      <description>&lt;P&gt;Ok Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Niels&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 15:54:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1496171#M34668</guid>
      <dc:creator>Niels_G</dc:creator>
      <dc:date>2023-06-15T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1498167#M34696</link>
      <description>&lt;P&gt;Hi Niels,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we were able to reproduce the issue at our end, our team is working on it internally. We will get back to you with an update soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 10:48:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1498167#M34696</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-06-28T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re:Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1499935#M34713</link>
      <description>&lt;P&gt;Hi Niels,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reporting this issue. We were able to reproduce it and we have informed the development team about it. We will get back to you soon with an update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jun 2023 11:02:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1499935#M34713</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-06-28T11:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1508049#M34865</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it is no resolved for the moment, I calculated the Schur complement in dense format with iparm(36) = 3 and all phases 331, 332 and 333 are correct. I also tried to use pardiso_handle_store after phase=12 to store factorisation but I get the following error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;Image PC Routine Line Source&lt;BR /&gt;a.out 000000000040694A Unknown Unknown Unknown&lt;BR /&gt;libpthread-2.17.s 00002B17D682C630 Unknown Unknown Unknown&lt;BR /&gt;libmkl_core.so 00002B17D360CDE0 mkl_pds_lp64_pard Unknown Unknown&lt;BR /&gt;a.out 00000000004055BA Unknown Unknown Unknown&lt;BR /&gt;a.out 00000000004048E2 Unknown Unknown Unknown&lt;BR /&gt;libc-2.17.so 00002B17D6A5B555 __libc_start_main Unknown Unknown&lt;BR /&gt;a.out 00000000004047E9 Unknown Unknown Unknown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is : Subroutines "pardiso_handle_store" and "...restore" are available if schur complement options are activated?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will find attached to this message, an example of fortran code that points out this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Niels&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 15:26:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1508049#M34865</guid>
      <dc:creator>Niels_G</dc:creator>
      <dc:date>2023-07-25T15:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong solution at phase 333 with schur complement option</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1684682#M37085</link>
      <description>&lt;P&gt;Hi Niels,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This issue has been fixed. The fix will be included in the next 2025.2 release.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks there is something wrong with the old reproducer. They are stuck at "Virus scan in progress...". But in our record, it shows the line "rhs(i) = sol(i)" in the do-loop after phase 331 was commented out. After adding it back, with the fix in 2025.2, I got the correct solution [0.25 -0.25 1.5].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for reporting bugs in the forum!&lt;/P&gt;
&lt;P&gt;Fengrui&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 00:40:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-solution-at-phase-333-with-schur-complement-option/m-p/1684682#M37085</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2025-04-23T00:40:43Z</dc:date>
    </item>
  </channel>
</rss>

