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

Fortran

zhangshuaipeng
Beginner
280 Views
我在一台 Windows 10 机器上安装了 Microsoft Visual Studio 2008、Intel OneApi HPC 和 Fortran11。(https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html#hpc-kit) 我正在尝试从 OneAPi 命令提示符窗口编译一个 Fortran 程序。我在编译一个 Fortran 程序时遇到了以下错误。iFort:错误 #10037:找不到“链接”。我了解到这与link.exe文件有关。我注意到这个文件位于 Microsoft Visual Studio 文件夹的 bin 文件夹里,在 program files 文件夹下面。任何线索都非常感谢。
0 Kudos
3 Replies
Steve_Lionel
Honored Contributor III
225 Views

English version: 

I have Microsoft Visual Studio 2008, Intel OneApi HPC, and Fortran11 installed on a Windows 10 machine. (https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html#hpc-kit) I'm trying to compile a Fortran program from the OneAPi command prompt window. I am getting the following error while compiling a Fortran program. iFort: Error #10037: "Link" not found. I understand that this is related to link.exe file. I noticed that this file is in the bin folder of the Microsoft Visual Studio folder, under the program files folder. Any leads would be greatly appreciated.
 
You have a VERY old version of Visual Studio that is not supported by Intel oneAPI HPC Toolkit. I suggest that you install the free Microsoft Visual Studio 2022 Community Edition, and follow the instructions on this page https://web.archive.org/web/20250710121626/https://www.intel.com/content/www/us/en/developer/articles/guide/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers.html (Intel deleted it from their server, but the Internet Archive has it) to configure Visual Studio for use with the Intel compilers.
 
您使用的 Visual Studio 版本非常老旧,不受 Intel oneAPI HPC Toolkit 支持。我建议您安装免费的 Microsoft Visual Studio 2022 Community Edition,并按照此页面上的说明进行操作:https://web.archive.org/web/20250710121626/https://www.intel.com/content/www/us/en/developer/articles/guide/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers.html(Intel 已从其服务器上删除了该页面,但互联网档案库保存了该页面),以便配置 Visual Studio 以与 Intel 编译器配合使用。
0 Kudos
JohnNichols
Valued Contributor III
180 Views

I do not think it is possible to download VS 2022 Community.  I can find Pro and Ent editions, but community is gone and only 2026 remains, if I am wrong please supply the link.

 

0 Kudos
Steve_Lionel
Honored Contributor III
159 Views

I was unaware that a 2026 version was out, but Visual Studio 2022 Download Free - 17.14.22 | TechSpot claims to be the 2022 version.

0 Kudos
Reply