Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28367 Discussions

Test_GUI builds and runs using IFORT but gets build errors using IFX

rivkin__steve
New Contributor II
736 Views
Test_GUI builds and runs using IFORT but gets build errors using IFX. 
A test driver, subroutine, and project files are attached.
First build it using IFORT and run it. Then try to build it using IFX. 
Labels (1)
1 Solution
rivkin__steve
New Contributor II
236 Views

The Test_GUI program compiles, links, and runs using IFX and oneAPI 2024.0.2. 

View solution in original post

5 Replies
Barbara_P_Intel
Moderator
682 Views

This reproducer also uses QuickWin. Does the workaround from Steve in this thread work for this issue?

I don't see a zip file with the VS solution/project. Please upload that. The developers can use that for regression testing.

 

0 Kudos
rivkin__steve
New Contributor II
677 Views

I created and attached 3 zip files.

1. Test_GUI_IFORT_works.zip works using the IFORT compiler as it has for 20+ years.

2. Test_GUI_IFX_switched_from_IFORT_Linker_Errors.zip is #1 with the compiler switched to IFX and no other changes. Linker errors are thrown.

3. Test_GUI_IFX_workaround_fails_at_runtime.zip is #2 with the workaround suggested by Steve Lionel. This solves the linker error problem but then throws runtime errors.

 

Please unzip and test in the above sequence.

0 Kudos
Devorah_H_Intel
Moderator
573 Views

@rivkin__steve  Quickwin issue with IFX will be fixed in the next oneAPI release.

rivkin__steve
New Contributor II
449 Views

The recent update using BaseKit v2023.2.0.49396 resolved the issue with GUI.

0 Kudos
rivkin__steve
New Contributor II
237 Views

The Test_GUI program compiles, links, and runs using IFX and oneAPI 2024.0.2. 

Reply