<?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 eigensolvers problems in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1403806#M33439</link>
    <description>&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The issue is reproducible from our end as well and could the behavior of the function dfeast_scsrgv() with respect to fpm[27] settings which is mentioned in your post.&lt;/P&gt;&lt;P&gt;We are working on your issue. we will get back to you soon.&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, 27 Jul 2022 09:49:14 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-07-27T09:49:14Z</dc:date>
    <item>
      <title>MKL eigensolvers problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1402164#M33420</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Intel Team,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've a question regarding the eigensolver routines in the MKL. I want to solve a generalized eigenvalue problem [A-lambda B]X = 0. The Intel MKL provide a few alternatives for solving the eigenvalue problem. According to the documentation, all of them can handle a positive definite matrix B. So here is my first question: How is positive definite defined? Does it include zero eigenvalues?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My second question refers to the eigensolver routines: In my case, I implemented the dfeast_scsrgv() and the mkl_sparse_d_gv() routine. The second function (mkl_sparse_d_gv()) is able to process matrices B with positive and negative eigenvalues, but not with eigenvalues equal to zero. The first function (dfeast_scsrgv()) got an option to check if the Matrix B if it's positive definite (extended eigensolver input parameter -&amp;gt; fpm[27]). When I enable this check and provide a Matrix B with zero Eigenvalues it returns an error, but when I turn the check off, the function calculates the right results. How can that be? Is the internal check wrong, or am I misunderstanding something? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Apart from that, is there an eigensolver which can solve a generalized eigenvalue problem with a Matrix B with zero eigenvalues? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 07:49:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1402164#M33420</guid>
      <dc:creator>JO_</dc:creator>
      <dc:date>2022-07-21T07:49:29Z</dc:date>
    </item>
    <item>
      <title>Re:MKL eigensolvers problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1402537#M33426</link>
      <description>&lt;P&gt;Hi Julian,&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;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;How is positive definite defined? Does it include zero eigenvalues?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If a matrix is positive definite then all eigenvalues are positive.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/lapack-routines/lapack-least-squares-and-eigenvalue-problem/lapack-least-square-eigenvalue-problem-computation/symmetric-eigenvalue-problems-lapack-computation.html#" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/lapack-routines/lapack-least-squares-and-eigenvalue-problem/lapack-least-square-eigenvalue-problem-computation/symmetric-eigenvalue-problems-lapack-computation.html#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;When I enable this check and provide a Matrix B with zero Eigenvalues it returns an error, but when I turn the check off, the function calculates the right results. How can that be? Is the internal check wrong, or am I misunderstanding something?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know the error code that you are getting while enabling the check?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, It would be a great help if you provide us with a sample reproducer code and steps to reproduce it so that we can test it from our end as well.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please do let us know your OS environment details and the MKL version being used.&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>Fri, 22 Jul 2022 11:06:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1402537#M33426</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-07-22T11:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MKL eigensolvers problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1403035#M33431</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your answer! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I get the error code -4 (matrix B isn’t positive definite).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I added a minimal code example with 4 cases. &amp;nbsp;For each case I compared the results to the results of the MATLAB eigen solver. &lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Positive definite matrix – everything works fine&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Positive semi-definite matrix (with one zero eigenvalue) – the function (dfeast_scsrgv) don’t calculate any eigenvalues; When I set fpm[27] to 1 the function don’t detect that the matrix isn’t positive definite&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Positive semi-definite matrix (with one &lt;U&gt;numeric&lt;/U&gt; zero eigenvalue) - the function calculates the same results as MATLAB; When I set fpm[27] to 1 the function don’t detect that the matrix isn’t positive definite&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Indefinite matrix (with one negative eigenvalue) - the function calculates the same results as MATLAB; When I set fpm[27] to 1 the function throws the error code -4 (matrix B isn’t positive definite).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Why does the function react like this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I use the OneAPI Mkl Version 2022.0.2. Furthermore, I work on windows 10 with Visual Studio 2022 LTSC 17.0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you very much. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kind regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 09:26:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1403035#M33431</guid>
      <dc:creator>JO_</dc:creator>
      <dc:date>2022-07-25T09:26:31Z</dc:date>
    </item>
    <item>
      <title>Re:MKL eigensolvers problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1403806#M33439</link>
      <description>&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The issue is reproducible from our end as well and could the behavior of the function dfeast_scsrgv() with respect to fpm[27] settings which is mentioned in your post.&lt;/P&gt;&lt;P&gt;We are working on your issue. we will get back to you soon.&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, 27 Jul 2022 09:49:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1403806#M33439</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-07-27T09:49:14Z</dc:date>
    </item>
    <item>
      <title>Re:MKL eigensolvers problems</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1404439#M33453</link>
      <description>&lt;P&gt;it looks like an incorrect behavior and we will escalate and fix the problem. The thread would be updated. &lt;/P&gt;&lt;P&gt;-Gennady&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jul 2022 05:12:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-eigensolvers-problems/m-p/1404439#M33453</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2022-07-29T05:12:51Z</dc:date>
    </item>
  </channel>
</rss>

