- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
But now when I compile my app, it uses the intrinsic compiler_version() internally to report:
So I am getting what I need!
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for any confusion: I need to update my reporting code. The Visual Studio version is not 14.0, but 17.11.5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Devorah explained above, you have the correct compiler, it's just the VS integration giving you the wrong information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page