<?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:[BUG] Memory leak in cluster pardiso solver when n=1 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1698044#M37221</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for submitting the issue.&lt;/P&gt;&lt;P&gt;We have reproduced the issue with the reproducer. We will update this post once there are further improvements.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruqiu&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Jun 2025 03:03:46 GMT</pubDate>
    <dc:creator>Ruqiu_C_Intel</dc:creator>
    <dc:date>2025-06-18T03:03:46Z</dc:date>
    <item>
      <title>[BUG] Memory leak in cluster pardiso solver when n=1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1695490#M37194</link>
      <description>&lt;P&gt;It seems like when n=1, although makes little sense in practice (but indeed is a valid matrix size), there is a memory leak issue in the cluster pardiso solver.&lt;/P&gt;&lt;P&gt;The attached reproducer is an abridged version of the example file `cl_solver_unsym_c.c`.&lt;/P&gt;&lt;P&gt;Compile and run the executable, the output starts with the following.&lt;/P&gt;&lt;LI-CODE lang="none"&gt;*** Error in PARDISO ( insufficient_memory) error_num= 1

*** Error in PARDISO memory allocation: MATCHING_REORDERING_DATA, allocation of 1 bytes failed

total memory wanted here: 142 kbyte



=== PARDISO: solving a real nonsymmetric system ===

Matrix checker is turned ON &lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class=""&gt;With address sanitizer on, it looks like `&lt;SPAN class=""&gt;mm_internal_malloc&lt;/SPAN&gt;` is leaking memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;==3948==ERROR: LeakSanitizer: detected memory leaks



Direct leak of 128 byte(s) in 1 object(s) allocated from:

#0 0x7f54bcefd9c7 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69

#1 0x5641c65c4c1c in mm_internal_malloc (/home/runner/work/ezp/ezp/build/pardiso.memleak+0xd8c1c) (BuildId: 147c1dc7a67f9a1d99f4d13e95bd2136fa286a0f)



SUMMARY: AddressSanitizer: 128 byte(s) leaked in 1 allocation(s).&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;It is reproduced in a standard environment, see the following GitHub workflow.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/TLCFEM/ezp/actions/runs/15502135308" target="_blank" rel="noopener"&gt;https://github.com/TLCFEM/ezp/actions/runs/15502135308&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Seems to be a memory issue?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jun 2025 00:47:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1695490#M37194</guid>
      <dc:creator>tlcfem</dc:creator>
      <dc:date>2025-06-07T00:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Memory leak in cluster pardiso solver when n=1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1695739#M37195</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Intel MKL use internal buffers to facilitate better performance.&amp;nbsp; These internal buffers may be reported as leaked memory.&lt;/P&gt;
&lt;P&gt;Can you check this article, and see if some APIs/environment can help to remove it: &lt;BR /&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2025-1/avoiding-memory-leaks-in-onemkl.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2025-1/avoiding-memory-leaks-in-onemkl.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 06:45:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1695739#M37195</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2025-06-09T06:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Memory leak in cluster pardiso solver when n=1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1695762#M37197</link>
      <description>&lt;P&gt;Calling mkl_disable_fast_mm does not help, see the following workflow.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/TLCFEM/ezp/actions/runs/15530089687" target="_blank" rel="noopener"&gt;https://github.com/TLCFEM/ezp/actions/runs/15530089687&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Noting the information,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;*** Error in PARDISO ( insufficient_memory) error_num= 1

*** Error in PARDISO memory allocation: MATCHING_REORDERING_DATA, allocation of 1 bytes failed

total memory wanted here: 142 kbyte&lt;/LI-CODE&gt;&lt;P&gt;It seems like some faulty parameters are passed to memory allocation, because when n&amp;gt;1 there is no such an error.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 08:24:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1695762#M37197</guid>
      <dc:creator>tlcfem</dc:creator>
      <dc:date>2025-06-09T08:24:56Z</dc:date>
    </item>
    <item>
      <title>Re:[BUG] Memory leak in cluster pardiso solver when n=1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1698044#M37221</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for submitting the issue.&lt;/P&gt;&lt;P&gt;We have reproduced the issue with the reproducer. We will update this post once there are further improvements.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruqiu&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2025 03:03:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1698044#M37221</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2025-06-18T03:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Memory leak in cluster pardiso solver when n=1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1730025#M37482</link>
      <description>&lt;P&gt;This issue has been fixed in the oneMKL 2025.3 release. Please give it a try!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 18:41:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/BUG-Memory-leak-in-cluster-pardiso-solver-when-n-1/m-p/1730025#M37482</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2025-12-12T18:41:45Z</dc:date>
    </item>
  </channel>
</rss>

