Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I\'m looking for a Fortran compiler. I\'ve heard of gfortran and Intel Fortran.

ID: 661701 • Letter: I

Question

I'm looking for a Fortran compiler. I've heard of gfortran and Intel Fortran. I've heard intel fortran is faster.

Must support Fortran 90
The more features of Fortran 95/2003/2008 supported the better.
Must support OpenMP
Must support MPI
Must support some form of BLAS
Should output good error messages. I'm just getting started with Fortran, so I'll be making a lot of mistakes.
An interactive shell (REPL) would be a plus (something like the Python REPL)
It is important, that the compiler should produce efficient, highly-optimized executable assembly, particularly for matrix operations (so if it is tightly optimising for its favorite BLAS Library, that would be good).
The compiler could be free or commercial.

OS: Linux

Explanation / Answer

There is also a non-free Fortran compiler by Intel.

According to wikipedia it fully supports Fortran 90/95, OpenMP and OpenMPI. There is an incomplete feature list of features from newer versions in the article as well, but I could not find an official compilation (only additional features between versions). BLAS is included in Intels Math Kernel Library, but can also be taken from GNU. I did not use the Fortran compiler, but for C and C++ compilers Intel's binaries were usually faster than GNU's. I cannot say anything about administration (it was preinstalled on the clusters).

Intel's compilers are quite expensive, so you would probably not want to buy it as a private person. You can however get it for free as long as you do not use it commercially.

The quality of error messages does not change a lot between different compilers, but it may be useful to be told about the same error by different compilers. You usually get an additional hint because it is phrased differently and the truth is somewhere in between

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote