<?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 LAPACKE_dgesvd crashes in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826810#M5159</link>
    <description>I only did the static allocation in this example. In my app I use Matrix classes. But this makes no difference. In this example app it works, in my app not. Could it be that mkl and ipp 6.1 or any other library do influence to each other, so that mkl hangs?</description>
    <pubDate>Fri, 23 Sep 2011 05:53:46 GMT</pubDate>
    <dc:creator>steffenroeber</dc:creator>
    <dc:date>2011-09-23T05:53:46Z</dc:date>
    <item>
      <title>LAPACKE_dgesvd crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826805#M5154</link>
      <description>Hi,&lt;BR /&gt;I tried using the LAPACKE_dgesvd function, but it crashes for matrices larger than 30x30. Is this a known bug?&lt;BR /&gt;&lt;PRE&gt;[cpp]    
    int M = i_A.getColumnCount();
    int N = i_A.getRowCount();
    int lda = i_A.getColumnCount();
    int ldu = i_A.getColumnCount();
    int ldvt = i_A.getRowCount();
    static float64 superb[100];
    LAPACKE_dgesvd(LAPACK_ROW_MAJOR, 'A', 'A', M, N, &amp;amp;A(0, 0), lda, &amp;amp;o_W(0, 0), &amp;amp;o_U(0, 0), ldu, &amp;amp;o_VT(0, 0), ldvt, superb);&lt;BR /&gt;[/cpp]&lt;/PRE&gt; &lt;BR /&gt;
This piece of code works well for small matrices. I fill I_A with random numbers. For dimensions like 35x35 or 100x100
LAPACKE_dgesvd does not return and CPU stays at 100%.</description>
      <pubDate>Tue, 20 Sep 2011 08:22:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826805#M5154</guid>
      <dc:creator>steffenroeber</dc:creator>
      <dc:date>2011-09-20T08:22:16Z</dc:date>
    </item>
    <item>
      <title>LAPACKE_dgesvd crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826806#M5155</link>
      <description>Hi,&lt;DIV&gt;No it an unknow bug.&lt;/DIV&gt;&lt;DIV&gt;Would you please give us the test for checking the problem on our side?&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Sep 2011 09:13:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826806#M5155</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-09-20T09:13:45Z</dc:date>
    </item>
    <item>
      <title>LAPACKE_dgesvd crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826807#M5156</link>
      <description>&lt;I&gt;&amp;gt; Is this a known bug?&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;It is not a bug until shown to be one. Most of the time when an MKL bug is suspected, it turns out to that the function arguments are not correct or a required interface has not been used.&lt;BR /&gt;&lt;BR /&gt;Many of the arguments in your call to LAPACKE_dgesvd do not have declarations shown. Nor have you shown how the array(s) were filled.&lt;BR /&gt;&lt;BR /&gt;Furthermore, when performing difficult calculations such as eigenvalue or singular value determination on large matrices, applying the calculation to a matrix filled with random numbers is perhaps a waste of time.&lt;BR /&gt;&lt;BR /&gt;Please show a complete example to be compiled and run, demonstrating the claimed bug.</description>
      <pubDate>Tue, 20 Sep 2011 12:38:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826807#M5156</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-20T12:38:27Z</dc:date>
    </item>
    <item>
      <title>LAPACKE_dgesvd crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826808#M5157</link>
      <description>Hi,&lt;BR /&gt;I have a very strange behaviour. I I write the following code in a new empty c++ project all works fine.&lt;BR /&gt;&lt;PRE&gt;[cpp]#include "stdafx.h"
#include &lt;STDLIB.H&gt;

#pragma comment(lib, "C:/Programme/Intel/Composer XE/mkl/lib/ia32/mkl_core.lib")
#pragma comment(lib, "C:/Programme/Intel/Composer XE/mkl/lib/ia32/mkl_intel_c.lib")
#pragma comment(lib, "C:/Programme/Intel/Composer XE/mkl/lib/ia32/mkl_intel_thread.lib")
#pragma comment(lib, "C:/Programme/Intel/Composer XE/compiler/lib/ia32/libiomp5md.lib")
#include "mkl_lapacke.h"
int main(int argc, char* argv[])
{
  const int size = 200;
  double A[size*size];
  int k = 0;
  for (int i = 0; i &amp;lt; size; ++i)
  {
    for (int j = 0; j &amp;lt; size; ++j, ++k)
    {
      A&lt;K&gt; = k;
    }
  }
  double U[size*size];
  double V[size*size];
  double W[size];
  int M = size;
  int N = size;
  int lda = size;
  int ldu = size;
  int ldvt = size;
  double superb[size];
  int r = LAPACKE_dgesvd(LAPACK_ROW_MAJOR, 'A', 'A', M, N, A, lda, W, U, ldu, V, ldvt, superb);

	return 0;
}[/cpp]&lt;/K&gt;&lt;/STDLIB.H&gt;&lt;/PRE&gt;
But if I use the same code in my other app, the lapack routine does not return for sizes &amp;gt; 30. And the CPU raises to 100%. The same routine without MKL (default BLAS) work in both cases. Could there be anything that MKL does not like?</description>
      <pubDate>Thu, 22 Sep 2011 06:05:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826808#M5157</guid>
      <dc:creator>steffenroeber</dc:creator>
      <dc:date>2011-09-22T06:05:48Z</dc:date>
    </item>
    <item>
      <title>LAPACKE_dgesvd crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826809#M5158</link>
      <description>&lt;DIV&gt;I checked how it works with the latest 10l3 Update6 version and didn't see the problem.&lt;/DIV&gt;I don't like the idea to statically allocate the working arrays like you shown. it may caused crashes while calling the mkl's routines.&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Sep 2011 09:10:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826809#M5158</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-09-22T09:10:52Z</dc:date>
    </item>
    <item>
      <title>LAPACKE_dgesvd crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826810#M5159</link>
      <description>I only did the static allocation in this example. In my app I use Matrix classes. But this makes no difference. In this example app it works, in my app not. Could it be that mkl and ipp 6.1 or any other library do influence to each other, so that mkl hangs?</description>
      <pubDate>Fri, 23 Sep 2011 05:53:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACKE-dgesvd-crashes/m-p/826810#M5159</guid>
      <dc:creator>steffenroeber</dc:creator>
      <dc:date>2011-09-23T05:53:46Z</dc:date>
    </item>
  </channel>
</rss>

