Setting up your OS

Two mini-book tutorials, Setting up your OS and Building programs, on Fortran official website will help you.

There are many Fortran compilers listed on this website. In my opinion, GNU Fortran Compiler (gfortran) is good for debugging, and Intel Fortran Compiler (ifx) is good for generating executable files with the fastest speed.

There are many text editors listed on this website. My favorite text editor which I am using for writing these Notes is Visual Studio Code (VS Code). If you want to use VS Code for writing Fortran programs, you can install extension “Modern Fortran”, and moreover, if you also use Python, you can also install Fortran Language Server (fortls). Extension “Code Runner” may also be helpful to you.

There are many IDEs listed on this website. I don’t use them at all, since VS Code is the best.

There are many build tools listed on this website. Fortran has no intrinsic way to do preprocessing, but preprocessor fypp is easy to use and widely used. Fortran is developing the Fortran Package Manager (fpm), which is a package manager and build system for Fortran, but there is a long way to go.