Fortran Compilers for Use with Source-Code GEMPACK

A suitable Fortran compiler is required for use with all Source-code versions of GEMPACK. For PCs running Windows we support Intel and Lahey compilers:

For GEMPACK Release 11 [Oct 2011] we will also support:

Purchasing your compiler

Intel sell their Fortran compiler through various resellers and Lahey also sell through distributors and dealers. Both Lahey and Intel offer academic and multi-user pricing, and both are distributed by leading Fortran vendor Polyhedron, or, in Australia, by Devin Trussell of Computer Transition Systems.

32-bit or 64-bit?

More and more PCs are running a 64-bit version of Windows, although 32-bit Windows is still widely used. GEMPACK runs well on both. Both Intel Fortran and GFortran can be configured to produce either 32-bit or 64-bit EXEs. Which should you choose ?

See also this GEMPACK-oriented comparison of 32-bit and 64-bit Windows.

Installing your Fortran

You need to install and test your Fortran before you install source-code GEMPACK. See these pages for compiler-specific instructions:

In each case, we ask that you download, compile, and run a small "Hello World" program to verify your Fortran installation before installing GEMPACK.

Match Fortran version to GEMPACK Release

Some Releases of GEMPACK only work with specific versions of the Lahey or Intel Fortran compilers. See these pages for compiler-specific details:

Switching back and forth between Fortran versions with GEMPACK

Advanced users who need to do this could study these suggestions.

Non-Windows PCs

A Fortran compiler usually comes with Unix, or is an optional extra. A few users have compiled GEMPACK under Linux using the open-source GFortran compiler. See also these notes.

Compiler Performance

The following table, prepared October 2011 using GEMPACK release 11, compares run (and LTG=compile) time with 4 large models. All tests were run on 64-bit Vista using an Intel Core 2 Quad CPU. The results reflect in part the various optimization settings used by GEMPACK for different compilers. In particular the GEMPACK team has spent more effort tuning compiler settings for Intel Fortran. Comparison of of Fortrans performance

Results are model-dependent, but in general Intel runs twice as fast as LF95 or GFortran (which take similar times). However, LF95 is much the quickest at the LTG (compile) stage.

See also
Intel Fortran compiler
Lahey Fortran compiler
GFortran compiler