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

How to use Fortran compiler on command prompt

Lee8
Beginner
199 Views

I have Intel one API and HPC Toolkits.  I use Notepad to write a simple Fortran code of hello,f90.  I'd like to know how to compile the Fortran code of hello.f90.  Thanks!

0 Kudos
1 Solution
TobiasK
Moderator
106 Views

@Lee8 
did you follow the instructions here:
https://www.intel.com/content/www/us/en/docs/fortran-compiler/get-started-guide/2024-2/get-started-on-windows.html

Especially this note:

To build applications using command-line tools only, you must have a supported version of Build Tools for Visual Studio installed. Desktop development with C++ support must be selected for all versions as part of the Visual Studio or Build Tools installation.

View solution in original post

1 Reply
TobiasK
Moderator
107 Views

@Lee8 
did you follow the instructions here:
https://www.intel.com/content/www/us/en/docs/fortran-compiler/get-started-guide/2024-2/get-started-on-windows.html

Especially this note:

To build applications using command-line tools only, you must have a supported version of Build Tools for Visual Studio installed. Desktop development with C++ support must be selected for all versions as part of the Visual Studio or Build Tools installation.

Reply