<?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:MKL PARDISO: getting determinant AND diagonal of factorized matrix in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1285189#M31391</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pardiso functionality is described in the oneMKL reference or developer guide.&lt;/P&gt;&lt;P&gt;If you have any suggestion about pardiso in terms of additional functionalities or better description please let us know.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 27 May 2021 18:51:52 GMT</pubDate>
    <dc:creator>Khang_N_Intel</dc:creator>
    <dc:date>2021-05-27T18:51:52Z</dc:date>
    <item>
      <title>MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1254869#M30873</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I am introducing the use of MKL PARDISO for the solution of linear systems in some Finite Element legacy code. The 'old' (i.e. 'MKL-less') version of the code writes on a file the values of the determinant and diagonal elements of the (factorized) coefficient matrix. You could reasonably argue that this is not necessarily useful, or that it is even detrimental for very large matrices. However, for historical reasons, I do not have the choice at the moment and the 'MKL version' of the code must provide the same information.&lt;/P&gt;
&lt;P&gt;Now that we're done with the context, let us make some considerations:&lt;/P&gt;
&lt;P&gt;1) OneAPI MKL PARDISO interface can provide the diagonal (through getdiag()) but not the determinant of the coefficients matrix&lt;/P&gt;
&lt;P&gt;2) The DSS interface for PARDISO can provide the determinant but not the diagonal of the factorized matrix&lt;/P&gt;
&lt;P&gt;3) Of course, I do not want to factorize the same matrix twice (once using oneAPI-MKL interface and once using DSS interface) to obtain the two pieces of information.&lt;/P&gt;
&lt;P&gt;4) For the moment the only solution I came up with is the following (MTYPE=-2, in my case):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Let A be the coefficient matrix, its factorization is (or should be, if I interpret correctly what PARDISO does) A=PLDL^T (P being a permutation matrix).&lt;/P&gt;
&lt;P&gt;- PARDISO returns d=diag(D). So 'almost' OK for the diagonal (please see question c) below).&lt;/P&gt;
&lt;P&gt;- We should also be able to retrieve the determinant as det(A)=sign*det(L)*det(D)*det(L^T), where det(L)=det(L^T)=1, det(D) = Product of all the d(i), and sign=+1 if even number of permutations and sign=-1 if odd number of permutations.&lt;/P&gt;
&lt;P&gt;Here are my questions:&lt;/P&gt;
&lt;P&gt;a) Are considerations 1) - 4) correct?&lt;/P&gt;
&lt;P&gt;b) Is there a way to retrieve the number of permutations occurred during factorization phase?&lt;/P&gt;
&lt;P&gt;c) the documentation states that the order of the elements returned by getdiag() may not be coherent with the permutation vector (perm) computed in phase 1. Can I conclude that the order of the diagonal elements coincide with the original order of the equations (before factorization, hence before permutation)? Or this is not the case either?&lt;/P&gt;
&lt;P&gt;I hope I've made myself sufficiently clear.&lt;/P&gt;
&lt;P&gt;Thank you very much for your help!&lt;/P&gt;
&lt;P&gt;ML&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 14:29:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1254869#M30873</guid>
      <dc:creator>mlucio89</dc:creator>
      <dc:date>2021-02-10T14:29:03Z</dc:date>
    </item>
    <item>
      <title>Re:MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1255200#M30879</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;We are forwarding this issue to the SME.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Feb 2021 08:05:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1255200#M30879</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2021-02-11T08:05:31Z</dc:date>
    </item>
    <item>
      <title>Re:MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1285189#M31391</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pardiso functionality is described in the oneMKL reference or developer guide.&lt;/P&gt;&lt;P&gt;If you have any suggestion about pardiso in terms of additional functionalities or better description please let us know.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2021 18:51:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1285189#M31391</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2021-05-27T18:51:52Z</dc:date>
    </item>
    <item>
      <title>Re:MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1289793#M31499</link>
      <description>&lt;P&gt;Hi ML,&lt;/P&gt;&lt;P&gt;1 - 3: Yes&lt;/P&gt;&lt;P&gt;4:  &lt;/P&gt;&lt;P&gt;a) Yes&lt;/P&gt;&lt;P&gt;b) No. More explanation in c)&lt;/P&gt;&lt;P&gt;c) No. W&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;hen there are no pivots detected, the returned diagonal will match the permutation returned after the reordering. But if pivots are detected, there will be some small permutation which we account for inside PARDISO but the user currently cannot know what is the sign of this permutation (and hence cannot get the sign of the determinant right).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;I already put in the request to get the determinant in pardiso.  We don't know when this feature will  be implement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Khang&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jun 2021 23:38:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1289793#M31499</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2021-06-14T23:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1289870#M31500</link>
      <description>&lt;P&gt;Thank you very much for your feedback Khang, much appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ML&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 06:29:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1289870#M31500</guid>
      <dc:creator>mlucio89</dc:creator>
      <dc:date>2021-06-15T06:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1383425#M33144</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your feedback. We have provided your feedback to the relevant team. At this moment there is no visibility when it will be implemented and available for use. Could you please let me know if we can go ahead and close this case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 08:48:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1383425#M33144</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2022-05-11T08:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1383475#M33145</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the information. No problem from my side if you want to close the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ML&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 11:11:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1383475#M33145</guid>
      <dc:creator>mlucio89</dc:creator>
      <dc:date>2022-05-11T11:11:36Z</dc:date>
    </item>
    <item>
      <title>Re:MKL PARDISO: getting determinant AND diagonal of factorized matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1383585#M33152</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&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;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 May 2022 17:10:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-getting-determinant-AND-diagonal-of-factorized/m-p/1383585#M33152</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2022-05-11T17:10:09Z</dc:date>
    </item>
  </channel>
</rss>

