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

Fortran

zhangshuaipeng
Beginner
142 Views
I have installed Microsoft Visual Studio 2022 and Intel OneApi HPC and Fortran11 on a Windows 10 machine. (https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html#hpc-kit) I am 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: could not find 'link' I understand that it is related to the link.exe file. I noticed that the file is located in the bin folder of the Microsoft Visual Studio folder under the program files folder. Any lead is much appreciated.
1 Reply
JohnNichols
Valued Contributor III
119 Views

It is a lot easier to set up a new Fortran program as a console in VS IDE.  It should say "Hello World"

Replace the small code with your code, add in any other Fortran files to the source location and then compile, it is a lot easier to report those errors. 

VS 2022 uses source\repos, it is easier to change it back to the old projects folder in the VS 2022 Folders on MyDocuments. 

 

Reply