<?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 This issue has to be fixed in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142050#M26374</link>
    <description>&lt;P&gt;This issue has to be fixed into latest 2019 u3 and someone from our customer confirmed this fix. Thanks for reproducer, we will check.&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2019 04:09:41 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2019-05-09T04:09:41Z</dc:date>
    <item>
      <title>Wrong triangular part of matrix accessed in function LAPACKE_ssygvx</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142049#M26373</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;with the help of valgrind I noticed that LAPACKE_ssygvx calls LAPACKE_sge_nancheck on the input matrix.&lt;/P&gt;&lt;P&gt;I specified to LAPACKE_ssygvx to use only the lower triangular part of the symmetric matrix (the other part is not even initialized) but LAPACKE_sge_nancheck accesses also the upper traingular part and the algorithm returns an error if there is a NaN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached program verifies this. I tested it with 2018.3.222 but also 2019.3.199, both version are affected.&lt;/P&gt;&lt;P&gt;I guessed MKLD-3999 (Fixed the issue LAPACKE_ssyevd fails when upper triangular part of the matrix is filled with random numbers) could be a fix but nope ...&lt;/P&gt;&lt;P&gt;Used compiler: g++ 8.1.0, Linux&lt;/P&gt;&lt;P&gt;valgrind output:&lt;/P&gt;&lt;P&gt;==28297== Conditional jump or move depends on uninitialised value(s)&lt;BR /&gt;==28297==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4023C7: LAPACKE_sge_nancheck (in mkl_bug)&lt;BR /&gt;==28297==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x401FCA: LAPACKE_ssygvx (in mkl_bug)&lt;BR /&gt;==28297==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x401AE1: main (in mkl_bug)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 11:29:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142049#M26373</guid>
      <dc:creator>Seidel__Jens</dc:creator>
      <dc:date>2019-05-08T11:29:17Z</dc:date>
    </item>
    <item>
      <title>This issue has to be fixed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142050#M26374</link>
      <description>&lt;P&gt;This issue has to be fixed into latest 2019 u3 and someone from our customer confirmed this fix. Thanks for reproducer, we will check.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 04:09:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142050#M26374</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-05-09T04:09:41Z</dc:date>
    </item>
    <item>
      <title>]$ ./a.outA=1 -0.1 0.5B=0.7</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142051#M26375</link>
      <description>&lt;P&gt;]$ ./a.out&lt;BR /&gt;A=1 -0.1 0.5&lt;BR /&gt;B=0.7 -0.3 0.6&lt;BR /&gt;MKL_VERBOSE &lt;STRONG&gt;Intel(R) MKL 2019.0 Update 3&lt;/STRONG&gt; Product build 20190125 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions (Intel(R) AVX) enabled processors, Lnx 2.80GHz lp64 intel_thread&lt;BR /&gt;MKL_VERBOSE SSYGVX(1,V,I,L,2,0x246f080,2,0x246f0a0,2,0x7ffd3b506068,0x7ffd3b506070,2,2,0x7ffd3b506078,0,0x7ffd3b506280,0x7ffd3b506288,2,0x7ffd3b506178,-1,0x2480280,0x7ffd3b506290,0) 58.57us CNR:OFF Dyn:1 FastMM:1 TID:0 &amp;nbsp;NThr:20&lt;BR /&gt;MKL_VERBOSE SSYGVX(1,V,I,L,2,0x246f080,2,0x246f0a0,2,0x7ffd3b506068,0x7ffd3b506070,2,2,0x7ffd3b506078,1,0x7ffd3b506280,0x7ffd3b506288,2,0x2481300,16,0x2480280,0x7ffd3b506290,0) 278.46us CNR:OFF Dyn:1 FastMM:1 TID:0 &amp;nbsp;NThr:20&lt;BR /&gt;A=1.42857 0.57197 1.2684&lt;BR /&gt;B=0.83666 -0.358569 0.686607&lt;BR /&gt;Found eigenvalues: 1&lt;BR /&gt;Return: 0&lt;BR /&gt;w(lambda)=1.92603&lt;BR /&gt;z(x)=1.31147 0.955791&lt;BR /&gt;&lt;STRONG&gt;ifail=0&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 04:18:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142051#M26375</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-05-09T04:18:25Z</dc:date>
    </item>
    <item>
      <title>I have no valgrind available</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142052#M26376</link>
      <description>&lt;P&gt;I have no valgrind available for the moment to check exactly your case. Do you see the run tine problem into your application with the latest 2019 u3?&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 04:20:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142052#M26376</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-05-09T04:20:20Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady F. (Blackbelt)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142053#M26377</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady F. (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no valgrind available for the moment to check exactly your case. Do you see the run tine problem into your application with the latest 2019 u3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the problem also with version 2019.03.199.&lt;/P&gt;&lt;P&gt;You can verify it if you activate the code&lt;/P&gt;&lt;P&gt;B[2] = std::numeric_limits&amp;lt;float&amp;gt;::signaling_NaN();&lt;/P&gt;&lt;P&gt;In this case nothing is done (A and B are unchanged, no eigenvalue compution is performed) and the return value is -9.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 09:10:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142053#M26377</guid>
      <dc:creator>Seidel__Jens</dc:creator>
      <dc:date>2019-05-09T09:10:00Z</dc:date>
    </item>
    <item>
      <title>$ ./a.outA=1 -0.1 0.5B=0.7 -0</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142054#M26378</link>
      <description>&lt;P&gt;$ ./a.out&lt;BR /&gt;A=1 -0.1 0.5&lt;BR /&gt;B=0.7 -0.3 0.6&lt;BR /&gt;A=1 -0.1 0.5&lt;BR /&gt;B=0.7 -0.3 0.6&lt;BR /&gt;Found eigenvalues: 0&lt;BR /&gt;Return: -9&lt;BR /&gt;a.out: mkl_bug.cpp:60: int main(): Assertion `m == 1' failed.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 12:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142054#M26378</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-05-09T12:34:40Z</dc:date>
    </item>
    <item>
      <title>do you see the similar result</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142055#M26379</link>
      <description>&lt;P&gt;do you see the similar result?&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 12:43:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142055#M26379</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-05-09T12:43:42Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady F. (Blackbelt)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142056#M26380</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady F. (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you see the similar result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same result. You see that changing an entry (B[2] or A[2]) in the right, top triangel changes the result, but I told the function to use the lower part only ("L").&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 15:34:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142056#M26380</guid>
      <dc:creator>Seidel__Jens</dc:creator>
      <dc:date>2019-05-09T15:34:49Z</dc:date>
    </item>
    <item>
      <title>Thank you very much for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142057#M26381</link>
      <description>&lt;P&gt;Thank you very much for your reproducer and thorough testing.&amp;nbsp; You're right - this is an issue and will be fixed in an upcoming release of Intel MKL.&amp;nbsp; In the meantime, if this is hampering your (or others') development, NaN checking can be disabled by setting the LAPACKE_NANCHECK environment variable to 0 or by calling the LAPACKE_set_nancheck function.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 15:38:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142057#M26381</guid>
      <dc:creator>Sarah_K_Intel</dc:creator>
      <dc:date>2019-05-09T15:38:59Z</dc:date>
    </item>
    <item>
      <title>&gt;mkl_bug.exeA=1 -0.1 0.5B=0.7</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142058#M26382</link>
      <description>&lt;P&gt;&amp;gt;mkl_bug.exe&lt;BR /&gt;A=1 -0.1 0.5&lt;BR /&gt;B=0.7 -0.3 0.6&lt;BR /&gt;MKL_VERBOSE&lt;STRONG&gt; Intel(R) MKL 2020.0&lt;/STRONG&gt; Product build 20191125 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Win 2.60GHz cdecl intel_thread&lt;BR /&gt;MKL_VERBOSE SSYGVX(1,V,I,L,2,000001ACACF52660,2,000001ACACF52980,2,0000008FD24FF670,0000008FD24FF678,2,2,0000008FD24FF690,0,0000008FD24FF840,0000008FD24FF848,2,0000008FD24FF700,-1,000001ACACF57680,0000008FD24FF8 13.03us CNR:OFF Dyn:1 FastMM:1 TID:0 &amp;nbsp;NThr:2&lt;BR /&gt;MKL_VERBOSE SSYGVX(1,V,I,L,2,000001ACACF52660,2,000001ACACF52980,2,0000008FD24FF670,0000008FD24FF678,2,2,0000008FD24FF690,1,0000008FD24FF840,0000008FD24FF848,2,000001ACACF79580,16,000001ACACF57680,0000008FD24FF8 266.67us CNR:OFF Dyn:1 FastMM:1 TID:0 &amp;nbsp;NThr:2&lt;BR /&gt;A=1.42857 0.57197 1.2684&lt;BR /&gt;B=0.83666 -0.358569 0.686607&lt;BR /&gt;Found eigenvalues: 1&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 09:43:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142058#M26382</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-12-24T09:43:59Z</dc:date>
    </item>
    <item>
      <title>Hello!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142059#M26383</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;The fix of the issue available into the newest MKL v.2020. You could take this version and check the problem on your side.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 09:45:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-triangular-part-of-matrix-accessed-in-function-LAPACKE/m-p/1142059#M26383</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-12-24T09:45:26Z</dc:date>
    </item>
  </channel>
</rss>

