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

VS2019 16.11.9 cannot create IFORT Fortran console project

AONym
New Contributor II
610 Views

In VS2019 16.11.9 and Intel® Fortran Compiler – toolkit version: 2021.4.0, extension version 19.2.0063.16, Package ID: w_oneAPI_2021.4.0.364, I cannot create a new  IFORT Fortran console project using the Main Program Code template.

When I attempt to do so from the VS2019 File/New/Project menu, a solution file is created,  .vfproj and .f90 files are created in the project directory, and VS2019 exits (without any error messages). If I open the .sln file, it shows 0 projects.

If I attempt to open the .vfproj file, I get an infinite loop, asking me what app I want to use to open %1.

I note that 16/11/9 is not on the list of supported VS, yet it is what we use. And VS2022, which we are slowly moving to, has "limited support".

0 Kudos
1 Solution
Devorah_H_Intel
Moderator
584 Views

Yes, 2022 is the one you need.

VS 16.11.9 is not mentioned since that update was not tested, so it is not supported. MS puts out updates after oneAPI release. 

 Try reinstalling the oneAPI HPC 2022 or stand-alone compiler, as has been mentioned. 

View solution in original post

0 Kudos
5 Replies
Steve_Lionel
Honored Contributor III
603 Views

I have the current 2021.5.0 and that version of VS - works fine for me. I suspect something got corrupted on your system. You can update just Fortran from a download at Intel® oneAPI standalone component installation files

0 Kudos
AONym
New Contributor II
591 Views

Steve -

I cannot find Fortran compiler 2021.5.0 on the page you referenced. Should I use this one?

Intel Fortran Compiler Classic and
Intel Fortran Compiler for Windows*
2022.0.0 12.37 MB Online Dec. 09, 2021

 

 

 Will it be compatible with VS2019 16.11.9? intel-compilers-compatibility-with-microsoft-visual-studio-and-xcode does not list that VS version as being compatible.

0 Kudos
Devorah_H_Intel
Moderator
585 Views

Yes, 2022 is the one you need.

VS 16.11.9 is not mentioned since that update was not tested, so it is not supported. MS puts out updates after oneAPI release. 

 Try reinstalling the oneAPI HPC 2022 or stand-alone compiler, as has been mentioned. 

0 Kudos
AONym
New Contributor II
578 Views

Installed Intel® Fortran Compiler – toolkit version: 2022.1.0, extension version 22.0.0065.16, Package ID: w_oneAPI_2022.0.0.161, and now I can create a Fortran console app.

Ben136KBC
Novice
553 Views

I can confirm, that if you update Visual Studio 2019, then it breaks the older Intel Fortran integration. I have Visual Studio 2022 with Intel Fortran 2022 and so far it has been working great! I do update VS 2022, and so far it has not broken the integration yet. VS2022 is way better than VS2019 IMHO.

Reply