Fortran Compilers For Windows 10

Fortran Compilers For Windows 10 8,7/10 8684 reviews

Simply Fortran is the preferred solution of thousands of developers for authoring and maintaining Fortran on Microsoft Windows. Since 2010, Approximatrix has provided the premier, affordable Fortran environment for Windows, including a standards-compliant compiler, an advanced editor, project management, and an integrated debugger. Open Source Watcom / OpenWatcom Fortran Compiler. The Watcom (now OpenWatcom) Fortran 77 compiler is now available free of charge, complete with source code. This compiler, which generates code for Win32, Windows 3.1 (Win16), OS/2, Netware, MSDOS (16 and 32 bit), etc, was a well-known compiler some years back (until Sybase terminated it).

  1. Fortran Compilers For Windows 10 Lenovo
  2. Fortran Compilers For Windows 10 For Sale
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.)

KTCKTC
8,4185 gold badges28 silver badges37 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
If this question can be reworded to fit the rules in the help center, please edit the question.

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: Freedom of the seas.

WalkingRandomlyWalkingRandomly
2,9615 gold badges29 silver badges32 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 Pipenbrinck
67.4k22 gold badges137 silver badges212 bronze badges

Fortran compilers which I have worked with and have found useful (ordered in terms of recommended usage):

  1. Intel Visual FORTRAN ($) Windows, Linux, MAC
  2. G95 (FREE) Windows (cygwin), Linux
  3. NAG Fortran Compiler ($) Windows, Linux, MAC
  4. Lahey Fortran ($) Windows, Linux

If you don't want to spend any money..use G95. At work we support IVF and G95.

user7116user7116
56.2k15 gold badges127 silver badges164 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

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,

WalkingRandomlyWalkingRandomly
2,9615 gold badges29 silver badges32 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 T
7,3489 gold badges40 silver badges57 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

SumoRunnerSumoRunner

Fortran Compilers For Windows 10 Lenovo

Intel Fortran. Works on Windows and Linux. Not free for commercial applications.

David DibbenDavid Dibben
13.6k6 gold badges36 silver badges40 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.

Fortran

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.

WalkingRandomly

Fortran Compilers For Windows 10 For Sale

WalkingRandomly
2,9615 gold badges29 silver badges32 bronze badges
Fortran

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.

Not the answer you're looking for? Browse other questions tagged compiler-constructionfortran or ask your own question.