<?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 Re:Call to LAPACKE_zunmlq cause access violation in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1387742#M33194</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting on Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could please let us know if you are getting the same issue when trying it from Intel oneAPI command prompt? and also do let us know if this happens in both sequential and parallel mode of execution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 26 May 2022 14:51:29 GMT</pubDate>
    <dc:creator>ShanmukhS_Intel</dc:creator>
    <dc:date>2022-05-26T14:51:29Z</dc:date>
    <item>
      <title>Call to LAPACKE_zunmlq cause access violation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1387390#M33191</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to apply Q obtained from LAPACKE_zgelqf to the rectangular matrix from the right using LAPACKE_zunmlq.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#include "mkl.h"&lt;/P&gt;
&lt;P&gt;int main() {&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;BR /&gt;int m = 637;&lt;BR /&gt;int rows1 = m;&lt;BR /&gt;int columns1 = 3 * m;&lt;BR /&gt;int lda1 = rows1;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;MKL_Complex16* matrix1 = new MKL_Complex16[rows1 * columns1];&lt;BR /&gt;for (int i = 0; i &amp;lt; rows1 * columns1; ++i) {&lt;/P&gt;
&lt;P class="lia-indent-padding-left-90px"&gt;matrix1[i] = { (double)i, (double)i };&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;}&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;int rows2 = 3 * m + 1;&lt;BR /&gt;int columns2 = 3 * m;&lt;BR /&gt;int lda2 = rows2;&lt;BR /&gt;MKL_Complex16* matrix2 = new MKL_Complex16[rows2 * columns2];&lt;BR /&gt;for (int i = 0; i &amp;lt; rows2 * columns2; ++i) {&lt;/P&gt;
&lt;P class="lia-indent-padding-left-90px"&gt;&lt;BR /&gt;matrix2[i] = { (double)i, (double)i };&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;}&lt;BR /&gt;int refl = rows1;&lt;BR /&gt;MKL_Complex16* tau = new MKL_Complex16[refl];&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;int info = 0;&lt;BR /&gt;info = LAPACKE_zgelqf(LAPACK_COL_MAJOR, rows1, columns1, matrix1, lda1, tau);&lt;BR /&gt;info = LAPACKE_zunmlq(LAPACK_COL_MAJOR, 'R', 'C', rows2, columns2, refl, matrix1, lda1, tau, matrix2, lda2);&lt;BR /&gt;delete[] tau;&lt;BR /&gt;delete[] matrix1;&lt;BR /&gt;delete[] matrix2;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sure that all parameters have appropriate values but call to the&amp;nbsp;LAPACKE_zunmlq cause access violation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run this code using VS 2019 with oneAPI 2022.0 on the machine with Windows 10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something obvious or is there a bug in LAPACKE_zunmlq&lt;/P&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation section_selectors question_selectors first_st_section" data-section_field_id="a113-188f-de0f"&gt;
&lt;DIV class="lia-message-body-content sub_section_element_selectors"&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Thanks for helping me&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 14:34:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1387390#M33191</guid>
      <dc:creator>Dmitriy_Prokhorov</dc:creator>
      <dc:date>2022-05-25T14:34:09Z</dc:date>
    </item>
    <item>
      <title>Re:Call to LAPACKE_zunmlq cause access violation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1387742#M33194</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting on Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could please let us know if you are getting the same issue when trying it from Intel oneAPI command prompt? and also do let us know if this happens in both sequential and parallel mode of execution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 May 2022 14:51:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1387742#M33194</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2022-05-26T14:51:29Z</dc:date>
    </item>
    <item>
      <title>Re:Call to LAPACKE_zunmlq cause access violation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1389436#M33224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are working on your issue. We will get back to you soon with an update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2022 02:48:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1389436#M33224</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2022-06-02T02:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Call to LAPACKE_zunmlq cause access violation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1389455#M33225</link>
      <description>Thank you for your response. &lt;BR /&gt;&lt;BR /&gt;I can't currently check described functionality. But using fortran interface zunmlq with equivalent parameters instead of LAPACKE_zumlq solves the problem. &lt;BR /&gt;&lt;BR /&gt;Best regards, &lt;BR /&gt;Dmitriy Prokhorov</description>
      <pubDate>Thu, 02 Jun 2022 04:04:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Call-to-LAPACKE-zunmlq-cause-access-violation/m-p/1389455#M33225</guid>
      <dc:creator>Dmitriy_Prokhorov</dc:creator>
      <dc:date>2022-06-02T04:04:39Z</dc:date>
    </item>
  </channel>
</rss>

