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

Upgrading Visual Studio is near impossible

Andrew_Smith
Valued Contributor I
1,447 Views

I am using latest oneAPI Fortran which the release notes say supports integration with VS 2022 versions up to 17.9.2.

I have version 17.8.2, but MS does not allow download of specific versions, only the latest 17.11.3 is available. So I am stuck with my old version of VS 2022 until one day perhaps, a new Fortran version happens to support the current Visual Studio Version.  The likelihood of that happening and us spotting it in time is almost zero. So we are all facing the high risk of attempting to use a newer VS version and it failing and being left without a working development tool.

Could Intel keep an up to date sticky note showing the status of the latest VS 2022 that works?

0 Kudos
1 Solution
Steve_Lionel
Honored Contributor III
1,419 Views

I have VS 17.11.3 and am not seeing any issues with Intel Fortran integration. Keep in mind that documentation for supported versions quickly goes out of date, especially with VS which updates so often. It's unusual (but not unheard of) for a new VS version to break Fortran, but most often it's fine.

View solution in original post

10 Replies
JohnNichols
Valued Contributor III
1,433 Views

Screenshot 2024-09-12 081822.png

At the moment you are safe through this release.  I am running code written in 1968, that uses the latest MKL and a lot of updates and it works and compiles fine in IFORT and IFX.  

You might find one or two annoyances, but nothing that makes you go, ok heck Roger. 

Steve_Lionel
Honored Contributor III
1,420 Views

I have VS 17.11.3 and am not seeing any issues with Intel Fortran integration. Keep in mind that documentation for supported versions quickly goes out of date, especially with VS which updates so often. It's unusual (but not unheard of) for a new VS version to break Fortran, but most often it's fine.

IT-service
Beginner
394 Views

Hello,

We met an error below, when we compile a program by Ifort (OpenAPI-2024.2) and VisualStudioPro 2022-17.11.4, on Windows 11.

We add these PATHs ....\compiler\2024.2\bin and ....\compiler\2024.2\bin32 to the PATH (sytem env),

We also activate the OpenAPI's oneapivars.bat,  but without  success.

Could you please, tell us who to fix this issue?

Thank you for help.

Regards,

0 Kudos
Devorah_H_Intel
Moderator
1,241 Views

To clarifyIntel® Compilers Compatibility with Microsoft Visual Studio* and Xcode*  is kept current by the IDE Integration engineering team with each release of Intel Compilers. The validated version of Visual Studio did not change with the 2024.2 release, and there are no plans to change it for the 2025 release.
That said, you are welcome to test the Intel compilers with the latest version of Visual Studio. In our testing - most recent versions function properly without major issues (but not officially validated). 

For earlier VS releases please refer to  https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history#updating-your-installation-to-a-specific-release

 

dajum81
New Contributor I
1,122 Views
I have installed the 2024.2.1.81 offline installer.  The IFX version shows up in the list of compilers in Visual Studio, But IFORT only still shows 2024.1.  If I open the command prompt environment it is there as it returns the 2021.13.1 version number.  But VS doesn't find it.  I have tried with my original VS version of 17.6, and I updated to 17.11 (the VS installer wouldn't let me go to 17.9.2 directly that I could find).   Is this still messed up from the last time you helped me get the compiler integrated?  I have also tried repairing the install. VS shows 2021.9, 2021.10, 2021.11, and 2021.12 as being available.  After my first installation I notice that the Tools -> options window is messed up by being too short to display the entire compiler name.  Any help with this?
 
Dave
0 Kudos
Steve_Lionel
Honored Contributor III
1,115 Views

It's not unusual for the VS integration to mess up its display of compiler version numbers, and that seems to be what's happening here. If I turn off the General > Suppress Startup Banner option, I see:

Compiling with Intel® Fortran Compiler Classic 2021.12.0 [Intel(R) 64]...
Source1.f90
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.13.1 Build 20240703_000000
Copyright (C) 1985-2024 Intel Corporation.  All rights reserved.

As you can see, I am getting the 2021.13.1 compiler despite the VS integration saying it's 2021.12.0.

 

0 Kudos
dajum81
New Contributor I
1,106 Views

That option isn't under General for me.  It does show under Code Coverage.  But has no impact.  The Show environment option there does affect the output.  Screenshot 2024-09-19 141519.png

Which is strange if we really have the same version.  But VS about also shows 2024.1 so why should I believe it is 2024.2?Screenshot 2024-09-19 141735.png

0 Kudos
andrew_4619
Honored Contributor III
1,073 Views
That is a known problem discussed in other older threads
dajum81
New Contributor I
1,058 Views

Isn't clear what you are referring too since there are quite a few separate problems discussed in my posts.  

1. The version information is wrong in VS Help About.

2. The version information is wrong in the Intel headers output running the compiler

3. The suppress startup banner doesn't work as expected in my installation at least.

4. The version information in the compiler select form is wrong. 

5. The fields in the compiler select form don't show the entire name (Probably a MS problem, but it doesn't help).

 

Why this isn't a sticky post at the top of the forum is odd.  So many issues in an installer that cause confusion for users is just strange.

 

0 Kudos
Reply