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

Addition of QuickWin library to ifx

Anders_S_1
New Contributor III
1,152 Views

Hi,

I use ifort with QuickWin as an invaluable tool to display the computational flow. Is there a time schedule for addition of the Quickwin library to ifx?

Best regards

Anders S

0 Kudos
1 Solution
Devorah_H_Intel
Moderator
724 Views

Quickwin is supported by ifx in the new 2023.2.0 release

View solution in original post

8 Replies
Steve_Lionel
Honored Contributor III
1,128 Views

How very interesting. I was unaware that this was an issue. As best as I can tell, it's just that the ifx command driver isn't adjusting the set of libraries and linker options for QuickWin. This works:

 

ifx /libs:qwin t.f90 /link /subsystem:windows ifqw_mdi.lib ifqwin.lib user32.lib comctl32.lib gdi32.lib comdlg32.lib

 

Sounds like a bug to me, but I also see that if you create a QuickWin project you can't set the compiler type to IFX. I wonder why.

Steve_Lionel
Honored Contributor III
1,125 Views

If you want to do this in Visual Studio, you'll have to create a Console application project. Set the compiler type to IFX. Then make the following project property changes:

Fortran > Libraries > Runtime Library > QuickWin 
Linker > Input > Additional dependencies > ifqwin.lib ifqw_mdi.lib user32.lib comctl32.lib gdi32.lib comdlg32.lib
Linker > System > SubSystem > Windows

Barbara_P_Intel
Moderator
1,119 Views

Thanks, @Steve_Lionel, for the workarounds!

I'm escalating this link issue and the inability to select ifx to engineering. 

I realize that the Fortran Developer Guide states that QuickWin is only supported with ifort. If you are looking for QuickWin and ifx to work together, please add a comment. Thanks!

 

 

0 Kudos
Steve_Lionel
Honored Contributor III
1,105 Views

Hi @Barbara_P_Intel ,

Clearly, someone made a conscious decision to exclude QuickWin from IFX, though I can find no mention of it in the release notes. I see no technical reason for this, especially if IFX is to replace IFORT (at least on x64.) My guess is that whoever thought this was necessary misunderstood the situation.

It's even weirder in Visual Studio in that the "Intel Compiler" properties submenu is entirely different between a QuickWin project and Console project, ignoring the IFX difference.

I have built several of the QuickWin sample programs with IFX, and they all run fine. I'd really like to know what the thought process was here.

0 Kudos
Devorah_H_Intel
Moderator
968 Views

The issue of missing IFX in QuickWin projects will be fixed in future releases. There was no decision to exclude QuickWin from IFX. 

Anders_S_1
New Contributor III
1,092 Views

Hi,

Thanks Steve and Barbara for your rapid replies!

I asked the question because Ron Green wrote that now ifx is on par with ifort except a few things including the

QuickWin library.

QuickWin graphics has been instrumental to understand and monitor my simulations!

I am presently running ifort, QuickWin and Intel MPI under Windows. I also use Developer Studio for code development.

I think the new ifx compiler sounds very interesting and I want to investigate if a GPU could be used to accelerate my

computations.

As I am more of a physicien/mathematicien than a computer specialist, I would be most grateful to obtain support how to

migrate the code to the new compiler (including MPI and QuickWin). First I want my present code to work with ifx, the I will start to consider all new possibilies with OneAPI.

Which version of Visual Studio is required?

Best regards

Anders S

0 Kudos
Steve_Lionel
Honored Contributor III
1,074 Views

VS2019 or VS2022 will do. Please be sure to read Installing Microsoft Visual Studio* for Use with Intel® Compilers .

0 Kudos
Devorah_H_Intel
Moderator
725 Views

Quickwin is supported by ifx in the new 2023.2.0 release

Reply