<?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: memory leakage in ifx with openmp in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/memory-leakage-in-ifx-with-openmp/m-p/1743819#M178656</link>
    <description>&lt;P&gt;I forgot to say that this was run in 32 CPUs with 256 GB.&lt;/P&gt;&lt;P&gt;Sorry!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2026 17:50:13 GMT</pubDate>
    <dc:creator>Adelson_BR1</dc:creator>
    <dc:date>2026-04-09T17:50:13Z</dc:date>
    <item>
      <title>memory leakage in ifx with openmp</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/memory-leakage-in-ifx-with-openmp/m-p/1743818#M178655</link>
      <description>&lt;P&gt;The following fortran code,&lt;/P&gt;&lt;P&gt;PROGRAM Test_leakage&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;REAL(KIND=8), ALLOCATABLE :: A(:,:)&lt;BR /&gt;INTEGER, ALLOCATABLE :: B(:)&lt;BR /&gt;INTEGER :: i, j, k, n&lt;BR /&gt;i=3000; j=100&lt;BR /&gt;ALLOCATE(A(i,j))&lt;BR /&gt;CALL RANDOM_NUMBER(A)&lt;BR /&gt;DO n=1,1000000&lt;BR /&gt;! !$OMP PARALLEL DO SCHEDULE(DYNAMIC) PRIVATE(B)&lt;BR /&gt;DO k=1,i&lt;BR /&gt;B=PACK([(j,j=1,100)],A(k,:) &amp;lt; 0.5)&lt;BR /&gt;ENDDO&lt;BR /&gt;! !$OMP END PARALLEL DO&lt;BR /&gt;IF(MOD(n,100) == 0) WRITE(*,*) n&lt;BR /&gt;ENDDO&lt;BR /&gt;END PROGRAM Test_leakage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;triggers a memory leakage when one uncomment the OpenMP lines. To see this just observe the %MEM of top command.&lt;/P&gt;&lt;P&gt;Here ifx 2025.3.2, RHEL 8.10, glibc 2.28.&lt;/P&gt;&lt;P&gt;This is possibly related to temporary arrays generated in the PACK function.&lt;/P&gt;&lt;P&gt;Thanks for any help, suggestions.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 17:48:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/memory-leakage-in-ifx-with-openmp/m-p/1743818#M178655</guid>
      <dc:creator>Adelson_BR1</dc:creator>
      <dc:date>2026-04-09T17:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: memory leakage in ifx with openmp</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/memory-leakage-in-ifx-with-openmp/m-p/1743819#M178656</link>
      <description>&lt;P&gt;I forgot to say that this was run in 32 CPUs with 256 GB.&lt;/P&gt;&lt;P&gt;Sorry!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 17:50:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/memory-leakage-in-ifx-with-openmp/m-p/1743819#M178656</guid>
      <dc:creator>Adelson_BR1</dc:creator>
      <dc:date>2026-04-09T17:50:13Z</dc:date>
    </item>
  </channel>
</rss>

