Apr 17, 2014 Intel Fortran Compiler - works on Linux, Windows and Mac. It costs money but the Linux version can be used for personal use for free. It produces the fastest code of any Fortran compiler in many circumstances and supports all versions of Fortran including much of the 2003 standard. F2C based Fortran: This is the oldest Fortran compiler available for OS X. Its been around since OS X was in a public beta state. Download this shell script: buildf2c, type chmod +x buildf2c and then sudo./buildf2c. The script will grab f2c source from Netlib repositories and install a f2c based compiler in /usr/local/. You are done! Intel Fortran Compiler Professional Edition for Mac OS X can be used on, and develop code for, any Mac system based on an Intel processor. Intel® Fortran Compiler. Paid licenses of Intel® Software Development Tools include Priority Support for one year from your date of purchase, with an option to extend support at a reduced rate. Benefits include: Direct and private interaction with Intel engineers. Submit confidential inquiries and code samples via the Online Service Center. This is the place to ask questions of and share information with other users of Intel Fortran Compiler for Linux. and Intel Fortran Compiler for macOS. For technical support, please click the Tech Support link. Please do not include private information such as your email address. The NAG Fortran Compiler (derived from the world's first Fortran 90 compiler which was developed by NAG in 1991) is robust, highly tested, and valued by developers all over the globe for its checking capabilities and detailed error reporting.
The Download Now link will direct you to a form on the developer's site that you must fill out before downloading the file.
From Intel: Intel Visual Fortran Compiler Professional Edition delivers rapid development and winning performance for the full range of Intel processor-based platforms. It provides the most comprehensive multicore and standards support with more parallelism development features; more Intel Advanced Vector Extensions, Advanced Encryption Standard, and SSE support; more Fortran 2003 features; and improved integration of the newest Intel performance libraries--Intel Math Kernel Library and Intel Integrated Performance Primitives. Professional Edition creates a strong foundation for building robust, high performance parallel code at significant price savings. Intel compilers integrate into popular development environments and feature source and binary compatibility with other widely-used compilers.
What do you need to know about free software?
From Intel: Intel Visual Fortran Compiler Professional Edition delivers rapid development and winning performance for the full range of Intel processor-based platforms. It provides the most comprehensive multicore and standards support with more parallelism development features; more Intel Advanced Vector Extensions, Advanced Encryption Standard, and SSE support; more Fortran 2003 features; and improved integration of the newest Intel performance libraries--Intel Math Kernel Library and Intel Integrated Performance Primitives. Professional Edition creates a strong foundation for building robust, high performance parallel code at significant price savings. Intel compilers integrate into popular development environments and feature source and binary compatibility with other widely-used compilers.
Active5 years, 5 months ago
What Fortran compilers are there in this day and age, and which would you recommend? Please list the version of Fortran it supports, the platform it works on (e.g. *nix / Windows), and whether it cost money.
(Standard OS one per answer etc.)
KTCKTC8,41855 gold badges2828 silver badges3737 bronze badges
closed as off-topic by TylerH, kalehmann, greg-449Sep 1 at 7:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – TylerH, kalehmann, greg-449
14 Answers
GFortran - part of GCC is free and works wherever GCC does.
JB
Intel Fortran Compiler - works on Linux, Windows and Mac. It costs money but the Linux version can be used for personal use for free. It produces the fastest code of any Fortran compiler in many circumstances and supports all versions of Fortran including much of the 2003 standard.
A great comparison between various Fortran Compilers has been done by Polyhedron software:
WalkingRandomlyWalkingRandomly2,96155 gold badges2929 silver badges3232 bronze badges
OpenWatcom costs nothing and compiles F77 on Win32, Win16, OS/2 and DOS.
(Just to give you a non mainstream option as well)
Nils PipenbrinckNils Pipenbrinck67.3k2222 gold badges137137 silver badges212212 bronze badges
Fortran compilers which I have worked with and have found useful (ordered in terms of recommended usage):
- Intel Visual FORTRAN ($) Windows, Linux, MAC
- G95 (FREE) Windows (cygwin), Linux
- NAG Fortran Compiler ($) Windows, Linux, MAC
- Lahey Fortran ($) Windows, Linux
If you don't want to spend any money..use G95. At work we support IVF and G95.
user7116user711656.2k1515 gold badges127127 silver badges164164 bronze badges
The Portland Group Fortran compiler cost money and is available for Windows, Mac and Linux. I have personaly used it on Linux while writing several programs that used MPI to do parallel computing and never had any issues with it.
dlannoyedlannoye
Mac Gfortran Compiler
I have also come across some people who use the Silverfrost Fortran compiler. It covers Fortran 77,90 and 95 and is for Windows only. The website mentions .NET a lot. Never used it myself beyond compiling hello world - the free 'personal' version adds an annoying nag screen to your executables. I guess the commercial version offers a better experience but I couldn't possibly comment,
WalkingRandomlyWalkingRandomly2,96155 gold badges2929 silver badges3232 bronze badges
There's also Lahey Fortran. They support 32- and 64-bit Windows and Linux. It costs money, but sometimes it's cheaper to buy a commercial product that has support than to spend 3 weeks to try to figure out some bug in the deep dark depths of an open source compiler. We've had more than a couple problems with g77 and gfortran, especially with optimization of low level memory operations, which are torture to debug. Not that I don't support open source, but for some things, commercial products are a more cost effective solution.
Scottie TScottie T7,34899 gold badges4040 silver badges5757 bronze badges
Intel Fortran is the best. It's heritage can be traced back to the 1960s. Intel bought it from HP and before that HP acquired it from Compaq who got it from Digital Equipment Corp. It was the old reliable Vax Fortran and prior to Vax was first developed on PDP-11 computers.
Gcc Gfortran also has a fork called G95, both are free of course. G95 also has an eclipse IDE called Photran. There's a discussion of the two here:http://www.megasolutions.net/fortran/g95-versus-gfortran-50009.aspx
Preliminary Design Tools. Buildings. Reinforced concrete column design pdf.
SumoRunnerSumoRunner
Intel Fortran. Works on Windows and Linux. Not free for commercial applications.
David DibbenDavid Dibben13.6k66 gold badges3636 silver badges4040 bronze badges
There is also the NAG Fortran Compiler - works on Linux, Windows and Mac. It's commercial but free trials are available. It adheres closely to the Fortran standards and comes highly recommended by many people I work with.
It covers Fortran 77,90,95 and most of the 2003 standard. The Linux and Mac OS versions are command line tools but the Windows version comes with a nice IDE.
WalkingRandomlyWalkingRandomly2,96155 gold badges2929 silver badges3232 bronze badges
g95 is another cross platform/ mutliple cpu arcitechture free Fortran compiler. I had success in the past using it and it seems to be updated fairly often. Supprts F77, F90 and some parts of the F2003
NavierstokesNavierstokes
The Oracle Solaris Studio comes with its own Fortran compiler, is free of cost and works on Linux and Solaris.It supports Fortran 95 and partially Fortran 2003.
haraldklharaldkl
Another free Fortran compiler for Linux is offered by the Open64 compiler suite. It supports at least the Fortran 95 standard.
haraldklharaldkl
I just installed the latest release of Red Hat; it provides a broken gfortran, and broken gnu OpenMP. As with most compilers, it is quite important to install updates: gcc.gnu.org/wiki/GFortranI would be using SuSE for its better support of current gnu compilers, if I didn't have so much difficulty with video drivers.
On SuSE, Intel compilers tend to require you to check the 'unsupported installation' box. This doesn't mean you can't get support, only that the combination hasn't been fully tested.
On SuSE, Intel compilers tend to require you to check the 'unsupported installation' box. This doesn't mean you can't get support, only that the combination hasn't been fully tested.