<?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 I ran your example on Windows in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959454#M15781</link>
    <description>&lt;P&gt;I ran your example on Windows 8.1 X64 with the 32-bit and 64-bit 14.0.2 compilers, and the code ran with no error messages output, whether I used 'O' or 'A' as the second argument to LAPACKE_sgesdd.&lt;/P&gt;

&lt;P&gt;It is not useful to use matrices with random values for elements when computing the SVD, particularly when a runtime error is involved and the occurrence of the error may depend on the values of the matrix elements. This could be one reason for my failure to reproduce the error that you reported.&lt;/P&gt;

&lt;P&gt;Secondly, if by "most efficient" you mean "fastest", you need to come up with a test matrix that is much larger than a pitiful 5 X 5 matrix in order to get meaningful timing results.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2014 14:31:49 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2014-03-25T14:31:49Z</dc:date>
    <item>
      <title>SVD with via "divide and conquer" method (LAPACKE_sgesdd)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959453#M15780</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am searching for the most efficient SVD calculation approach in MKL and about to conclude this is "LAPACKE_sgesdd". Could you please help me with two questions:&lt;/P&gt;

&lt;P&gt;1. Is "LAPACKE_sgesdd"&amp;nbsp;really the fastest routine in MKL in sense of SVD decomposition or I missed something?&lt;/P&gt;

&lt;P&gt;2. Why when I make a call&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;
LAPACKE_sgesdd(CblasRowMajor, 'A', dim, dim, X, dim, e, U, dim, V, dim);&lt;/PRE&gt;

&lt;P&gt;everything works fine (U, V, and e arrays are filled as imposed by MKL manual), but when I make a call with jobz = 'O'&lt;/P&gt;

&lt;PRE class="brush:cpp;" style="font-size: 13px;"&gt;
LAPACKE_sgesdd(CblasRowMajor, 'O', dim, dim, X, dim, e, U, dim, V, dim);&lt;/PRE&gt;

&lt;P&gt;error is output "MKL ERROR: Parameter 10 was incorrect on entry to SGESDD."?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Victor.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 10:04:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959453#M15780</guid>
      <dc:creator>VICTOR_K_Intel</dc:creator>
      <dc:date>2014-03-25T10:04:41Z</dc:date>
    </item>
    <item>
      <title>I ran your example on Windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959454#M15781</link>
      <description>&lt;P&gt;I ran your example on Windows 8.1 X64 with the 32-bit and 64-bit 14.0.2 compilers, and the code ran with no error messages output, whether I used 'O' or 'A' as the second argument to LAPACKE_sgesdd.&lt;/P&gt;

&lt;P&gt;It is not useful to use matrices with random values for elements when computing the SVD, particularly when a runtime error is involved and the occurrence of the error may depend on the values of the matrix elements. This could be one reason for my failure to reproduce the error that you reported.&lt;/P&gt;

&lt;P&gt;Secondly, if by "most efficient" you mean "fastest", you need to come up with a test matrix that is much larger than a pitiful 5 X 5 matrix in order to get meaningful timing results.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 14:31:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959454#M15781</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-03-25T14:31:49Z</dc:date>
    </item>
    <item>
      <title>I have also checked this</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959455#M15782</link>
      <description>&lt;P&gt;I have also checked this example with the MKL v, 11.1 update 2 for win32 and 64 bits -- the&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;lapack_int res =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;LAPACKE_sgesdd(....); always returned OK.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 15:09:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959455#M15782</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-03-25T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Thanks for quick response,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959456#M15783</link>
      <description>&lt;P&gt;Thanks for quick response, guys.&lt;/P&gt;

&lt;P&gt;Originally I compiled my example with MKL 11.1.1 and there was error. But compiling with 11.1.2 work fine for me to. The problem has gone. Great!&lt;/P&gt;

&lt;P&gt;&lt;A href="http://software.intel.com/en-us/user/9972" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16.5px; background-color: rgb(238, 238, 238);"&gt;mecej4&lt;/A&gt;, thank you for advice, this does make sense. As for this error, it is reproducible quiet stable on MKL 11.1.1 so uncertainty didn't play a big role there. As for 5x5 size matrices, they were used to have as simple example as possible to reproduce the bug, not for performance.&lt;/P&gt;

&lt;P&gt;But still, could you recommend any more fast routine to compute SVD for big matrices (e.g. 5000x5000), or&amp;nbsp;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;LAPACKE_sgesdd is the fastes one?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 07:42:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959456#M15783</guid>
      <dc:creator>VICTOR_K_Intel</dc:creator>
      <dc:date>2014-03-26T07:42:23Z</dc:date>
    </item>
    <item>
      <title>Quote:But still, could you</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959457#M15784</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&amp;gt;But still, could you recommend any more fast routine to compute SVD for big matrices (e.g. 5000x5000), or&amp;nbsp;LAPACKE_sgesdd is the fastes one?&lt;/BLOCKQUOTE&gt; I am afraid that there is no simple answer (note this quotation of H.L. Mencken: &lt;EM&gt;For every complex problem there is an answer that is clear, simple and wrong.&lt;/EM&gt;). It frequently happens in numerical mathematics that one's list of desired attributes of a solution method must change when problem sizes are scaled up from sizes that are amenable to back-of-the-envelope treatment to problems that are many orders of magnitude larger.&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;What attributes can you identify for your input matrices? Are they banded? Sparse? Do you need only the singular values, or do you need singular vectors?&lt;/P&gt;

&lt;P&gt;How many singular values do you require? Or will a mere count of non-zero singular values suffice? What do you intend to do with the singular values?&lt;/P&gt;

&lt;P&gt;Suppose a single "best" routine existed. Why would a library for professional (rather than pedagogical) use, such as MKL, provide any other routines designed for treating the same problem, assuming that there were no trade secrets or copyright issues at play?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:36:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959457#M15784</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-03-26T13:36:00Z</dc:date>
    </item>
    <item>
      <title>:-)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959458#M15785</link>
      <description>&lt;P&gt;:-)&lt;/P&gt;

&lt;P&gt;I see what you mean,&amp;nbsp;&lt;A href="http://software.intel.com/en-us/user/9972" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16.5px; background-color: rgb(238, 238, 238);"&gt;mecej4&lt;/A&gt;, and agree about "correctness" of my original question.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Unfortunately I don't have any specific attributes for input matrices (except&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;symmetry in some cases&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;) and all singular values/vectors are required.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:55:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-with-via-quot-divide-and-conquer-quot-method-LAPACKE-sgesdd/m-p/959458#M15785</guid>
      <dc:creator>VICTOR_K_Intel</dc:creator>
      <dc:date>2014-03-26T13:55:15Z</dc:date>
    </item>
  </channel>
</rss>

