Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

How to use Fortran compiler on command prompt

Lee8
Beginner
3,472 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
3,379 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
3,380 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