The back end and libraries are now up for general testing on a variety of boxes and operating systems. The tarball is usually updated as the web page is. To download and install g95 on unix systems, run the following command (originally from Joost Vandevondele):

wget -O - http://ftp.g95.org/g95-x86-
linux.tgz | tar xvfz -

This will create a directory named 'g95-install' in the current directory. Run (or better yet make an appropriate symbolic link to) ./g95-
install/bin/i686-pc-linux-gnu-
g95 in order to run g95.

G95 Status

Code that works with g95

  • LAPACK -- Linear Algebra PACKage.
  • LAPACK95 - a Fortran 95 interface to the Fortran 77 LAPACK library.
  • FMLIB - Multiple Precision Arithmetic
  • ASTEROIDS for Xwindows
  • NUMERICAL RECIPES
  • Netlib Fortran benchmark programs
  • Fortran Execution Time Benchmarks at Polyhedron
  • DISLIN Scientific Data Plotting package
  • SIESTA quantum chemistry package
  • PWscf ab-initio electronic structure calculations
  • ABINIT, an Ab initio DFT package
  • CP2K - a DFT package for atomistic and molecular simulations of solid state, liquid, molecular and biological systems
  • GYRO, tokamak turbulence code (simulates electromagnetic plasma turbulence)
  • MPICH - a portable implementation of MPI, the Standard for message-passing libraries
  • UMFPACK - Sparse unsymmetric linear solver
  • Fortran 95 example programs from Loren Meissner's book, Essential Fortran 90 and 95, (1997, ISBN 0-9640135-3-3)
  • ASTEC - Accident Source Term Evaluation Code for simulating severe accidents in light water nuclear reactors
  • BLAS - Basic Linear Algebra Subprograms, from Netlib. The blas_95.f90 and smart BLAS95 packages are also available.
  • GATOR, coupled-cavity travelling wave tube simulation-- an E&M code
  • CUTEr - a testing environment for mathematical programming
  • GALAHAD - a library of solvers for nonlinear programming
  • VASP/VAMP - Ab initio molecular dynamics package
  • BOM - the Bergen Ocean Model
  • NetCDF - a library for the creation, access, and sharing of scientific data. For help with compiler options go here
  • ASW, ab initio package for very fast all-electron electronic structure calculations
  • Pencil Code, a high-order finite-difference code for compressible hydrodynamic flows with magnetic fields
  • MA41 (unsymmetric), and MA57 (symmetric) sparse direct solvers from the HSL2002 library
  • Arprec - arbitrary precision numerical calculations
  • CAMB - cosmology code for anisotropies in the microwave background
  • CASTEP - ab initio quantum mechanical DFT package
  • SANDER - a program for molecular dynamics simulations, included in the AMBER package (version 9)
  • Octave - a Matlab-like numerical computation package
  • FUN3D - NASA aerodynamic and aerothermodynamic analysis and design codes
    Bil Kleb, one of the developers, wrote:
    The g95 compiler is one of only two compilers that have been able to compile the FUN3D suite of codes without encountering an internal compiler error. Thanks to agile software development practices, the FUN3D suite of codes have revealed compiler bugs in nearly every Fortran compiler: Intel, Portland Group, Absoft, Cray, DEC, SGI, Sun, HP, IBM, PathScale, NAG, NAS, and Salford. Lahey-Fujitsu is the only other one we haven't been able to break yet.
  • SPECFEM3D_GLOBE - an earthquake simulation package. Simulates seismic wave propagation on regional and local scales. SPECFEM3D_BASIN simulates global and regional seismic wave propagation.
  • SLICOT - subroutine library for computations in systems and control theory.
  • PHASE - a quantum mechanical DFT package from Japan.
  • ROMS -Regional Ocean Model System
  • CLaMS - Chemical Lagrangian Model of the Stratosphere, a spatially highly resolved and chemically detailed model for simulating the processes responsible for the "ozone hole" and the future evolution of the ozone layer.
  • f90gl - a Fortran 90 interface to OpenGL
  • Eta - a weather prediction model at the National Weather Service's National Centers for Environmental Predictions. (NCEP).
  • WRF - Weather Research and Forecasting Model developed by several agencies such as NOAA, NCAR, NASA, DoD-AFWA and several universities.
  • P-STAT - Princeton statistics package
  • Synergia - Code for simulating the behavior of particle beams in accelerators.
  • CWP/SU - an instant seismic processing and research environment developed at the Center for Wave Phenomena, Colorado School of Mines
  • LAM/MPI - an open-source implementation of the Message Passing Interface environment for running applications on clusters.
  • CUBPACK - code for the automatic integration of functions in one or more dimensions
  • ar-HRT-1 - an implementation of the Hierarchical Reference Theory for one-component fluids. (Hint: compile with -fno-backslash)
  • BUFR & GRIB - encoding/decoding software developed by the European Centre for Medium-Range Weather Forecasts
  • OCTOPUS - code for ab initio virtual experimentation using time-dependent DFT and pseudopotentials
  • GAMESS - General Atomic and Molecular Electronic Structure System, a general ab initio quantum chemistry package
  • SLATEC - Common mathematical library
  • FVCOM - a finite-volume, three-dimensional ocean model
  • METRAS & MITRAS - meteorological models from the Meteorological Institute, University of Hamburg
  • MUMPS - MUltifrontal Massively Parallel sparse direct Solver
  • Caesar - a program designed to analyse the infrared behaviour of QCD jet-observables in a range of processes
  • Source code for Rich Townsend's Fortran 95 module iso_varying_string.f95
  • TALYS - software for the simulation of nuclear reactions
  • Spherepack - a collection of programs for modeling geophysical processes.
  • BRAMS - Brazilian Regional Atmospheric Model and System
  • GCM ModelE - coupled atmosphere-ocean models from NASA
  • f2py - Fortran to Python interface generator, now included in the NumPy scientific computing package.
  • MSLIB - Space dynamics library from Centre National d'Etudes Spatiales, France
  • PGPLOT - Graphics subroutine library for making simple scientific graphs. Details are provided here.
  • COCO - Conditional Compilation program by Dan Nagle
  • NJOY - Nuclear Data Processing System
  • NBODY6 - Simulations of many-body (N-body) gravitational interactions by Svere Aarseth
  • Gaussian 03 - A quantum mechanics based electronic structure program. Predicts the energies, molecular structures, and vibrational frequencies of molecular systems, along with numerous molecular properties.
  • HDF5 - a general purpose library and file format for storing scientific data
  • THERMIX - German code for calculating steady state and transient heat transport in helium-cooled, graphite moderated High Temperature Reactors (nuclear reactor).
  • NEMO - Nucleus for European Modelling of the Ocean, a state-of-the-art modeling framework for oceanographic research and operational oceanography.
  • Flash - a state-of-the-art simulator code for solving nuclear astrophysical problems related to exploding stars
  • XPLOR-NIH - a structure determination program which builds on the X-PLOR system for computational structural biology
  • GILDAS - a collection of software for (sub-)millimeter radioastronomical applications
  • INTERACTER - user-interface and graphics subroutine library for g95 (MinGW)
  • nextnano3 - Schroedinger-Poisson solver for three-dimensional nano semiconductor devices, developed by the Walter Schottky Institute (TU Munich)
  • CASINO - the Cambridge quantum Monte Carlo code
  • OSA 5.0 - Off-line Scientific Analysis software, by INTEGRAL Science Data Centre, Switzerland
  • MATRAN - a Fortran 95 wrapper that implements matrix operations using Lapack and Blas
  • TORUS - 3-dimensional radiative-transfer code
  • EXCITING - full-potential linearised augmented-planewave density functional theory (DFT) code
  • MODFLOW-2000 - a three-dimensional finite-difference ground-water flow model, by the U.S. Geological Survey
  • Elmer - Finite Element solver for multiphysical problems, including fluid dynamics, structural mechanics, heat transfer, electromagnetics and acoustics
  • Supersphplot - a visualisation tool for output from astrophysical simulations using the Smoothed Particle Hydrodynamics method
  • NCARG - National Center for Atmospheric Research graphics package
  • KOPRA - Karlsruhe Optimized and Precise Radiative transfer Algorithm for atmospheric radiative transfer modelling in the mid-infrared spectral range
  • OptoCad - Fortran 90 code for tracing Gaussian beams through an optical setup
  • I3RC - community Monte Carlo model for 3D radiative transfer
  • FDS - Fire Dynamics Simulator from NIST
  • HEALPix - Hierarchical Equal Area isoLatitude Pixelization of a sphere
  • VULCAN - Viscous Upwind ALgorithm for Complex Flow ANalysis; a turbulent, non-equilibrium, finite-rate chemical kinetics, Navier-Stokes flow solver
  • R - a free software environment for statistical computing and graphics
  • For2R - a Fortran 95 module containing routines intended to ease transfer of data from Fortran programs to the R system
  • HimenoBMTxp - Fortran code to solve Poisson's equation, adapted as a benchmark
  • SHTOOLS - Tools for working with spherical harmonics
  • Simplicial package - implements a PL continuation method, whose objective is to follow the zero path of an homotopy connecting two problems
  • TOUGH2 - a general-purpose numerical simulation program for multi-phase fluid and heat flow in porous and fractured media
  • SPheno - calculates the SUSY spectrum, using low energy data and a user supplied high scale model as input; the spectrum is used to calculate two- and three body decay modes of a supersymmetric particle as well as of Higgs bosons
  • EMPIRE - a modular system of nuclear reaction codes for advanced modeling of nuclear reactions
  • EXC - an exciton code for calculating ab initio, the dielectric and optical properties, like absorption, reflectivity, refraction index, electron and X-ray energy loss, of a large variety of systems, by solving the Bethe-Salpeter equation
  • MECCA - Module for Efficiently Calculating the Chemistry of the Atmosphere
  • ProtoFit - a tool for optimization of surface protonation models from acid-base titration data
  • PARSEC - a DFT code that solves the Kohn-Sham equations by expressing electron wave-functions directly in real space
  • Dolfyn - Computational Fluid Dynamics project
  • Winteracter - a modern GUI toolset for Fortran 90/95. G95 support is provided in v7.0a on Linux and Mac OSX.
  • CRTM - Community Radiative Transfer Model, used in numerical weather prediction systems to simulate radiances and radiance gradients (or Jacobians) at the top of atmospheres for satellites. Developed at the US Joint Center for Satellite Data Assimilation.
  • Ariane - a FORTRAN code dedicated to the computation of 3D streamlines in a given velocity field, as the output of an Ocean General Circulation Model
  • LABROC4 & PROPROC - radiology programs for ROC analysis (decision theory)
  • SSDRUP - a Fortran 90 code for 2D Steady State Dynamic Rupture Pulses
  • Copygb - NOAA program to convert grids of a grib file to a latitude-longitude grid
  • IAPP - International ATOVS Processing Package for retrieving atmospheric temperature and moisture profiles, total ozone and other parameters in both clear and cloudy atmospheres
  • ZZ DROSG-2000 - Legendre Coefficient Library for 59 monoenergetic neutron source reactions
  • CALENDF-2002 - Nuclear Data Processing System
  • PENELOPE - code for Monte Carlo simulation of coupled electron-photon transport in arbitrary materials and complex quadric geometries
  • FTPC - a program package for Time Projection Chamber analysis written in F
  • HJPACK - sofware for numerical experiments on Hamilton-Jacobi equations in 1D and 2D
  • GINO - a suite of high-end development tools for creating complex 2D and 3D graphics and GUI applications
  • PVM - Parallel Virtual Machine, a software package that permits a heterogeneous collection of Unix and/or Windows computers hooked together by a network to be used as a single large parallel computer
  • gt4f90io - a Fortran90 netCDF I/O library with gtool4 conventions; provides a self-descriptive storage format for gridded data used in geophysical sciences
  • HadCM3 - Hadley Centre Coupled Model, version 3, a coupled atmosphere-ocean general circulation model
  • GrWin - free graphics library for Fortran and C/C++ graphics programming on Windows, by Tsuguhiro Tamaribuchi
  • PARF - implementation of the Random Forests algorithm for classifying large quantities of data
  • Gplot - a Fortran 95 plotting library that invokes Bob Parker's plotxy to output a postscript file or display a graph with gsview
  • JADSPE - a package of eight programs to process multichannel gamma-ray spectra
  • CrysFML - a crystallographic library in modern Fortran
  • GotoBLAS - a fast implementation of the Basic Linear Algebra Subroutines
  • PEST - a free nonlinear parameter estimation and model calibration package, commonly used in groundwater and surface water modeling projects
  • Gaussquad - a Fortran 95 module that generates all of the classical Gauss quadrature rules
  • Athena Visual Studio - a software package for parameter estimation, model discrimination and optimal experimental design
  • CRYSTAL - code for computing the electronic structure of periodic systems within Hartree Fock, density functional or various hybrid approximations
  • PHOENIX - a general-purpose state-of-the-art stellar and planetary atmosphere code
  • PCHAN - code for modeling turbulent flows by direct numerical simulation
  • DL_POLY - a general purpose serial and parallel molecular dynamics simulation package
  • CHARMM - Chemistry at HARvard Macromolecular Mechanics, a general purpose molecular mechanics, molecular dynamics and vibrational analysis package
  • GAMESS-UK - a general purpose ab initio molecular electronic structure program
  • Japi - an open source free software GUI toolkit allowing the development of platform independent applications
  • WanT - an open source electronic structure DFT code
  • Starlink - a set of data reduction and analysis tools developed for astronomers in the UK
  • DIRECT - Joerg Gablonsky's DIRECT optimization package
  • CHIMERE - multi-scale chemistry transport model for air quality forecasting and simulation
  • AGRIF - Adaptive Grid Refinement In Fortran, a package for including adaptive mesh refinement (AMR) features within a finite difference numerical model
  • Xspec - X-Ray Spectral Fitting Package, a mission independent general purpose analysis environment for X-Ray spectra
  • ELSTRU - a software package for validating crystal structure models with electron diffraction patterns
  • CosmoMC - a Markov-Chain Monte-Carlo engine for exploring cosmological parameter space
  • CATHARE - a code to calculate transient thermal hydraulics in nuclear reactors
  • ROPP - Radio Occultation Processing Package for assimilation of radio occultation data in numerical weather prediction models
  • SIB-PAIR - a program for elementary genetical analyses
  • MIRIAD - Multichannel Image Reconstruction, Image Analysis and Display, a toolbox for image analysis of interferometric data
  • Dalton - a powerful molecular electronic structure program
  • Dirac - a code for relativistic molecular calculations based on the Dirac-Coulomb Hamiltonian
  • PQS - an ab-initio and DFT quantum chemistry electronic structure program
  • CLM3 - Community Land Model for the CCSM and CAM climatology projects
  • FEQ - unsteady-flow modeling system
  • Molpro - a system of ab initio programs for molecular electronic structure calculations
  • Wannier90 - code for calculating maximally-localised Wannier functions
  • GiBUU - transport model for nuclear particles by the Institut f?r Theoretische Physik, JLU Giessen
  • FeatFlow - solver package for incompressible flow in 2D and 3D
  • smart BLAS95 - another Fortran 95 interface to the BLAS linear algebra package
  • MCTDH - Multi Configuration Time Dependent Hartree, a general algorithm to solve the time-dependent Schr?dinger equation for multidimensional dynamical systems consisting of distinguishable particles
  • DEAD - Dust Entrainment and Deposition Model, a wind erosion and mineral dust transport model
  • PAW - a physics analysis package developed at CERN to handle high energy physics data
  • FLIPS - a Fortran Linear Inverse Problem Solver
  • Porcelly Model - a code for computing conditions needed to trigger a sawtooth crash in tokamak plasmas
  • WTTS - Window To The Stars, a graphical front end to the TWIN stellar evolution code
  • Exflib - multiple-precision arithmetic library for Fortran 90/95
  • RTTOV - a radiative transfer model
  • Acoustic Toolbox - acoustic propagation code, from HLS Research
  • NMFF - a package for flexible multi-resolution fitting of large atomically detailed structures into electron density maps from cryoEM, tomography and related lower resolution methods
  • UTCHEM - a chemical compositional reservoir simulator from the University of Texas CPGE
  • GULP - a program for solid simulation using lattice dynamics
  • CEA - Chemical Equilibrium with Applications, a NASA program which calculates chemical equilibrium product concentrations from any set of reactants and determines thermodynamic and transport properties for the product mixture
  • SWAN - a wave model for the simulation of waves in waters of deep, intermediate and finite depth
  • Fresco - a program to perform coupled-reaction channels calculations in nuclear physics
  • CLAVR-x - programs for processing satellite data on clouds and climate
  • Scilab - an open-source scientific software package for numerical computations
  • SDP - SeaWinds Data Processor, a Fortran 90 package for processing scatterometer data used in weather prediction
  • JMATRIX - a program for calculating scattering phase shifts using the J-matrix method (relativistic and non-relativistic versions)
  • SELF - code for Many-Body calculations in solid state physics
  • WIEN2k - a program package for electronic structure calculations of solids using density functional theory (DFT)
  • Bernese GPS Software - a high performance reference GPS and GLONASS post processing package
  • FoX - a library designed to allow easy use of XML from Fortran programs
  • Dassflow - software for numerical simulation of river hydraulics with variational data assimilation
  • OTIS 4 - Optimal Trajectories by Implicit Simulation, a NASA program designed to simulate and optimize trajectories of launch vehicles, aircraft, missiles, satellites, and interplanetary vehicles
  • DTDM - Dynamics and Thermodynamics Demonstration Model, a simple 2D model for illustrating basic atmospheric sciences
  • TURBOPAIR - Qunatum Monte Carlo software for electronic structure calculations
  • QuickBeam - radar simulation software
  • SEM2DPACK - 2D Spectral Element Method code (in Fortran 90) and utilities for the study of seismic wave propagation in sedimentary basins and earthquake dynamics.
  • FELO - A one-dimensional, SDDS compliant, time-dependant free electron laser oscillator code
  • TAU - a portable profiling and tracing toolkit. To use with g95, configure with: % configure -fortran=g95 [... other flags]
  • MM5 - a limited-area, nonhydrostatic, terrain-following sigma-coordinate model designed to simulate or predict mesoscale atmospheric circulation.
  • MCNPX - a general-purpose Monte Carlo radiation transport code for modeling the interaction of radiation with everything
  • CABLE - Community Atmosphere Biosphere Land Exchange land surface model
  • DOUG - Domain Decomposition on Unstructured Grids
  • mpiSim - simulates a subset of MPI library routines
  • Whizard - a generic Monte-Carlo generator for multi-particle processes at high-energy colliders
  • DIF3D - a computer program to solve the neutron diffusion equation. Developed by Argonne National Laboratory
  • MathCode F90 - generates optimized Fortran 90 code that can be compiled and connected seamlessly into Mathematica
  • GlobSol - asystem for solving global optimization problems in a validated way using interval arithmetic
  • ESME - an accelerator beam simulation program
  • MESA - Modules for Experiments in Stellar Astrophysics
  • Dacapo - a total energy program based on density functional theory
  • Forthon - Python interface generator for Fortran based codes
  • Eiger - integral equation code for frequency-domain electromagnetics and electrostatics
  • SunShell - Nuclear Shell Model Codes
  • SAGE - Open Source Mathematics Software
  • SNOPT - sparse nonlinear programming package from UCSD & Stanford U.
  • DDSCAT - a Fortran code for calculating scattering and absorption of light by irregular particles
  • SPLASH - a visualisation tool for astrophysical simulations
  • Eigenray - acoustic ray propagation code for calculating the basic properties of rays over long ranges in deep water
  • SYNAPS - a library devoted to symbolic and numeric computations
  • Tetra - Computational Fluid Dynamics code for Direct Numerical Simulation and adjoint based optimization.
  • Princeton Ocean Model (POM) - ocean modeling code
  • MCNPX - Monte Carlo Neutral Particle transport with high-energy physics extensions
  • ERANOS 2.0 - a code suite for fast reactor neutronics and reactor physics calculations
  • MUESLI - a free numerical and graphical library, written mainly in Fortran 95. Very close to MATFOR which allows a MATLAB-like syntax in the Fortran code.
  • NIST - F77 test suite
  • Have you tested some code that could be listed here? Send your suggestions to: tcc@sentex.net

Ports of G95

G95 works on the following operating systems and architectures:

  • Linux on x86, PowerPC, 64-bit Opteron, 64-bit Itanium, 64-bit Alpha
  • OSX on Power Mac G4, x86-OSX
  • FreeBSD on x86
  • MS Windows versions: Cygwin, MinGW, & Interix
  • HP-UX 11
  • Solaris
  • OpenBSD, NetBSD
  • AIX
  • IRIX
  • Tru64 UNIX on Alpha

Coming Soon...

  • Improved GDB support
  • EP support
  • Garbage collection based memory management-- detection of leaks when they happen
  • Enhanced code checking features
  • Interactive Fortran source browser

Last update: 1 December 2008