- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to convert a program from ifort to ifx. The program compiles fine under ifort. I am using ifx Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2025.1.1 Build 20250418 on Windows. I have attached the offending f90 file.
The output of the compile step is:
ifx shellGlobals.f90 mods.f90 shell.f90 stopwatch.f railmarket.f90 davesubs.f90 derr.f90 getclip.f90 getfips.f90 output.f90 stationzone.f90 ctpp1.f90 ctpp2.f90 ctpp3.f90 empdensity.f90 workersautos.f90 latlon2dist.f90 shelldialog.res /winapp /list /traceback /check:bounds /dbglibs /debug:full /nologo /warn:nofileopt /exe:CTPPExtract.exe
ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff most compiler optimizations similar to use of '/Od'
#0 0x00007ff6aa984d7a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x1974d7a)
#1 0x00007ff6aa667e9a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x1657e9a)
#2 0x00007ff6aa8c7039 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18b7039)
#3 0x00007ff6aa8ca9df (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18ba9df)
#4 0x00007ff6aa9b0def (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19a0def)
#5 0x00007ff6aa9b1740 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19a1740)
#6 0x00007ff6aa9aef2c (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x199ef2c)
#7 0x00007ff6aa9cf82e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bf82e)
#8 0x00007ff6aa9cfc86 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bfc86)
#9 0x00007ff6aa9cd294 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bd294)
#10 0x00007ff6aa9cf82e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bf82e)
#11 0x00007ff6aa9cfc86 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bfc86)
#12 0x00007ff6aa96131a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x195131a)
#13 0x00007ff6aa96116f (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x195116f)
#14 0x00007ff6aa962f47 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x1952f47)
#15 0x00007ff6aa9cf82e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bf82e)
#16 0x00007ff6aa9cfc86 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bfc86)
#17 0x00007ff6aa9cd2d2 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bd2d2)
#18 0x00007ff6aa9cf82e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bf82e)
#19 0x00007ff6aa9cfc86 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bfc86)
#20 0x00007ff6aa9d4dd3 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19c4dd3)
#21 0x00007ff6aa9cf82e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bf82e)
#22 0x00007ff6aa9ccfad (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bcfad)
#23 0x00007ff6aa9cf82e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19bf82e)
#24 0x00007ff6aa8a46a4 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18946a4)
#25 0x00007ff6aa6601f9 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x16501f9)
#26 0x00007ff6a974c833 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x73c833)
#27 0x00007ff6aa37c9f0 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x136c9f0)
#28 0x00007fff0016e8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
#29 0x00007fff011bbf6c (C:\WINDOWS\SYSTEM32\ntdll.dll+0xbbf6c)
railmarket.f90(322): error #5623: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
open (iunit,file=c1000,form='binary',recl=1776,buffered='yes',blocksize='17760',status='unknown',err=107)
------------^
compilation aborted for railmarket.f90 (code 3)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind - I found the problem. Apparently, ifort accepted blocksize='17760', while ifx does not like the quotes.
-Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The OPEN statement has no blocksize specifier in Fortran 2023. Is it differently defined by ifx and ifort? Of course compilers should either compile one's program or give useful error messages if they can't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Internal Compiler Error is ALWAYS a compiler bug, even if your code is erroneous. The quotes are indeed wrong here, but ifx should have complained about this specifically.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page