- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying latest version of IFX Fortran on a large project that compiles, links and runs successfully when compiled using x64 IFORT. The debug version compiles and links. This is the first time I've managed to get this far with IFX, after trying unsuccessfully with several earlier versions. However when I try to run from within VS the executable displays an empty minimised error message box and program stops (or never starts) until you terminate the debug session.
When trying to compile a release version of the same I get ICE errors that prevent many files from being compiled as the errors are flagged in some module sources.
PC Details:
Microsoft Visual Studio Community 2022
Version 17.6.5
VisualStudio.17.Release/17.7.0+34003.232
Microsoft .NET Framework
Version 4.8.09032
Installed Version: Community
Visual C++ 2022 00482-90000-00000-AA524
Microsoft Visual C++ 2022
ASP.NET and Web Tools 17.6.326.62524
ASP.NET and Web Tools
Azure App Service Tools v3.0.0 17.6.326.62524
Azure App Service Tools v3.0.0
C# Tools 4.6.0-3.23259.8+c3cc1d0ceeab1a65da0217e403851a1e8a30086a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Intel® C++ Compiler 2024.0
Intel® C++ Compiler 2024.0, Copyright © 2002-2023 Intel Corporation. All rights reserved.
Intel® C++ Compiler Classic 2021.10
Intel® C++ Compiler Classic 2021.10, Copyright © 2002-2023 Intel Corporation. All rights reserved.
Intel® DPC++ Compatibility Tool 2024.0
Intel® DPC++ Compatibility Tool 2024.0, Copyright © 2019-2023 Intel Corporation. All rights reserved.
Intel® Fortran Compiler 2024.0
Intel® Fortran Compiler 2024.0, Copyright © 2002-2023 Intel Corporation. All rights reserved.
Intel® Inspector 2024 1.3.21
Intel® Inspector 2024, (Plugin Version 1.3.21), Copyright © 2009-2023 Intel Corporation. All rights reserved.
Intel® Libraries for oneAPI 2024.0
Intel® Libraries for oneAPI 2024.0, Copyright © 2019-2023 Intel Corporation. All rights reserved.
Intel® oneAPI DPC++ Compiler 2024.0
Intel® oneAPI DPC++ Compiler 2024.0, Copyright © 2019-2023 Intel Corporation. All rights reserved.
Intel® oneAPI Menu & Samples 10.10.392.9731
Intel® oneAPI Visual Studio Menu & Samples Extension
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
NuGet Package Manager 6.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 17.0.20329.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.6.0-3.23259.8+c3cc1d0ceeab1a65da0217e403851a1e8a30086a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
Example of the BuildLog is attached:
I guess there probably isn't enough information to properly diagnose the problem in this forum text so please let me know if I can help sort this out.
The source relating to the Buildlog is attached but will require several other files to enable compiling. I can't put these on a public forum so I've set up a ticket with Premier Support so could provide more files via that route if required.
In the meantime I'm continuing with tried and trusted but soon to be decrecated IFORT.
Steve
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see you reported this issue using Online Service Center. I'll let that team address this failure.
What compiler options are you using? I've seen -O0 compile ok when -O2, the default, fails. You might try that as a workaround for now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Barbara,
The file mentioned previously compiles with Optimisations turned off Od. I don't see -O0 in list of options. I've attached a 7z reproducer solution and source with required mod files (compiled in IFORT) to reproduce the ICE
The file string_util.f90 (included in tthe same solution won't compile with any of the optimisation settings.
xfortcom: Fatal: There has been an internal compiler error (C0000005).
ifx: error #10298: problem during post processing of parallel object compilation
compilation aborted for C:\Win\FEM2000_v25\Modules\string_utils.f90 (code 1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My bad on the compiler options. I think in Linux terms first. Yes, on Windows it's /Od.
I pointed Shiquan to your post so he can get your zip file. He'll take over from here.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page