<?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 the inconsistencies into in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983086#M17547</link>
    <description>&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;the inconsistencies into description has been fixed into MKL v.11.2 documentation.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Sep 2014 07:16:11 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2014-09-08T07:16:11Z</dc:date>
    <item>
      <title>MKL PZGESVD crashes when linking from C++.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983081#M17542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In the attached test case (a.cpp), I'm trying to use the scalapack&amp;nbsp; PZGESVD routine, but it crashes for a reason I cannot figure out.&amp;nbsp; I'm calling from C++.&amp;nbsp; If I call PDGESVD on a real (double precision) matrix, then everything works fine.&amp;nbsp; I've attached the screen output from both a real compile (real.png) and a complex compile (complex.png).&amp;nbsp; The only difference between the two compiles is that the real version defines dtype=1 at line 94 and the complex version defines dtype=2 at line 94.&amp;nbsp; Also, the PZLAPRNT routine produces weird results unless you comment out line 118 (the PZGESVD call still crashes though).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm using MKL version 11.1.0 and intel MPI version 4.1 on a linux system.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Am I calling the routine incorrectly, or is this a library issue?&amp;nbsp; Thanks in advance.&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2014 20:41:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983081#M17542</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2014-04-17T20:41:19Z</dc:date>
    </item>
    <item>
      <title>ok, we will try to check how</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983082#M17543</link>
      <description>&lt;P&gt;ok, we will try to check how it works on our side.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2014 15:15:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983082#M17543</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-04-18T15:15:13Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady Fedorov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983083#M17544</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;ok, we will try to check how it works on our side.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Gennady,&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;Also, the mkl manual&amp;nbsp; documentation for PZGESVD/PCGESVD is somewhat confusing to me for the following reasons:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://software.intel.com/en-us/node/470050&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/node/470050&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;

&lt;P&gt;1. The c-interface for these routines are do not include the 'rwork' parameter but the fortran interface does.&amp;nbsp; This seems odd.&lt;/P&gt;

&lt;P&gt;2. The documentation states that the 's'-parameter and 'rwork'-parameter for PZGESVD and PCGESVD are complex/MKL_Complex8 and double complex/MKL_Complex16 for PCGESVD and PZGESVD, respectively.&amp;nbsp; The stock fortran Scalapack implementation available at nelib states that the 's' and 'rwork' parameters are real and double precision for PCGESVD and PZGESVD, respectively.&amp;nbsp; We have used the MKL PZGESVD/PCGESVD fortran interfaces extensively and get correct answers using real arrays for s/rwork and not complex arrays, which conflicts with the MKL documentation. If you use complex arrays from fortran for s/rwork, you do not get the proper answers in s which has the consecutive singular values stuffed into the real/imaginary parts of the complex s (which is incorrect).&lt;/P&gt;

&lt;P&gt;If the c-interface functions are redirecting to the fortran versions under-the-hood, I'm not sure how they could work properly with the given interface unless temporary memory is being generated under-the-hood for rwork and the s-values are converted from real-to-complex.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2014 16:47:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983083#M17544</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2014-04-21T16:47:26Z</dc:date>
    </item>
    <item>
      <title>Attached is a short test with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983084#M17545</link>
      <description>&lt;P&gt;Attached is a short test with screen output of the possibility that the documentation for PZGESVD/PCGESVD is incorrect as well as the c-interface in mkl_scalapack.h.&amp;nbsp; I removed mkl_scalapack.h and replaced it with an interface for pzgesvd_ that follows the stock netlib pzgesvd implementation. In this case, the error I was originally seeing no longer occurs and the result is correct.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2014 17:11:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983084#M17545</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2014-04-21T17:11:38Z</dc:date>
    </item>
    <item>
      <title>thanks John. You are right.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983085#M17546</link>
      <description>&lt;P&gt;thanks John. You are right. &amp;nbsp;There are several inconsistencies in these descriptions. We will fix it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2014 11:36:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983085#M17546</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-04-22T11:36:31Z</dc:date>
    </item>
    <item>
      <title>the inconsistencies into</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983086#M17547</link>
      <description>&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;the inconsistencies into description has been fixed into MKL v.11.2 documentation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2014 07:16:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PZGESVD-crashes-when-linking-from-C/m-p/983086#M17547</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-09-08T07:16:11Z</dc:date>
    </item>
  </channel>
</rss>

