<?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_schur.c with MKL_PARDISO in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-schur-c-with-MKL-PARDISO/m-p/1340457#M32365</link>
    <description>&lt;P&gt;Applying following patch will make it works, fixed, thanks for your support!&lt;/P&gt;
&lt;P&gt;===============================================================================&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- MKL_INT perm[8] = {0, 0, 0, 0, 0, 0, 1, 1};&lt;BR /&gt;+ MKL_INT perm[8] = {1, 1, 0, 0, 0, 0, 0, 0};&lt;BR /&gt;MKL_INT ipiv[2];&lt;BR /&gt;MKL_INT n_schur = 2; /* Schur complement solution size */&lt;BR /&gt;/* -------------------------------------------------------------------- */&lt;BR /&gt;@@ -191,7 +191,7 @@ int main (void)&lt;BR /&gt;printf("info after LAPACKE_dsytrf = " IFORMAT " \n", info);&lt;BR /&gt;return 1;&lt;BR /&gt;}&lt;BR /&gt;- info = LAPACKE_dsytrs(matrix_order,uplo,n_schur,nrhs,schur,n_schur,ipiv,&amp;amp;b[n-n_schur],nrhs);&lt;BR /&gt;+ info = LAPACKE_dsytrs(matrix_order,uplo,n_schur,nrhs,schur,n_schur,ipiv,&amp;amp;b[0],nrhs);&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 02:59:59 GMT</pubDate>
    <dc:creator>bopeng</dc:creator>
    <dc:date>2021-12-01T02:59:59Z</dc:date>
    <item>
      <title>pardiso_schur.c with MKL_PARDISO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-schur-c-with-MKL-PARDISO/m-p/1340198#M32354</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using 2021.04 oneAPI release.&lt;/P&gt;
&lt;P&gt;/opt/intel/oneapi/mkl/latest/examples/c/sparse_directsolvers/source/pardiso_schur.c&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;currently the setting are:&lt;/P&gt;
&lt;P&gt;MKL_INT perm[8] = {0, 0, 0, 0, 0, 0, 1, 1};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It assumes the last two row and col 2x2 will be think as A22.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I change that to&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; MKL_INT perm[8] = {1, 1, 0, 0, 0, 0, 0, 0};&lt;/P&gt;
&lt;P&gt;I thought it will do reordering for me, but after change that, the calculated results are wrong.&lt;/P&gt;
&lt;P&gt;Can you point out what's wrong?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/111125"&gt;@Kirill_V_Intel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am an employee of Intel, ping me directly if any need.&lt;/P&gt;
&lt;P&gt;Thanks so much!&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;The reason I am doing this:&lt;/P&gt;
&lt;P&gt;My own matrix is&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; A11=1482x1482, A22=78281x78381&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I want to reuse this&amp;nbsp;pardiso_schur.c, S=A22-A21 * A11-1 * A12 will be 78281x78281&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in such situation, S*xl=bl need to solve 78281x78281, it needs huge computation time.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 00:15:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-schur-c-with-MKL-PARDISO/m-p/1340198#M32354</guid>
      <dc:creator>bopeng</dc:creator>
      <dc:date>2021-12-01T00:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: pardiso_schur.c with MKL_PARDISO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-schur-c-with-MKL-PARDISO/m-p/1340457#M32365</link>
      <description>&lt;P&gt;Applying following patch will make it works, fixed, thanks for your support!&lt;/P&gt;
&lt;P&gt;===============================================================================&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- MKL_INT perm[8] = {0, 0, 0, 0, 0, 0, 1, 1};&lt;BR /&gt;+ MKL_INT perm[8] = {1, 1, 0, 0, 0, 0, 0, 0};&lt;BR /&gt;MKL_INT ipiv[2];&lt;BR /&gt;MKL_INT n_schur = 2; /* Schur complement solution size */&lt;BR /&gt;/* -------------------------------------------------------------------- */&lt;BR /&gt;@@ -191,7 +191,7 @@ int main (void)&lt;BR /&gt;printf("info after LAPACKE_dsytrf = " IFORMAT " \n", info);&lt;BR /&gt;return 1;&lt;BR /&gt;}&lt;BR /&gt;- info = LAPACKE_dsytrs(matrix_order,uplo,n_schur,nrhs,schur,n_schur,ipiv,&amp;amp;b[n-n_schur],nrhs);&lt;BR /&gt;+ info = LAPACKE_dsytrs(matrix_order,uplo,n_schur,nrhs,schur,n_schur,ipiv,&amp;amp;b[0],nrhs);&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 02:59:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-schur-c-with-MKL-PARDISO/m-p/1340457#M32365</guid>
      <dc:creator>bopeng</dc:creator>
      <dc:date>2021-12-01T02:59:59Z</dc:date>
    </item>
    <item>
      <title>Re:pardiso_schur.c with MKL_PARDISO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-schur-c-with-MKL-PARDISO/m-p/1340512#M32366</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved and thanks for letting us know.&lt;/P&gt;&lt;P&gt;As the issue is resolved we are closing this thread. Please post a new question if you need any additional information from Intel as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2021 08:07:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-schur-c-with-MKL-PARDISO/m-p/1340512#M32366</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-12-01T08:07:33Z</dc:date>
    </item>
  </channel>
</rss>

