<?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 Ok, version without bin libs in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089646#M23144</link>
    <description>&lt;P&gt;Ok, version without bin libs is attached. We'll try update 3 later this week.&lt;/P&gt;</description>
    <pubDate>Wed, 17 May 2017 16:12:18 GMT</pubDate>
    <dc:creator>Paul_C_2</dc:creator>
    <dc:date>2017-05-17T16:12:18Z</dc:date>
    <item>
      <title>zgetrf error handling regression</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089641#M23139</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We are in the process of trying to upgrade our MKL from&amp;nbsp;11.2.2.1 to 2017 update 2. We noticed a change in how a singular matrix is handled by zgetrf. In&amp;nbsp;11.2.2.1, zgetrf would return (via info) a positive number indicating the problem pivot point. Now 2017.2 throws a floating point division by zero exception and we do not know the problem pivot number. Was this an intentional change? If so, how do we find out the problem pivot number?&lt;/P&gt;

&lt;P&gt;A simple test case is a 4x4 complex matrix represented by:&lt;/P&gt;

&lt;P&gt;+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[0]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=1000000.0000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[1]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=1000000.0000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[2]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[3]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[4]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=1000000.0000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[5]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=1000000.0000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[6]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[7]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[8]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[9]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[10]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=1000000.0005243536 d_im=-16.191775445209515 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[11]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=-1000000.0000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[12]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[13]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=0.00000000000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[14]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=-1000000.0000000000 d_im=0.00000000000000000 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;BR /&gt;
	+&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[15]&amp;nbsp;&amp;nbsp; &amp;nbsp;{d_re=1000000.0005243536 d_im=-16.191775445209515 }&amp;nbsp;&amp;nbsp; &amp;nbsp;complex&lt;/P&gt;

&lt;P&gt;Exception info:&lt;/P&gt;

&lt;P&gt;First-chance exception at 0x00007FFBFAFEC926 (mkl_avx2.dll) in blah.exe: 0xC000008E: Floating-point division by zero (parameters: 0x0000000000000000). In our exe, we translate select structured exceptions like this to C++ exceptions so we can deal with computation errors at a higher level.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Paul&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 21:02:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089641#M23139</guid>
      <dc:creator>Paul_C_2</dc:creator>
      <dc:date>2017-04-21T21:02:45Z</dc:date>
    </item>
    <item>
      <title>hello Paul, at the first</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089642#M23140</link>
      <description>&lt;P&gt;hello Paul,&amp;nbsp;at the first glance, this might be caused by non-exactness of floating point arithmetic and FMA instructions set. We need to check this more carefully.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 04:07:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089642#M23140</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-04-24T04:07:08Z</dc:date>
    </item>
    <item>
      <title>Paul, I see noexception with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089643#M23141</link>
      <description>&lt;P&gt;Paul, I see no exceptions with LU routine and with the data you gave. the example of the code is attached. Here is the output I see on my side with the latest MKL 2017 u2:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;..\mkl_Forums\u731589&amp;gt;2017.exe&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;ZGESVD Example Program Results&lt;BR /&gt;
	Major version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017&lt;BR /&gt;
	Minor version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	Update version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;
	Product status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product&lt;BR /&gt;
	Build: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20170126&lt;BR /&gt;
	Platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Intel(R) 64 architecture&lt;BR /&gt;
	Processor optimization: &amp;nbsp;Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors&lt;BR /&gt;
	================================================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;info, zgetrf = 2&lt;BR /&gt;
	&amp;nbsp;ipiv:&lt;BR /&gt;
	&amp;nbsp;[0] = 1&lt;BR /&gt;
	, [1] = 2&lt;BR /&gt;
	, [2] = 3&lt;BR /&gt;
	, [3] = 4&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 04:33:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089643#M23141</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-04-24T04:33:00Z</dc:date>
    </item>
    <item>
      <title>We finally have a test case.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089644#M23142</link>
      <description>&lt;P&gt;We finally have a test case. I have a zip file of a VS solution with three projects: A command line exe that loads a win32 dll which in turn depends on a FORTRAN project. It seems loading the FORTRAN runtime libs triggers the problem. The zip file is 92 MB if I include the MKL libs and that file fails to upload. Should I remove the MKL libs and try again?&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 21:59:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089644#M23142</guid>
      <dc:creator>Paul_C_2</dc:creator>
      <dc:date>2017-05-16T21:59:37Z</dc:date>
    </item>
    <item>
      <title>yes, you may remove mkl's</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089645#M23143</link>
      <description>&lt;P&gt;yes, you may remove mkl's libs and upload the project.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;you may also try to check the problem with the latest MKL 2017 u3 which we released one week ago. the announcement on the top of the forum.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 05:53:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089645#M23143</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-05-17T05:53:16Z</dc:date>
    </item>
    <item>
      <title>Ok, version without bin libs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089646#M23144</link>
      <description>&lt;P&gt;Ok, version without bin libs is attached. We'll try update 3 later this week.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 16:12:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089646#M23144</guid>
      <dc:creator>Paul_C_2</dc:creator>
      <dc:date>2017-05-17T16:12:18Z</dc:date>
    </item>
    <item>
      <title>I checked with mkl 2017 u3 on</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089647#M23145</link>
      <description>&lt;P&gt;I checked with mkl 2017 u3 on three different CPUs. I only added mkl_version routine and I see the same behavior &amp;nbsp;and no exceptions...&lt;/P&gt;

&lt;P&gt;Windows 8.1, 64 bit.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;ZGESVD Example Program Results&lt;BR /&gt;
	Major version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017&lt;BR /&gt;
	Minor version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	Update version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;BR /&gt;
	Product status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product&lt;BR /&gt;
	Build: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20170413&lt;BR /&gt;
	Platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Intel(R) 64 architecture&lt;BR /&gt;
	Processor optimization: &amp;nbsp;Intel(R) Streaming SIMD Extensions 4.2 (&lt;STRONG&gt;Intel(R) SSE4.2&lt;/STRONG&gt;) enabled processors&lt;BR /&gt;
	================================================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;info, zgetrf = 2&lt;BR /&gt;
	Press any key to continue . . .&lt;/P&gt;

&lt;P&gt;&amp;nbsp;ZGESVD Example Program Results&lt;BR /&gt;
	Major version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017&lt;BR /&gt;
	Minor version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	Update version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;BR /&gt;
	Product status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product&lt;BR /&gt;
	Build: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20170413&lt;BR /&gt;
	Platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Intel(R) 64 architecture&lt;BR /&gt;
	Processor optimization: &amp;nbsp;Intel(R) Advanced Vector Extensions (&lt;STRONG&gt;Intel(R) AVX&lt;/STRONG&gt;) enabled processors&lt;BR /&gt;
	================================================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;info, zgetrf = 2&lt;BR /&gt;
	Press any key to continue . . .&lt;/P&gt;

&lt;P&gt;&amp;nbsp;ZGESVD Example Program Results&lt;BR /&gt;
	Major version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017&lt;BR /&gt;
	Minor version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	Update version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;BR /&gt;
	Product status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product&lt;BR /&gt;
	Build: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20170413&lt;BR /&gt;
	Platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Intel(R) 64 architecture&lt;BR /&gt;
	Processor optimization: &amp;nbsp;Intel(R) Advanced Vector Extensions 2 (&lt;STRONG&gt;Intel(R) AVX2&lt;/STRONG&gt;) enabled processors&lt;BR /&gt;
	================================================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;info, zgetrf = 2&lt;BR /&gt;
	Press any key to continue . . .&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 04:39:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089647#M23145</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-05-18T04:39:22Z</dc:date>
    </item>
    <item>
      <title>We just verified that 2017 u3</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089648#M23146</link>
      <description>&lt;P&gt;We just verified that 2017 u3 seems to work. Can you do us a favor and try it on u2 just to confirm our findings and maybe let us know what changed? It seemed like the FORTRAN runtime libs were putting the exception mask into a bad state.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:21:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089648#M23146</guid>
      <dc:creator>Paul_C_2</dc:creator>
      <dc:date>2017-05-18T16:21:39Z</dc:date>
    </item>
    <item>
      <title>Any update on what changed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089649#M23147</link>
      <description>&lt;P&gt;Any update on what changed between update 2 and update 3 that fixed this issue?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 22:39:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089649#M23147</guid>
      <dc:creator>Paul_C_2</dc:creator>
      <dc:date>2017-07-18T22:39:03Z</dc:date>
    </item>
    <item>
      <title>Hi Paul C.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089650#M23148</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;You are right, it was a bug in LU implementation for small sizes (2x2, 3x3 and 4x4). It was introduced in MKL 2017 Update 1 and was fixed in MKL 2017 Update 3.&amp;nbsp;A column was scaled even in the case of zero pivot.&amp;nbsp;&lt;/SPAN&gt;It caused division by zero and NaNs in a matrix.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 02:12:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/zgetrf-error-handling-regression/m-p/1089650#M23148</guid>
      <dc:creator>Eugene_C_Intel1</dc:creator>
      <dc:date>2017-07-19T02:12:32Z</dc:date>
    </item>
  </channel>
</rss>

