Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29279 ディスカッション

VS2019 16.11.9 cannot create IFORT Fortran console project

AONym
新規コントリビューター II
1,220件の閲覧回数

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 件の賞賛
1 解決策
Devorah_H_Intel
モデレーター
1,194件の閲覧回数

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. 

元の投稿で解決策を見る

5 返答(返信)
Steve_Lionel
名誉コントリビューター III
1,213件の閲覧回数

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

AONym
新規コントリビューター II
1,201件の閲覧回数

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.

Devorah_H_Intel
モデレーター
1,195件の閲覧回数

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. 

AONym
新規コントリビューター II
1,188件の閲覧回数

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
初心者
1,163件の閲覧回数

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.

返信