Michael C. answered 03/30/21
Research Assistant in Computational Science PhD program
Assuming you are in a linux environment and are using the gnu fortran compiler, open a terminal to the directory of your fortran file, then type and execute:
This should compile the source file "file.f90" to the executable "output" which can then be executed by
If you want more information, a good place to start is by reading the documentation on the compiler for information on compiler flags that can optimize performance among other things.