Clicky

Fortran Wiki
Applications

This page is for selected links to source code for or descriptions of applications written in Fortran. These might be examples of contemporary “real-world” programs, or educational older codes. There are thousands of currently active examples across the sciences.

See Software repositories for collections of libraries and see Library distribution for methods for packaging and distributing Fortran libraries.

http://www.dmoz.org/Computers/Programming/Languages/Fortran/Source_Code/

http://ccpforge.cse.rl.ac.uk/

http://gcc.gnu.org/wiki/GfortranApps Code that works with gfortran

http://g95.org/g95_status.shtml Code that works with g95

Meteorology and climatology

http://www.easterbrook.ca/steve/?p=1558 discusses why a lot of climate models are written in Fortran.

UK Meteorological Unified Model

This is 830k LOC

http://www.metoffice.gov.uk/science/creating/daysahead/nwp/um.html

NEMO

http://www.nemo-ocean.eu NEMO (Nucleus for European Modelling of the Ocean)

http://www.nemo-ocean.eu/content/download/250/1629/file/coding_rules_OPA9.pdf Their Fortran 95 Coding Rules.

Goddard Institute for Space Studies GCM Model E

http://www.giss.nasa.gov/tools/modelE/ The most recent GISS model.

http://ftp.giss.nasa.gov/pub/modelE/modelE1.tar.gz Source code.

IPSL Climate model

http://igcmg.ipsl.jussieu.fr/Doc/IPSLCM4 IPSL Climate model documentation.

Computational Quantum Chemistry

http://tddft.org/programs/octopus The Octopus code.

http://www.cfs.dl.ac.uk/gamess-uk/index.shtml GAMESS UK home page.

http://www.msg.chem.iastate.edu/gamess/ GAMESS US home page.

https://www.cp2k.org/ CP2K is a Fortran2003 program to perform simulations of solid state, liquid, molecular and biological systems.

Computational Fluid Dynamics

OFF an Open source Finite volumes Fluid dynamics code.

CFD Codes by Katate Masatsuka

Condensed Matter Physics

GENEUS is an open-source Fortran 2008 program for simulating superconductor/ferromagnet nanostructures. It is based on the Usadel quantum diffusion equation, and supports nonequilibrium calculations, self-consistent calculations, and uses convergence acceleration algorithms to remain fast for tricky problems.

Astronomy

http://aa.usno.navy.mil/software/novas/novas_f/novasf_intro.phpNaval Observatory Vector Astrometry Software. Used to prepare the U.S. parts of The Astronomical Almanac.

Games

http://www.rickadams.org/adventure/e_downloads.html Adventure.

Several versions of Zork were ported to Fortran:

http://mirror.ifarchive.org/if-archive/games/source/dungeon-2.5.6.tar.gz

And of course, Star Trek:

http://startrek-f95.sourceforge.net/

ForSudoku - A Fortran sudoku generator and solver.

Interpreters and compilers

Interlisp

PL/M Compiler. Fortran IV code that does compile using gfortran. PL/M is the language that CP/M was written in (see http://www.cpm.z80.de/source.html for more details).

Nuclear

“The VCU nuclear reactor simulator, Richmond Pile 3, is a classroom and research tool that emulates a large commercial pressurized water reactor (PWR).” It uses gtk-fortran.