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

Can I use intel fortran without visual studio?

weichaohsu
Beginner
1,611 Views

Hi all,

 

I just installed Intel Fortran 2024.2 without Visual Studio because I don't have a valid Visual Studio license. As I remember, the early versions of Intel Fortran offered a command-line environment and could compiled without Visual Studio.

I tried to compile a test program using the 2024.2 version but it gave me the following error:

 

ifx: error #10037: could not find 'link'

 

Is "link.exe" provided by Visual Studio? If yes, does it mean the current version of Intel Fortran depends on Visual Studio rather than standalone?

 

I cannot find an early version of Intel Fortran to download. Is there any way to use Intel Fortran 2024.2 without Visual Studio installed?

 

BR

Dennis

0 Kudos
4 Replies
andrew_4619
Honored Contributor III
1,529 Views

Well the linker and certain other essential components are part of MS C++ and you get those by installing VS so on windows you need a VS install. VS Community is free BTW. So whist you can use intel fortran from the command prompt and don't need  the VS GUI you do need a VS  install I believe.

 

0 Kudos
IanH
Honored Contributor III
1,483 Views

You don't need to install the complete VS GUI - you can get a working command prompt for compiling Fortran code up and running with just the Build Tools for Visual Studio (link). 

(There are limits on the availability of the VS Community licence and the Build Tools if you are working as part of an "organisation", and particularly if you are part of an "enterprise".)

 

andrew_4619
Honored Contributor III
1,481 Views

New learning for the day "Build Tools for Visual Studio" is a thing.

0 Kudos
Devorah_H_Intel
Moderator
1,475 Views

This information is included in Intel Fortran Compiler's System Requirements as well:

 

Microsoft Visual Studio* on Windows

To use the Microsoft Visual Studio* development environment or command-line tools to build IA-32 or Intel® 64 architecture applications these versions are supported:

  • Microsoft Visual Studio* 2022 Community, Enterprise, and Professional Editions with 'Desktop development with C++' component installed, except for use with Intel® Inspector and Intel® Advisor
  • Microsoft Visual Studio* 2019 Community, Enterprise, and Professional Editions with 'Desktop development with C++' component installed

To use command-line tools only to build Intel® 64 architecture applications these versions are supported:

  • Visual Studio Build Tools* 2022
  • Visual Studio Build Tools* 2019

 

 

0 Kudos
Reply