What this guide is for: This post details how to set up a Fortran development environment in Windows using Visual Studio Code (VS-Code) and the Intel Fortran compiler, ifort
.
We will be installing both Visual Studio as well as VS-Code. This is because we will be bootstrapping the debugger from Visual Studio for our development in VS-Code. We will also be installing the Intel Fortran compilers via the Intel oneAPI basekit and HPC toolkit.
- First, install Visual Studio 2022 Community edition: https://visualstudio.microsoft.com/vs/community/
- During installation, check the box for
Desktop development with C++
.
- During installation, check the box for
- Second, install the Intel oneAPI base toolkit: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html
- Choose Windows and select the online installer.