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

oneAPI 2024.2: IFORT 2021.13.0 update missing in Visual Studio 2022 whereas IFX 2024.2 is present

FortranFan
Honored Contributor III
1,216 Views

Intel Software Team:

A team I work with has upgraded their workstations to Intel oneAPI 2024.2 and they find the IFORT 2021.13.0 update missing in Visual Studio 2022.  They do find IFORT 2021.12.0 separately and also as the latest in VS 2022.

But now, they do find IFX 2024.2 in Visual Studio 2022 and are able to use it.  This is consistent behavior they notice across several workstations that were upgraded.  For whatever it's worth, they attest no errors were encountered during the installation.

This team also finds the oneAPI 2024.2 shortcut for Windows console access to show IFORT 2021.13.0 as the version from the command line.  This is in addition to IFX 2024.2.

So, is it by design the integration of Intel Fortran with Visual Studio has stopped at IFORT 2021.12.0 that was release with 2024.1 update.  And that starting with IFORT 2021.13.0 until the IFORT support ends this year, there will be no further update to the IFORT integration in VS?

Thank you for any details you can provide re: IFORT plans starting with this 2024.2 update.

 

0 Kudos
1 Solution
Devorah_H_Intel
Moderator
1,074 Views

Yes, we are aware. I have escalated this report to the IDE team—no details are available yet. The ifort is the 2021.13 version in the 2024.2 package. The issue is with VS IDE not displaying the correct version for the compilers. We apologize for the inconvenience. 

View solution in original post

0 Kudos
7 Replies
Devorah_H_Intel
Moderator
1,075 Views

Yes, we are aware. I have escalated this report to the IDE team—no details are available yet. The ifort is the 2021.13 version in the 2024.2 package. The issue is with VS IDE not displaying the correct version for the compilers. We apologize for the inconvenience. 

0 Kudos
chuckwh
Beginner
711 Views

It's great that this has been reported to the team, but it doesn't seem like a solution.

There are two parts to the problem.  1) It does not display the latest compiler.  And  2) It does not compile with the latest compiler.

I have added a pre-build event to my project to run 'ifort /QV' before compiling a file.

chuckwh_0-1728681601607.png

You can see that fortran version 2021.13.1 is executed in the pre-build event, but version 2021.12.0 is used to compile the code.

It would be nice if someone could suggest a way to get it to compile with 2021.13.1.

Thanks.

0 Kudos
Devorah_H_Intel
Moderator
687 Views

Do you have 2021.13.1 and 2021.12.0 integrated with VS? What happens if you uninstall ifort 2021.12 and build with 2021.13?

0 Kudos
chuckwh
Beginner
420 Views

Sorry it took a while to get back.

I uninstalled oneAPI BaseKit and HpcKit 2024.2, and then also oneAPI BaseKit and HpcKit 2022.1.

After that, I did a "repair" on VS 2022.

And then reinstalled only oneAPI BaseKit and HpcKit 2024.2.

I am now in the place that you describe.  Tools/Options/Intel Compilers and Libraries tells me:

chuckwh_0-1731352491384.png

But now when I compile my app, it uses the intrinsic compiler_version() internally to report:

chuckwh_1-1731352570942.png

So I am getting what I need!

Many thanks.

0 Kudos
chuckwh
Beginner
418 Views

Sorry for any confusion: I need to update my reporting code. The Visual Studio version is not 14.0, but 17.11.5.

0 Kudos
Steve_Lionel
Honored Contributor III
411 Views

As Devorah explained above, you have the correct compiler, it's just the VS integration giving you the wrong information.

0 Kudos
chuckwh
Beginner
407 Views

My problem was that the wrong version was reported and the wrong version was used to compile.
After following Devorah's suggestion, the wrong version is still reported, but the correct version is used to compile.

So my life is better now.

0 Kudos
Reply