<?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: Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1633537#M36477</link>
    <description>&lt;P&gt;Hi Mahan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I tried applying the advice, but it did not help solve the problem.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 04:36:23 GMT</pubDate>
    <dc:creator>Vivid</dc:creator>
    <dc:date>2024-09-26T04:36:23Z</dc:date>
    <item>
      <title>Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1630974#M36428</link>
      <description>&lt;P&gt;I am experiencing a memory leak in my Fortran project. When using PARDISO, which allocates 100,000 units of memory, it appears to be interfering with a portion of the memory already used by Group1, which has allocated 50,000 units. This memory overlap was detected using Intel Inspector. The memory interference by PARDISO with the memory allocated for Group1 did not occur simultaneously. Group1 continues to hold onto its allocated memory, which suggests that PARDISO is encroaching upon memory that should not be accessed or modified while Group1 is still using it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to understand why PARDISO is causing this memory interference and how to address it. Any guidance on this issue or related documentation would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you for your attention and assistance.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 06:39:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1630974#M36428</guid>
      <dc:creator>Vivid</dc:creator>
      <dc:date>2024-09-13T06:39:56Z</dc:date>
    </item>
    <item>
      <title>Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1631907#M36440</link>
      <description>&lt;P&gt;Hi Vivid&lt;/P&gt;&lt;P&gt;Could you please share a reproducer for this?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Sep 2024 04:02:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1631907#M36440</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-09-18T04:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632184#M36445</link>
      <description>&lt;P&gt;I experienced the same memory leak with the sample example provided by Intel Pardiso.&lt;/P&gt;&lt;P&gt;Therefore, I believe this memory leak issue is an inherent error in Pardiso. If it’s related to the version I’m using, I am open to upgrading.&lt;/P&gt;&lt;P&gt;Here’s the sample example I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!===============================================================================&lt;BR /&gt;! Copyright 2004-2021 Intel Corporation.&lt;BR /&gt;!&lt;BR /&gt;! This software and the related documents are Intel copyrighted materials, and&lt;BR /&gt;! your use of them is governed by the express license under which they were&lt;BR /&gt;! provided to you (License). Unless the License provides otherwise, you may not&lt;BR /&gt;! use, modify, copy, publish, distribute, disclose or transmit this software or&lt;BR /&gt;! the related documents without Intel's prior written permission.&lt;BR /&gt;!&lt;BR /&gt;! This software and the related documents are provided as is, with no express&lt;BR /&gt;! or implied warranties, other than those that are expressly stated in the&lt;BR /&gt;! License.&lt;BR /&gt;!===============================================================================&lt;/P&gt;&lt;P&gt;! Content : Intel(R) oneAPI Math Kernel Library (oneMKL) PARDISO Fortran-90&lt;BR /&gt;! example&lt;BR /&gt;!&lt;BR /&gt;!*******************************************************************************&lt;BR /&gt;!----------------------------------------------------------------------&lt;BR /&gt;! Example program to show the use of the "PARDISO" routine&lt;BR /&gt;! for symmetric linear systems&lt;BR /&gt;!---------------------------------------------------------------------&lt;BR /&gt;INCLUDE 'mkl_pardiso.f90'&lt;BR /&gt;PROGRAM pardiso_sym_f90&lt;BR /&gt;USE mkl_pardiso&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;INTEGER, PARAMETER :: dp = KIND(1.0D0)&lt;BR /&gt;!.. Internal solver memory pointer&lt;BR /&gt;TYPE(MKL_PARDISO_HANDLE), ALLOCATABLE :: pt(:)&lt;BR /&gt;!.. All other variables&lt;BR /&gt;INTEGER maxfct, mnum, mtype, phase, n, nrhs, error, msglvl, nnz&lt;BR /&gt;INTEGER error1&lt;BR /&gt;INTEGER, ALLOCATABLE :: iparm( : )&lt;BR /&gt;INTEGER, ALLOCATABLE :: ia( : )&lt;BR /&gt;INTEGER, ALLOCATABLE :: ja( : )&lt;BR /&gt;REAL(KIND=DP), ALLOCATABLE :: a( : )&lt;BR /&gt;REAL(KIND=DP), ALLOCATABLE :: b( : )&lt;BR /&gt;REAL(KIND=DP), ALLOCATABLE :: x( : )&lt;BR /&gt;INTEGER i, idum(1)&lt;BR /&gt;REAL(KIND=DP) ddum(1)&lt;BR /&gt;!.. Fill all arrays containing matrix data.&lt;BR /&gt;n = 8&lt;BR /&gt;nnz = 18&lt;BR /&gt;nrhs = 1&lt;BR /&gt;maxfct = 1&lt;BR /&gt;mnum = 1&lt;BR /&gt;ALLOCATE(ia(n + 1))&lt;BR /&gt;ia = (/ 1, 5, 8, 10, 12, 15, 17, 18, 19 /)&lt;BR /&gt;ALLOCATE(ja(nnz))&lt;BR /&gt;ja = (/ 1, 3, 6, 7, &amp;amp;&lt;BR /&gt;2, 3, 5, &amp;amp;&lt;BR /&gt;3, 8, &amp;amp;&lt;BR /&gt;4, 7, &amp;amp;&lt;BR /&gt;5, 6, 7, &amp;amp;&lt;BR /&gt;6, 8, &amp;amp;&lt;BR /&gt;7, &amp;amp;&lt;BR /&gt;8 /)&lt;BR /&gt;ALLOCATE(a(nnz))&lt;BR /&gt;a = (/ 7.d0, 1.d0, 2.d0, 7.d0, &amp;amp;&lt;BR /&gt;-4.d0, 8.d0, 2.d0, &amp;amp;&lt;BR /&gt;1.d0, 5.d0, &amp;amp;&lt;BR /&gt;7.d0, 9.d0, &amp;amp;&lt;BR /&gt;5.d0, 1.d0, 5.d0, &amp;amp;&lt;BR /&gt;-1.d0, 5.d0, &amp;amp;&lt;BR /&gt;11.d0, &amp;amp;&lt;BR /&gt;5.d0 /)&lt;BR /&gt;ALLOCATE(b(n))&lt;BR /&gt;ALLOCATE(x(n))&lt;BR /&gt;!..&lt;BR /&gt;!.. Set up PARDISO control parameter&lt;BR /&gt;!..&lt;BR /&gt;ALLOCATE(iparm(64))&lt;/P&gt;&lt;P&gt;DO i = 1, 64&lt;BR /&gt;iparm(i) = 0&lt;BR /&gt;END DO&lt;/P&gt;&lt;P&gt;iparm(1) = 1 ! no solver default&lt;BR /&gt;iparm(2) = 2 ! fill-in reordering from METIS&lt;BR /&gt;iparm(4) = 0 ! no iterative-direct algorithm&lt;BR /&gt;iparm(5) = 0 ! no user fill-in reducing permutation&lt;BR /&gt;iparm(6) = 0 ! =0 solution on the first n components of x&lt;BR /&gt;iparm(8) = 2 ! numbers of iterative refinement steps&lt;BR /&gt;iparm(10) = 13 ! perturb the pivot elements with 1E-13&lt;BR /&gt;iparm(11) = 1 ! use nonsymmetric permutation and scaling MPS&lt;BR /&gt;iparm(13) = 0 ! maximum weighted matching algorithm is switched-off (default for symmetric). Try iparm(13) = 1 in case of inappropriate accuracy&lt;BR /&gt;iparm(14) = 0 ! Output: number of perturbed pivots&lt;BR /&gt;iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;BR /&gt;iparm(19) = -1 ! Output: Mflops for LU factorization&lt;BR /&gt;iparm(20) = 0 ! Output: Numbers of CG Iterations&lt;/P&gt;&lt;P&gt;error = 0 ! initialize error flag&lt;BR /&gt;msglvl = 1 ! print statistical information&lt;BR /&gt;mtype = -2 ! symmetric, indefinite&lt;/P&gt;&lt;P&gt;!.. Initialize the internal solver memory pointer. This is only&lt;BR /&gt;! necessary for the FIRST call of the PARDISO solver.&lt;/P&gt;&lt;P&gt;ALLOCATE (pt(64))&lt;BR /&gt;DO i = 1, 64&lt;BR /&gt;pt(i)%DUMMY = 0&lt;BR /&gt;END DO&lt;/P&gt;&lt;P&gt;!.. Reordering and Symbolic Factorization, This step also allocates&lt;BR /&gt;! all memory that is necessary for the factorization&lt;/P&gt;&lt;P&gt;phase = 11 ! only reordering and symbolic factorization&lt;/P&gt;&lt;P&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, n, a, ia, ja, &amp;amp;&lt;BR /&gt;idum, nrhs, iparm, msglvl, ddum, ddum, error)&lt;BR /&gt;&lt;BR /&gt;WRITE(*,*) 'Reordering completed ... '&lt;BR /&gt;IF (error /= 0) THEN&lt;BR /&gt;WRITE(*,*) 'The following ERROR was detected: ', error&lt;BR /&gt;GOTO 1000&lt;BR /&gt;END IF&lt;BR /&gt;WRITE(*,*) 'Number of nonzeros in factors = ',iparm(18)&lt;BR /&gt;WRITE(*,*) 'Number of factorization MFLOPS = ',iparm(19)&lt;/P&gt;&lt;P&gt;!.. Factorization.&lt;BR /&gt;phase = 22 ! only factorization&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, n, a, ia, ja, &amp;amp;&lt;BR /&gt;idum, nrhs, iparm, msglvl, ddum, ddum, error)&lt;BR /&gt;WRITE(*,*) 'Factorization completed ... '&lt;BR /&gt;IF (error /= 0) THEN&lt;BR /&gt;WRITE(*,*) 'The following ERROR was detected: ', error&lt;BR /&gt;GOTO 1000&lt;BR /&gt;ENDIF&lt;/P&gt;&lt;P&gt;!.. Back substitution and iterative refinement&lt;BR /&gt;iparm(8) = 2 ! max numbers of iterative refinement steps&lt;BR /&gt;phase = 33 ! only solving&lt;BR /&gt;DO i = 1, n&lt;BR /&gt;b(i) = 1.d0&lt;BR /&gt;END DO&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, n, a, ia, ja, &amp;amp;&lt;BR /&gt;idum, nrhs, iparm, msglvl, b, x, error)&lt;BR /&gt;WRITE(*,*) 'Solve completed ... '&lt;BR /&gt;IF (error /= 0) THEN&lt;BR /&gt;WRITE(*,*) 'The following ERROR was detected: ', error&lt;BR /&gt;GOTO 1000&lt;BR /&gt;ENDIF&lt;BR /&gt;WRITE(*,*) 'The solution of the system is '&lt;BR /&gt;DO i = 1, n&lt;BR /&gt;WRITE(*,*) ' x(',i,') = ', x(i)&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;1000 CONTINUE&lt;BR /&gt;!.. Termination and release of memory&lt;BR /&gt;phase = -1 ! release internal memory&lt;BR /&gt;CALL pardiso (pt, maxfct, mnum, mtype, phase, n, ddum, idum, idum, &amp;amp;&lt;BR /&gt;idum, nrhs, iparm, msglvl, ddum, ddum, error1)&lt;/P&gt;&lt;P&gt;IF (ALLOCATED(ia)) DEALLOCATE(ia)&lt;BR /&gt;IF (ALLOCATED(ja)) DEALLOCATE(ja)&lt;BR /&gt;IF (ALLOCATED(a)) DEALLOCATE(a)&lt;BR /&gt;IF (ALLOCATED(b)) DEALLOCATE(b)&lt;BR /&gt;IF (ALLOCATED(x)) DEALLOCATE(x)&lt;BR /&gt;IF (ALLOCATED(iparm)) DEALLOCATE(iparm)&lt;/P&gt;&lt;P&gt;IF (error1 /= 0) THEN&lt;BR /&gt;WRITE(*,*) 'The following ERROR on release stage was detected: ', error1&lt;BR /&gt;STOP 1&lt;BR /&gt;ENDIF&lt;/P&gt;&lt;P&gt;IF (error /= 0) STOP 1&lt;BR /&gt;END PROGRAM pardiso_sym_f90&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 08:33:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632184#M36445</guid>
      <dc:creator>Vivid</dc:creator>
      <dc:date>2024-09-19T08:33:45Z</dc:date>
    </item>
    <item>
      <title>Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632342#M36449</link>
      <description>&lt;P&gt;Hi Vivid,&lt;/P&gt;&lt;P&gt;Thanks for sharing the sample program.&lt;/P&gt;&lt;P&gt;Are you using the latest oneAPI 2024.2?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Sep 2024 03:17:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632342#M36449</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-09-20T03:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632381#M36455</link>
      <description>&lt;P&gt;I am currently using Intel Fortran Compiler 2021. If upgrading can resolve memory leaks, I plan to request the purchase of a higher version from my institution. Please help me find solid justification for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 07:41:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632381#M36455</guid>
      <dc:creator>Vivid</dc:creator>
      <dc:date>2024-09-20T07:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632788#M36459</link>
      <description>&lt;P&gt;Vivid,&amp;nbsp; how did you find there is a memory leaking with this sample code?&amp;nbsp; &amp;nbsp;&amp;nbsp;oneMKL use some&lt;SPAN&gt;&amp;nbsp;internal buffers&amp;nbsp;for better performance.&amp;nbsp; Please check this article if you want to disable this:&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2024-0/avoiding-memory-leaks-in-onemkl.html" target="_blank"&gt;Avoiding Memory Leaks in oneMKL (intel.com)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 05:26:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1632788#M36459</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2024-09-23T05:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1633004#M36463</link>
      <description>&lt;P&gt;Hello Chao!&amp;nbsp;I found a memory leak using Intel Inspector. I will refer to the link you provided to resolve it. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 02:58:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1633004#M36463</guid>
      <dc:creator>Vivid</dc:creator>
      <dc:date>2024-09-24T02:58:16Z</dc:date>
    </item>
    <item>
      <title>Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1633524#M36474</link>
      <description>&lt;P&gt;Vivid,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please let me know if the solution provided by Chao worked for you.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Sep 2024 03:22:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1633524#M36474</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-09-26T03:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1633537#M36477</link>
      <description>&lt;P&gt;Hi Mahan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I tried applying the advice, but it did not help solve the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 04:36:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1633537#M36477</guid>
      <dc:creator>Vivid</dc:creator>
      <dc:date>2024-09-26T04:36:23Z</dc:date>
    </item>
    <item>
      <title>Re:Memory Leak Issue with Intel MKL in Intel Fortran Compiler 2021</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1635077#M36504</link>
      <description>&lt;P&gt;Hi Vivid,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please use "-fsanitize=address" to check for memory leaks instead of Inspector. Intel Inspector will be deprecated in 2025 and will not be supported thereafter.&lt;/P&gt;&lt;P&gt;I have checked the reproducer for memory leak and there is none. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please use the following to check for memory leak &lt;/P&gt;&lt;P&gt;ifx -O0 -g -traceback -fsanitize=address&amp;nbsp;-qmkl &amp;lt;name of your file&amp;gt;.f90&lt;/P&gt;&lt;P&gt;./a.out &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;F.Y.I &lt;/P&gt;&lt;P&gt;I am also attaching a test program (ifx_memory_leak.f90) that contains memory leaks and can be identified with -fsanitize=address&lt;/P&gt;&lt;P&gt;program my_program&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;implicit none&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;integer, pointer :: x(:) =&amp;gt; NULL()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;allocate(x(24))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;allocate(x(42))&lt;/P&gt;&lt;P&gt; end program my_program&lt;/P&gt;&lt;P&gt;Once you compile and run this as&lt;/P&gt;&lt;P&gt;$ ifx -O0 -g -traceback -fsanitize=address&amp;nbsp;ifx_memory_leak.f90&lt;/P&gt;&lt;P&gt;$ ./a.out&amp;nbsp;&lt;/P&gt;&lt;P&gt;shows the following outputs:&lt;/P&gt;&lt;P&gt;=================================================================&lt;/P&gt;&lt;P&gt;==20275==ERROR: LeakSanitizer: detected memory leaks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Direct leak of 136 byte(s) in 1 object(s) allocated from:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;#0 0x4d7ce3 in malloc (/global/panfs05/users/mahanraj/isvc-jira/a.out+0x4d7ce3) (BuildId: 0a1442026e2fdf6b9dfea9fbd635d46235b65c3a)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;#1 0x56b344 in _mm_malloc (/global/panfs05/users/mahanraj/isvc-jira/a.out+0x56b344) (BuildId: 0a1442026e2fdf6b9dfea9fbd635d46235b65c3a)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;#2 0x517877 in MAIN__ /panfs/users/mahanraj/isvc-jira/ifx_memory_leak.f90:4:5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;#3 0x430a7c in main (/global/panfs05/users/mahanraj/isvc-jira/a.out+0x430a7c) (BuildId: 0a1442026e2fdf6b9dfea9fbd635d46235b65c3a)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;#4 0x149e01fbb24c in __libc_start_main (/lib64/libc.so.6+0x3524c) (BuildId: cfb059a57e69ac95d5dadab831626b3bd48a4309)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Oct 2024 04:50:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-Leak-Issue-with-Intel-MKL-in-Intel-Fortran-Compiler-2021/m-p/1635077#M36504</guid>
      <dc:creator>Mahan</dc:creator>
      <dc:date>2024-10-04T04:50:55Z</dc:date>
    </item>
  </channel>
</rss>

