<?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 QRDecomposition using LAPACK package in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QRDecomposition-using-LAPACK-package/m-p/1168548#M28390</link>
    <description>Hello,

I am doing QR decomposition using LAPACKE_dgeqrf() function.
Strangely it works fine on my windows Desktop but when I run same code on other windows desktop it gives error as 5th parameter is illegal.

Here is the example,

Double input[5][4] = { 1, 2, 3, 4
                                  5, 6, 7, 8, 
                                  9, 10, 11, 12, 
                                 13, 14, 15, 16, 
                                 17, 18, 19, 20 };

Input is converted to 1D array.

double test[20] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 };
double tau[4] = { 0 };

lapack_int status ;
status = LAPACKE_dgeqrf(LAPACK_ROW_MAJOR, 5, 4, test, 4, tau);

Here, above function returns status '0' on my desktop but on other windows desktop it returns status as '-5'.

Anyone have any idea, what is going wrong here?</description>
    <pubDate>Thu, 12 Apr 2018 08:20:58 GMT</pubDate>
    <dc:creator>Patil__Rupali</dc:creator>
    <dc:date>2018-04-12T08:20:58Z</dc:date>
    <item>
      <title>QRDecomposition using LAPACK package</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QRDecomposition-using-LAPACK-package/m-p/1168548#M28390</link>
      <description>Hello,

I am doing QR decomposition using LAPACKE_dgeqrf() function.
Strangely it works fine on my windows Desktop but when I run same code on other windows desktop it gives error as 5th parameter is illegal.

Here is the example,

Double input[5][4] = { 1, 2, 3, 4
                                  5, 6, 7, 8, 
                                  9, 10, 11, 12, 
                                 13, 14, 15, 16, 
                                 17, 18, 19, 20 };

Input is converted to 1D array.

double test[20] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 };
double tau[4] = { 0 };

lapack_int status ;
status = LAPACKE_dgeqrf(LAPACK_ROW_MAJOR, 5, 4, test, 4, tau);

Here, above function returns status '0' on my desktop but on other windows desktop it returns status as '-5'.

Anyone have any idea, what is going wrong here?</description>
      <pubDate>Thu, 12 Apr 2018 08:20:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QRDecomposition-using-LAPACK-package/m-p/1168548#M28390</guid>
      <dc:creator>Patil__Rupali</dc:creator>
      <dc:date>2018-04-12T08:20:58Z</dc:date>
    </item>
    <item>
      <title>what version of mkl do you</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QRDecomposition-using-LAPACK-package/m-p/1168549#M28391</link>
      <description>&lt;P&gt;what version of mkl do you use?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 16:22:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QRDecomposition-using-LAPACK-package/m-p/1168549#M28391</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-04-12T16:22:25Z</dc:date>
    </item>
  </channel>
</rss>

