<?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 dsyevr for large matrices and minimum work sizes in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176908#M29007</link>
    <description>&lt;P&gt;I'm getting an error when calling dsyevr_ for large matrices (n&amp;gt;=6144) and when using minimally required work sizes (liwork = 10n and lwork = 26n). The error message is: "Intel MKL ERROR: Parameter 12 was incorrect on entry to DSBRDB." This error message seems to occur for any matrix of size greater than or equal to 6144. The error does not occur when using optimal liwork and lwork parameters - so it's not really a big deal. However,&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;I've seen dozens of people post about this error when calling dsyevr indirectly via Anaconda Python scipy library (original call scipy.linalg.eigvalsh), which currently uses minimum work sizes.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I reproduced this issue on Mac OS X and Ubuntu - here is my build of "test.c", which calls fortran function dsyevr on identity matrix of rank 6144:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;cc -m64 -I/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/include &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;test.c&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;-Wl,--start-group /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_sequential.a /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm -ldl -o test&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;the call is dsyevr_("N", "A", "U", ...) with minimum required lwork &amp;amp; liwork... all other parameters follow Intel's generic example for dsyevr_&lt;/P&gt;

&lt;P&gt;I was also able to run this code without error on other LAPACK implementations (OpenBLAS).&lt;/P&gt;

&lt;P&gt;Any thoughts on what's going on here? Mostly just curious since optimal work sizes solves the problem.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Sat, 23 Dec 2017 00:32:20 GMT</pubDate>
    <dc:creator>duesler__brad</dc:creator>
    <dc:date>2017-12-23T00:32:20Z</dc:date>
    <item>
      <title>dsyevr for large matrices and minimum work sizes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176908#M29007</link>
      <description>&lt;P&gt;I'm getting an error when calling dsyevr_ for large matrices (n&amp;gt;=6144) and when using minimally required work sizes (liwork = 10n and lwork = 26n). The error message is: "Intel MKL ERROR: Parameter 12 was incorrect on entry to DSBRDB." This error message seems to occur for any matrix of size greater than or equal to 6144. The error does not occur when using optimal liwork and lwork parameters - so it's not really a big deal. However,&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;I've seen dozens of people post about this error when calling dsyevr indirectly via Anaconda Python scipy library (original call scipy.linalg.eigvalsh), which currently uses minimum work sizes.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I reproduced this issue on Mac OS X and Ubuntu - here is my build of "test.c", which calls fortran function dsyevr on identity matrix of rank 6144:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;cc -m64 -I/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/include &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;test.c&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;-Wl,--start-group /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_sequential.a /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm -ldl -o test&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;the call is dsyevr_("N", "A", "U", ...) with minimum required lwork &amp;amp; liwork... all other parameters follow Intel's generic example for dsyevr_&lt;/P&gt;

&lt;P&gt;I was also able to run this code without error on other LAPACK implementations (OpenBLAS).&lt;/P&gt;

&lt;P&gt;Any thoughts on what's going on here? Mostly just curious since optimal work sizes solves the problem.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Dec 2017 00:32:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176908#M29007</guid>
      <dc:creator>duesler__brad</dc:creator>
      <dc:date>2017-12-23T00:32:20Z</dc:date>
    </item>
    <item>
      <title>Could you share this test.c</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176909#M29008</link>
      <description>&lt;P&gt;Could you share this test.c with us to quick checking the problem with the latest versions?&amp;nbsp; we had fixed the similar issue in mkl 2018&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-2018-bug-fixes-list&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-2018-bug-fixes-list&amp;nbsp;&lt;/A&gt;; - see&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(83, 86, 90); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;MKLD-3350&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2017 05:11:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176909#M29008</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-12-24T05:11:23Z</dc:date>
    </item>
    <item>
      <title>Here it is - I've commented</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176910#M29009</link>
      <description>&lt;P&gt;Here it is - I've commented out the optimal work parameters (which work),&amp;nbsp; and replaced with the minimums which returns all zeros and error message "Parameter 12 was incorrect on entry to DSBRDB."&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2017 12:27:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176910#M29009</guid>
      <dc:creator>duesler__brad</dc:creator>
      <dc:date>2017-12-24T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Yes, I have to confirm that</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176911#M29010</link>
      <description>&lt;P&gt;Yes, I have to confirm that the problem exists with MKL 2018 update 1 version too. We will fix the issue into one of the next updates and keep you informed with the status of this fix. Thanks for bringing this topic.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2017 04:01:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176911#M29010</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-12-25T04:01:37Z</dc:date>
    </item>
    <item>
      <title>Hello. Could you please check</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176912#M29011</link>
      <description>&lt;P&gt;Hello. Could you please check the latest mkl 2018 u3 ( released at the end of May'18) and let us know how this update will work on your side.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 04:01:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176912#M29011</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-06-09T04:01:13Z</dc:date>
    </item>
    <item>
      <title>I can confirm that the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176913#M29012</link>
      <description>&lt;P&gt;I can confirm that the problem persists.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 10:08:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176913#M29012</guid>
      <dc:creator>Horta__Danilo</dc:creator>
      <dc:date>2018-07-03T10:08:32Z</dc:date>
    </item>
    <item>
      <title>the fix of the problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176914#M29013</link>
      <description>&lt;DIV&gt;the fix of the problem available in MKL 2019.0.&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;here the output of the example you gave us:&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;test_dsyevr.exe&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;DSYEVR Example Program Results&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;lwork: 159744&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;liwork: 61440&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;The DSYEBVR algorithm PASSED to compute Eigenvalues.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;The total number of eigenvalues found:6144&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Major version:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2019&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Minor version:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Update version:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Product status:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Product&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Build:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20180829&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Processor optimization:&amp;nbsp; Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;===============================================================&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Oct 2018 03:57:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176914#M29013</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-10-05T03:57:55Z</dc:date>
    </item>
    <item>
      <title>Great, thank you!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176915#M29014</link>
      <description>&lt;P&gt;Great, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 11:13:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevr-for-large-matrices-and-minimum-work-sizes/m-p/1176915#M29014</guid>
      <dc:creator>duesler__brad</dc:creator>
      <dc:date>2018-10-05T11:13:38Z</dc:date>
    </item>
  </channel>
</rss>

