<?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: Segmentation fault with intel MKL libraries LAPACKE_dgetrf and LAPACKE_dgetri in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-fault-with-intel-MKL-libraries-LAPACKE-dgetrf-and/m-p/1682512#M37066</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am sorry I did not have time to investigate the issue. Since the issue is only happening on very big problem sizes, I am unable to test this very easily. Moreover, from what my and my colleagues observe, if we allocate huge memory then we do not encounter the problem.&lt;/P&gt;&lt;P&gt;If I have a concrete reproducer code I will share it and raise the issue again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks and regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Debasish&lt;/P&gt;</description>
    <pubDate>Sun, 13 Apr 2025 09:43:39 GMT</pubDate>
    <dc:creator>DebasishBanerjee</dc:creator>
    <dc:date>2025-04-13T09:43:39Z</dc:date>
    <item>
      <title>Segmentation fault with intel MKL libraries LAPACKE_dgetrf and LAPACKE_dgetri</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-fault-with-intel-MKL-libraries-LAPACKE-dgetrf-and/m-p/1646251#M36695</link>
      <description>&lt;P&gt;I am facing a segmentation fault while running MKL lapack routines. In order to understand the origin of the problem, I ran the program with valgrind (with the options&lt;/P&gt;&lt;P&gt;valgrind --leak-check=full --show-leak-kinds=all -s --track-origins=yes &amp;lt;executable&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;and get the output attached with post (the slurm output file, please see from&lt;BR /&gt;line 274 onwards). I concentrate on the memory that is "definitely lost" (see around&lt;BR /&gt;line 420 onwards), and this seems to be due to calling of the mkl_lapack_dtrtri and&lt;BR /&gt;mkl_lapack_dgetri.&lt;/P&gt;&lt;P&gt;The only place in my code where I call LAPACKE_dgetrf and LAPACKE_dgetri is in&lt;BR /&gt;det.c (which I also attach). Please note that although the functions are called&lt;BR /&gt;atlasdet, atlasinv, .. etc, only mkl routines are used. (The naming convention is&lt;BR /&gt;because these routines were using ATLAS functions, which I then ported to MKL).&lt;BR /&gt;&lt;BR /&gt;Any help in resolving this issue would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Debasish&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 08:20:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-fault-with-intel-MKL-libraries-LAPACKE-dgetrf-and/m-p/1646251#M36695</guid>
      <dc:creator>DebasishBanerjee</dc:creator>
      <dc:date>2024-11-28T08:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault with intel MKL libraries LAPACKE_dgetrf and LAPACKE_dgetri</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-fault-with-intel-MKL-libraries-LAPACKE-dgetrf-and/m-p/1647494#M36717</link>
      <description>&lt;P&gt;Hi Debasish,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting the issue.&lt;/P&gt;
&lt;P&gt;Noticed you are using oneAPI 2023.2.1, can you try with oneAPI newer version(oneAPI 2025.0 for example). If the issue still exist with latest oneAPI version, to better investigate the issue, please share us&amp;nbsp;a simple reproducer and the information about OS, HW, etc., as well as educate us how to reproduce your issue with the simple reproducer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ruqiu&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 08:15:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-fault-with-intel-MKL-libraries-LAPACKE-dgetrf-and/m-p/1647494#M36717</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-12-05T08:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault with intel MKL libraries LAPACKE_dgetrf and LAPACKE_dgetri</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-fault-with-intel-MKL-libraries-LAPACKE-dgetrf-and/m-p/1682512#M37066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am sorry I did not have time to investigate the issue. Since the issue is only happening on very big problem sizes, I am unable to test this very easily. Moreover, from what my and my colleagues observe, if we allocate huge memory then we do not encounter the problem.&lt;/P&gt;&lt;P&gt;If I have a concrete reproducer code I will share it and raise the issue again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks and regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Debasish&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 09:43:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-fault-with-intel-MKL-libraries-LAPACKE-dgetrf-and/m-p/1682512#M37066</guid>
      <dc:creator>DebasishBanerjee</dc:creator>
      <dc:date>2025-04-13T09:43:39Z</dc:date>
    </item>
  </channel>
</rss>

