<?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 Ying, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESVD-returning-wrong-singular-values-and-poor-efficiency-for/m-p/1100019#M23819</link>
    <description>Ying,

Thanks for looking into this.  I apologize for the double post.  It's ok to reply to only of them.

John</description>
    <pubDate>Tue, 08 Mar 2016 12:39:26 GMT</pubDate>
    <dc:creator>John_Young</dc:creator>
    <dc:date>2016-03-08T12:39:26Z</dc:date>
    <item>
      <title>DGESVD returning wrong singular values (and poor efficiency) for some values of lwork</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESVD-returning-wrong-singular-values-and-poor-efficiency-for/m-p/1100017#M23817</link>
      <description>&lt;P&gt;I've attached some fortran test code for which ZGESVD is returning the wrong singular values and also exhibiting poor efficiency for some values of lwork.&amp;nbsp; I'm using linux with MKL 11.3.1 Product Build 20151021.&amp;nbsp; I've also observed the bug under Windows as well.&amp;nbsp; I'm using 8-byte integers and the ILP64 libraries.&lt;/P&gt;

&lt;P&gt;The test matrix is an identity matrix whose singular values should be all one. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;When I use an lwork value as the minimum value suggested by the LAPACK documentation everything works fine and is fairly efficient.&amp;nbsp; If I use the value of lwork returned by an lwork=-1 query, the singular values are not all one and the SVD is much slower than the first case.&amp;nbsp; I used a third value of lwork between the optimum value and the minimum value and the SVD routine took so long that I stopped the simulation. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;My compile line is&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifort -i8 -module . test.F90 -L$INTEL_MKL_LIBS -liomp5 -lmkl_intel_ilp64 -lmkl_core -lmkl_intel_thread -lpthread -lm&lt;/P&gt;

&lt;P&gt;The output I observe from the test program is&lt;/P&gt;

&lt;P&gt;OpenMP:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;
	&amp;nbsp;Intel(R) Math Kernel Library Version 11.3.1 Product Build 20151021 for Intel(R)&lt;BR /&gt;
	&amp;nbsp; 64 architecture applications&lt;/P&gt;

&lt;P&gt;&amp;nbsp;SUM:&amp;nbsp; (5868.00000000000,0.000000000000000E+000)&lt;BR /&gt;
	&amp;nbsp;Starting SVD TRY 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5868&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5868&lt;BR /&gt;
	&amp;nbsp;LWORK :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17604&lt;BR /&gt;
	&amp;nbsp;Condition #:&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00000000000000&lt;BR /&gt;
	&amp;nbsp;Done with SVD TRY 1&lt;BR /&gt;
	&amp;nbsp;Starting SVD TRY 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5868&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5868&lt;BR /&gt;
	&amp;nbsp;LWORK :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 645480&lt;BR /&gt;
	&amp;nbsp;Condition #:&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.6534147285328&lt;BR /&gt;
	&amp;nbsp;Done with SVD TRY 2&lt;BR /&gt;
	&amp;nbsp;Starting SVD TRY 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5868&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5868&lt;BR /&gt;
	&amp;nbsp;LWORK :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 58680&lt;BR /&gt;
	^Cforrtl: error (69): process interrupted (SIGINT)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 22:08:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESVD-returning-wrong-singular-values-and-poor-efficiency-for/m-p/1100017#M23817</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2016-03-05T22:08:26Z</dc:date>
    </item>
    <item>
      <title>Hi John, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESVD-returning-wrong-singular-values-and-poor-efficiency-for/m-p/1100018#M23818</link>
      <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;thanks for the report. I can reproduce the two problems. We will investigate them and update you soon.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 07:04:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESVD-returning-wrong-singular-values-and-poor-efficiency-for/m-p/1100018#M23818</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-03-08T07:04:49Z</dc:date>
    </item>
    <item>
      <title>Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESVD-returning-wrong-singular-values-and-poor-efficiency-for/m-p/1100019#M23819</link>
      <description>Ying,

Thanks for looking into this.  I apologize for the double post.  It's ok to reply to only of them.

John</description>
      <pubDate>Tue, 08 Mar 2016 12:39:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESVD-returning-wrong-singular-values-and-poor-efficiency-for/m-p/1100019#M23819</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2016-03-08T12:39:26Z</dc:date>
    </item>
  </channel>
</rss>

