<?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: ifx linking memory issue in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1677618#M175318</link>
    <description>&lt;P&gt;same here:&lt;/P&gt;&lt;P&gt;GNU ld (GNU Binutils for Ubuntu) 2.34&lt;/P&gt;&lt;P&gt;Operating System: Ubuntu 20.04.6 LTS&lt;BR /&gt;Kernel: Linux 5.4.0-208-generic&lt;BR /&gt;Architecture: x86-64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intel oneAPI 2025.0. Linker fails (reproducibly)&amp;nbsp; if &lt;EM&gt;-ipo&lt;/EM&gt; and/or &lt;EM&gt;-flto&lt;/EM&gt; are set. Other options are &lt;EM&gt;-O3 -fp-model strict -xHost -align array64byte&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2025 09:26:07 GMT</pubDate>
    <dc:creator>Diehl__Martin</dc:creator>
    <dc:date>2025-03-25T09:26:07Z</dc:date>
    <item>
      <title>ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654163#M174762</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using the latest IFX compiler to compile the Fire Dynamics Simulator (FDS) codebase (&lt;A href="https://github.com/firemodels/fds" target="_blank"&gt;https://github.com/firemodels/fds&lt;/A&gt;). Occasionally, we encounter the following errors during the linking stage:&lt;/P&gt;&lt;P&gt;-------Error#1--------------------------&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;free(): corrupted unsorted chunks &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://github.com/firemodels/fds/actions/runs/12362511323/job/34501971710#step:5:74" target="_blank" rel="noopener"&gt;73&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ifx: error #10105: ld: core dumped &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://github.com/firemodels/fds/actions/runs/12362511323/job/34501971710#step:5:75" target="_blank" rel="noopener"&gt;74&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ifx: warning #10102: unknown signal(867702016) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://github.com/firemodels/fds/actions/runs/12362511323/job/34501971710#step:5:76" target="_blank" rel="noopener"&gt;75&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ifx: error #10106: Fatal error in ld, terminated by unknown &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://github.com/firemodels/fds/actions/runs/12362511323/job/34501971710#step:5:77" target="_blank" rel="noopener"&gt;76&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;make: *** [../makefile:242: impi_intel_linux] Error 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;-------Error#2--------------------------&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;ifx: error #10105: ld: core dumped&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://github.com/firemodels/fds/actions/runs/12055009158/job/33614381668#step:5:75" target="_blank" rel="noopener"&gt;74&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ifx: warning #10102: unknown signal(682815504) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://github.com/firemodels/fds/actions/runs/12055009158/job/33614381668#step:5:76" target="_blank" rel="noopener"&gt;75&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ifx: error #10106: Fatal error in ld, terminated by unknown &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://github.com/firemodels/fds/actions/runs/12055009158/job/33614381668#step:5:77" target="_blank" rel="noopener"&gt;76&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;make: *** [../makefile:242: impi_intel_linux] Error 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;The issue is sporadic and difficult to reproduce. If we rebuild after encountering the error, the build completes successfully without any modifications. This happens both in our local cluster (RedHat Linux) and GitHub actions (Ubuntu)&lt;/P&gt;&lt;P&gt;We are using a local Linux system with 500 GB of RAM, so it’s unlikely that memory limitations are causing the problem. You can find our build and compilation commands at the following links:&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/firemodels/fds/actions/runs/12362511323/job/34501971710" target="_blank" rel="noopener"&gt;https://github.com/firemodels/fds/actions/runs/12362511323/job/34501971710&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/firemodels/fds/actions/runs/12055009158/job/33614381668" target="_blank" rel="noopener"&gt;https://github.com/firemodels/fds/actions/runs/12055009158/job/33614381668&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Has anyone encountered similar errors? Could this be a potential bug in the LTO (Link-Time Optimization) stage of the compiler?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;CP&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 21:33:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654163#M174762</guid>
      <dc:creator>cxp484</dc:creator>
      <dc:date>2025-01-03T21:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654767#M174790</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Additional information:&lt;/STRONG&gt; We ran a script which build fds repository (&lt;A href="https://github.com/firemodels/fds" target="_blank"&gt;https://github.com/firemodels/fds&lt;/A&gt;) 100 times and the failure message comes 11 times with&amp;nbsp; -ipo -O2 compiling (and linking) option. If we remove -ipo, the build passes 100 times without any error message. So, it probably indicate that the error in my earlier post is related to ipo (-flto) implementation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 17:42:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654767#M174790</guid>
      <dc:creator>cxp484</dc:creator>
      <dc:date>2025-01-06T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654770#M174791</link>
      <description>&lt;P&gt;This one is an unusual error.&amp;nbsp; I see some hits with web searches for this error going back over 10 years for many languages, not just Fortran.&amp;nbsp; Are you using a VM?&amp;nbsp; Or what OS distro and version are you using?&amp;nbsp; and ld version?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll ask our compiler driver team if anyone else has reported this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One other question - does the script run the 100 builds serially or in parallel ( how many builds at once ?)&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 18:01:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654770#M174791</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2025-01-06T18:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654773#M174792</link>
      <description>&lt;P&gt;I work with cxp484. I have submitted this issue to priority support but have had no response. We use RedHat 9.3 on a linux server. The compilation failure occurs both on our server and on GitHub Actions. We are using ifx&amp;nbsp; 2025.0.4 20241205, but there error occurred with earlier versions of ifx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ hostnamectl&lt;BR /&gt;Static hostname: spark-login&lt;BR /&gt;Icon name: computer-server&lt;BR /&gt;Chassis: server 🖳&lt;BR /&gt;Machine ID: 88943d6e51ae4d928bbbbfec99611388&lt;BR /&gt;Boot ID: fd256dfeb68847448807fe1b4263b192&lt;BR /&gt;Operating System: Red Hat Enterprise Linux 9.3 (Plow)&lt;BR /&gt;CPE OS Name: cpe:/o:redhat:enterprise_linux:9::baseos&lt;BR /&gt;Kernel: Linux 5.14.0-503.15.1.el9_5.x86_64&lt;BR /&gt;Architecture: x86-64&lt;BR /&gt;Hardware Vendor: GIGABYTE&lt;BR /&gt;Hardware Model: R182-M80-00&lt;BR /&gt;Firmware Version: F25&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 18:33:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654773#M174792</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2025-01-06T18:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654776#M174793</link>
      <description>&lt;P&gt;In addition to Reply from Kevin: On our Linux server the 'ld -v' command output is '&lt;SPAN class=""&gt;GNU ld version 2.35.2-42.el9_3.1'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The 100 build script I mentioned before run one build after another, so sequentially. After each build we clean the obj and mod files and start afresh.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 18:42:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1654776#M174793</guid>
      <dc:creator>cxp484</dc:creator>
      <dc:date>2025-01-06T18:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1672099#M175164</link>
      <description>&lt;P&gt;We are also having similar issues with ld sometimes failing with "&lt;SPAN&gt;free(): corrupted unsorted chunks".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This started when we deployed a new build agent with Ubuntu 22.04 and OneAPI 2024.2.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The older agent with&amp;nbsp;Ubuntu 22.04 and OneAPI 2024.0.2 is fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also get intermittent build failures doing local builds on my Ubuntu 22.04 WSL instances, again with ifx&amp;nbsp;2024.2.1 20240711&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In both cases, a rebuild usually succeeds; the project is using ifx and LTO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 10:20:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1672099#M175164</guid>
      <dc:creator>Mark_Lewy</dc:creator>
      <dc:date>2025-03-04T10:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1677618#M175318</link>
      <description>&lt;P&gt;same here:&lt;/P&gt;&lt;P&gt;GNU ld (GNU Binutils for Ubuntu) 2.34&lt;/P&gt;&lt;P&gt;Operating System: Ubuntu 20.04.6 LTS&lt;BR /&gt;Kernel: Linux 5.4.0-208-generic&lt;BR /&gt;Architecture: x86-64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intel oneAPI 2025.0. Linker fails (reproducibly)&amp;nbsp; if &lt;EM&gt;-ipo&lt;/EM&gt; and/or &lt;EM&gt;-flto&lt;/EM&gt; are set. Other options are &lt;EM&gt;-O3 -fp-model strict -xHost -align array64byte&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 09:26:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1677618#M175318</guid>
      <dc:creator>Diehl__Martin</dc:creator>
      <dc:date>2025-03-25T09:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1689256#M175796</link>
      <description>&lt;P&gt;I don't know if this helps&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/52256"&gt;@Ron_Green&lt;/a&gt;&amp;nbsp;, but here is a backtrace from one of my recent link fails with ifx 2024.2:&lt;/P&gt;&lt;LI-CODE lang="none"&gt;#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140574586906432) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140574586906432) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140574586906432, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007fda12573476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007fda125597f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007fda125ba677 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fda1270cb77 "%s\n")
    at ../sysdeps/posix/libc_fatal.c:156
#6  0x00007fda125d1cfc in malloc_printerr (str=str@entry=0x7fda1270f838 "free(): corrupted unsorted chunks")
    at ./malloc/malloc.c:5664
#7  0x00007fda125d3f16 in _int_free (av=0x7fda1274bc80 &amp;lt;main_arena&amp;gt;, p=0x5569d5a086e0, have_lock=&amp;lt;optimized out&amp;gt;)
    at ./malloc/malloc.c:4630
#8  0x00007fda125d6453 in __GI___libc_free (mem=&amp;lt;optimized out&amp;gt;) at ./malloc/malloc.c:3391
#9  0x00007fda10b1e461 in (anonymous namespace)::IRLinker::computeTypeMapping() ()
   from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
#10 0x00007fda10b1ad14 in (anonymous namespace)::IRLinker::run() ()
   from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
#11 0x00007fda10b1a607 in llvm::IRMover::move(std::__1::unique_ptr&amp;lt;llvm::Module, std::__1::default_delete&amp;lt;llvm::Module&amp;gt; &amp;gt;, llvm::ArrayRef&amp;lt;llvm::GlobalValue*&amp;gt;, llvm::unique_function&amp;lt;void (llvm::GlobalValue&amp;amp;, std::__1::function&amp;lt;void (llvm::GlobalValue&amp;amp;)&amp;gt;)&amp;gt;, bool) () from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
#12 0x00007fda10b0bf5c in llvm::lto::LTO::linkRegularLTO(llvm::lto::LTO::RegularLTOState::AddedModule, bool) ()
   from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
#13 0x00007fda10b0d069 in llvm::lto::LTO::runRegularLTO(std::__1::function&amp;lt;llvm::Expected&amp;lt;std::__1::unique_ptr&amp;lt;llvm::CachedFileStream, std::__1::default_delete&amp;lt;llvm::CachedFileStream&amp;gt; &amp;gt; &amp;gt; (unsigned int, llvm::Twine const&amp;amp;)&amp;gt;) ()
   from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
#14 0x00007fda10b0cc59 in llvm::lto::LTO::run(std::__1::function&amp;lt;llvm::Expected&amp;lt;std::__1::unique_ptr&amp;lt;llvm::CachedFileStream, std::__1::default_delete&amp;lt;llvm::CachedFileStream&amp;gt; &amp;gt; &amp;gt; (unsigned int, llvm::Twine const&amp;amp;)&amp;gt;, std::__1::function&amp;lt;llvm::Expected&amp;lt;std::__1::function&amp;lt;llvm::Expected&amp;lt;std::__1::unique_ptr&amp;lt;llvm::CachedFileStream, std::__1::default_delete&amp;lt;llvm::CachedFileStream&amp;gt; &amp;gt; &amp;gt; (unsigned int, llvm::Twine const&amp;amp;)&amp;gt; &amp;gt; (unsigned int, llvm::StringRef, llvm::Twine const&amp;amp;)&amp;gt;) ()
   from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
--Type &amp;lt;RET&amp;gt; for more, q to quit, c to continue without paging--
#15 0x00007fda10646644 in allSymbolsReadHook() () from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
#16 0x00007fda10642f8c in all_symbols_read_hook() () from /opt/intel/oneapi/compiler/2024.2/lib/icx-lto.so
#17 0x00005569c9e0c05d in ?? ()
#18 0x00005569c9e14437 in ?? ()
#19 0x00007fda1255ad90 in __libc_start_call_main (main=main@entry=0x5569c9e13730, argc=argc@entry=155,
    argv=argv@entry=0x7ffdf5453f98) at ../sysdeps/nptl/libc_start_call_main.h:58
#20 0x00007fda1255ae40 in __libc_start_main_impl (main=0x5569c9e13730, argc=155, argv=0x7ffdf5453f98,
    init=&amp;lt;optimized out&amp;gt;, fini=&amp;lt;optimized out&amp;gt;, rtld_fini=&amp;lt;optimized out&amp;gt;, stack_end=0x7ffdf5453f88)
    at ../csu/libc-start.c:392
#21 0x00005569c9e13665 in ?? ()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I can attach the core dump file, if needed.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 13:28:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1689256#M175796</guid>
      <dc:creator>Mark_Lewy</dc:creator>
      <dc:date>2025-05-12T13:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: ifx linking memory issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1690144#M175825</link>
      <description>&lt;P class="sub_section_element_selectors"&gt;I apologize for not getting back to this issue in a long time.&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;I downloaded the most recent FDS sources for Linux.&amp;nbsp; I used&amp;nbsp;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;Build/impi_intel_linux/make_fds.sh&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;I started with the 2024.2 compiler.&amp;nbsp; Since this is intermittent, I devised a test.&amp;nbsp; I built the code to create the .o and .mod files with this compiler.&amp;nbsp; Then ran just the link step in a loop 20 times, figuring if the failure rate was 1 in 10, this 20 interations should give a good statistical sample.&amp;nbsp; Server was Ubuntu 22.04:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;DISTRIB_CODENAME=jammy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;It didn't take long, iteration 2 aborted with the above mentioned error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;Next test, removes all .o and .mod files.&amp;nbsp; Using 2025.1.1 redo the test.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;20 iterations, no link errors.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;To be forward thinking, removed all .o and .mod files.&amp;nbsp; Used a prerelease build of 2025.2.0 which is due to release sometime late june to mid july.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;20 iterations, no link errors.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1 sub_section_element_selectors"&gt;&lt;SPAN class="s1 sub_section_element_selectors"&gt;A little about LTO/IPO - this is a function of LLVM.&amp;nbsp; Our Fortran compiler has nothing to do with this, other than to create the binaries with IPO information and that is done by another team in code generation, not the Fortran team.&amp;nbsp; Intel pulls LLVM from upstream frequently, about once a month or more.&amp;nbsp; That would include the IPO passes logic.&amp;nbsp; So since 2024.2 build date there has been roughly 12-20 pull downs.&amp;nbsp; Something in these obviously fixed the issue.&amp;nbsp; At least statistically from my study I can conclude this with reasonable sense of certainty.&amp;nbsp; One other note - this code takes FOREVER to link with IPO!&amp;nbsp; I watch it chewing up 100% of a 1 core for a very long time.&amp;nbsp; I am sure you see the same.&amp;nbsp; Again, that is outside my our (fortran/Intel) control.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2025.1.1 would be a good compiler to recommend for FDS.&amp;nbsp; Or if people can wait until late June or early July, 2025.2.0.&amp;nbsp; If you can switch compilers easily, use 2025.1.1 today and upgrade to 2025.2.0 when it releases.&amp;nbsp; 2025.2.0 is looking to be a very good build with a number of performance enhancements and a lot bug fixes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sorry for the delay in this report.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 14:39:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-linking-memory-issue/m-p/1690144#M175825</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2025-05-15T14:39:31Z</dc:date>
    </item>
  </channel>
</rss>

