<?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 Potential ZGESVD Problem with LWORK in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224142#M30259</link>
    <description>&lt;P&gt;There may be a problem in the MKL version of zgesvd (SVD for complex double precision values).&lt;/P&gt;
&lt;P&gt;The problem (demonstrated in the attached code) is the reconstructed results are not correct for&amp;nbsp;complex double precision values when using LWORK computed by zgesvd. The archive contains files for building two programs (Windows and Mac build files). One program, svd_mkl, uses the MKL libraries, and the second program, svd_custom, uses a custom-built LAPACK library with the MKL BLAS.&lt;/P&gt;
&lt;P&gt;A pass/fail test, discussed &lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-Single-Precision-Problem/m-p/1216120#M30140" target="_blank"&gt;here&lt;/A&gt;, is applied to the results. The MKL executable passes when a formula-based LWORK value is used, but fails when a&amp;nbsp;zgesvd-provided value is used. The executable that uses&amp;nbsp;the custom-built LAPACK library passes for both cases.&lt;/P&gt;
&lt;P&gt;Sample output from MKL executable:&lt;/P&gt;
&lt;P&gt;LWORK estimated by formula.&lt;BR /&gt;Infinity norm of residual matrix in the 1st case 3.754315870226376E-018&lt;BR /&gt;** Test passed **&lt;/P&gt;
&lt;P&gt;LWORK computed by routine.&lt;BR /&gt;Infinity norm of residual matrix in the 2nd case 4.503115539806813E-003&lt;BR /&gt;**** Test FAILED ****&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample output from custom-built LAPACK library executable:&lt;/P&gt;
&lt;P&gt;LWORK estimated by formula.&lt;BR /&gt;&amp;nbsp;Infinity norm of residual matrix in the 1st case 4.671276609658848E-018&lt;BR /&gt;** Test passed **&lt;/P&gt;
&lt;P&gt;LWORK computed by routine.&lt;BR /&gt;&amp;nbsp;Infinity norm of residual matrix in the 2nd case 4.333994776498896E-018&lt;BR /&gt;** Test passed **&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Nathan&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2020 14:24:42 GMT</pubDate>
    <dc:creator>Nathan_Champagne</dc:creator>
    <dc:date>2020-10-30T14:24:42Z</dc:date>
    <item>
      <title>Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224142#M30259</link>
      <description>&lt;P&gt;There may be a problem in the MKL version of zgesvd (SVD for complex double precision values).&lt;/P&gt;
&lt;P&gt;The problem (demonstrated in the attached code) is the reconstructed results are not correct for&amp;nbsp;complex double precision values when using LWORK computed by zgesvd. The archive contains files for building two programs (Windows and Mac build files). One program, svd_mkl, uses the MKL libraries, and the second program, svd_custom, uses a custom-built LAPACK library with the MKL BLAS.&lt;/P&gt;
&lt;P&gt;A pass/fail test, discussed &lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-Single-Precision-Problem/m-p/1216120#M30140" target="_blank"&gt;here&lt;/A&gt;, is applied to the results. The MKL executable passes when a formula-based LWORK value is used, but fails when a&amp;nbsp;zgesvd-provided value is used. The executable that uses&amp;nbsp;the custom-built LAPACK library passes for both cases.&lt;/P&gt;
&lt;P&gt;Sample output from MKL executable:&lt;/P&gt;
&lt;P&gt;LWORK estimated by formula.&lt;BR /&gt;Infinity norm of residual matrix in the 1st case 3.754315870226376E-018&lt;BR /&gt;** Test passed **&lt;/P&gt;
&lt;P&gt;LWORK computed by routine.&lt;BR /&gt;Infinity norm of residual matrix in the 2nd case 4.503115539806813E-003&lt;BR /&gt;**** Test FAILED ****&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample output from custom-built LAPACK library executable:&lt;/P&gt;
&lt;P&gt;LWORK estimated by formula.&lt;BR /&gt;&amp;nbsp;Infinity norm of residual matrix in the 1st case 4.671276609658848E-018&lt;BR /&gt;** Test passed **&lt;/P&gt;
&lt;P&gt;LWORK computed by routine.&lt;BR /&gt;&amp;nbsp;Infinity norm of residual matrix in the 2nd case 4.333994776498896E-018&lt;BR /&gt;** Test passed **&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Nathan&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 14:24:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224142#M30259</guid>
      <dc:creator>Nathan_Champagne</dc:creator>
      <dc:date>2020-10-30T14:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224277#M30261</link>
      <description>&lt;P&gt;1. I looked at your code briefly, and I note that the formula that you used to compute LWORK is the one for the "real flavors" of ?GESVD. For "complex flavors", the formula is LWORK &amp;gt;= 2*min(m,n) + max(m,n) . Thus, you are over-allocating the work array, but that should not affect the results.&lt;/P&gt;
&lt;P&gt;2. On Windows, using the MKL version&amp;nbsp;2020.0.4, I do not obtain a "Test failed" message, whether I build for IA32 or x64.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 00:51:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224277#M30261</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-10-31T00:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224280#M30262</link>
      <description>&lt;P&gt;That's weird. I did some more tests and noticed that failure occurs when LWORK &amp;gt;= 47668 for svd_mkl (Mac and Windows).&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 01:34:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224280#M30262</guid>
      <dc:creator>Nathan_Champagne</dc:creator>
      <dc:date>2020-10-31T01:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224283#M30264</link>
      <description>&lt;P&gt;I tried the svd_mkl executable on another Mac, and all the tests passed! So, the test failure occurs on a 2019 Mac Pro (3.2 GHz 16-Core Intel Xeon W), and the tests pass on a 2017 MacBook Pro. Any suggestions on how to proceed?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Note that the Windows tests were done on the same 2019 Mac Pro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 02:02:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224283#M30264</guid>
      <dc:creator>Nathan_Champagne</dc:creator>
      <dc:date>2020-10-31T02:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224296#M30265</link>
      <description>&lt;P&gt;If you have access to a native Windows PC (rather than Windows running in a VM) with the MKL runtime, you could see if the EXE will work on it.&lt;/P&gt;
&lt;P&gt;Similarly, if you have been building multi-thread versions, you could try building and running a serial version.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 07:21:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224296#M30265</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-10-31T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224879#M30276</link>
      <description>&lt;P&gt;The tests pass on a native Windows PC. The builds have been serial.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 02:07:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1224879#M30276</guid>
      <dc:creator>Nathan_Champagne</dc:creator>
      <dc:date>2020-11-03T02:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1236029#M30489</link>
      <description>&lt;P&gt;I installed the latest oneAPI Base and HPC Toolkits on a&amp;nbsp;&lt;SPAN&gt;2019 Mac Pro (3.2 GHz 16-Core Intel Xeon W). All the tests pass, now. The old and new results are attached.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:30:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1236029#M30489</guid>
      <dc:creator>Nathan_Champagne</dc:creator>
      <dc:date>2020-12-10T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Potential ZGESVD Problem with LWORK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1237353#M30499</link>
      <description>&lt;P&gt;thanks Nathan for the update.&amp;nbsp;This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 06:24:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Potential-ZGESVD-Problem-with-LWORK/m-p/1237353#M30499</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-12-15T06:24:31Z</dc:date>
    </item>
  </channel>
</rss>

