This page is for linking to available Fortran libraries and source code repositories. See Software repositories for collections of libraries and see Library distribution for methods for packaging and distributing Fortran libraries.
Libraries linked here are classified as follows:
(PD) public domain (e.g., software written by the U.S. government)
(OS) free and open source software (GPL, LGPL, BSD, and similar licenses)
(NC) free for noncommercial use, possibly with commercial licensing options
(C) commercial
(?) unspecified license
When available, the above tags should link to the license page for a particular library, or to the text of the license itself.
General-Purpose Libraries
FGSL - A Fortran interface to the GNU Scientific Library. (OS: GPL)
FLIBS is a collection of Fortran modules by Arjen Markus and Michael Baudin. (OS: BSD)
FortranCL a Fortran interface for OpenCL, allows to execute code on GPUs and accelerators directly from Fortran. (OS: LGPL)
FortCUDA A native Fortran interface to the CUDA GPU library. Contains a Python pre-processor to parse the CUDA C headers and creates ISO_C_BINDING interfaces for the method calls. Comes with a fairly complex example. (OS: GPL)
Numerical, Scientific, and Mathematical Libraries
SLATEC Common Mathematical Library: a comprehensive software library containing over 1400 general purpose mathematical and statistical routines written in Fortran 77. (PD)
CERNLIB, a collection of FORTRAN 77 libraries and modules maintained by CERN. (OS: GPL)
SLATEC, a Fortran 90 version by John Burkardt. (?)
FLAGON, a Fortran-9X library for GPU numerics. (OS: LGPL)
ARPREC, a C++/Fortran 90 library for arbitrary precision math. Includes a complete interactive high-precision arithmetic computing interpreter (“toolkit”) written in Fortran, that will integrate symbolic expressions etc. (OS: BSD)
MPFUN90, a pure Fortran 90 library for arbitrary precision math. Includes a complete interactive high-precision arithmetic computing interpreter (“toolkit”) written in Fortran, that will integrate symbolic expressions etc. (OS: BSD)
starpac, A Fortran 77 statistical library writen by John Koontz and Janet Donaldson (at NIST) (PD)
datapac, A Fortran 77 statistical library written by James Filliben (at NIST) (PD)
stspac, A Fortran 77 statistical library written by Charlie Reeves (at NIST) (PD)
MISCLIB, a library of statistical and support routines, written by Barry Brown (M.D.Anderson Cancer Institute) - open source
Optimization and Solvers
MINPACK contains routines for solving nonlinear equations and nonlinear least squares problems. (OS: BSD)
Plotting and Graphics
ogpf is an object based Fortran 2003 / Fortran 2008 code implements an interface to gnuplot. (PD)
gtk-fortran is a new cross-platform library to build Graphical User Interfaces (GUI). It is a GTK+ / Fortran 2003 binding based on the ISO_C_BINDING module. (OS: GPL)
GNUFOR2 is a Fortran 90 interface to Gnuplot which helps to plot graphs, surfaces, histograms and images. (?)
DISLIN is a high-level scientific data plotting library. (NC)
F90GL - Fortran 90 bindings for OpenGL and the GL Utility Toolkit (GLUT) (PD)
F03GL - Fortran 2003 bindings for OpenGL, GLU and GLUT ([?][?])
g2 is an easy to use, portable and powerful 2D graphics library. Currently supported devices: PostScript, X11, PNG and JPEG (using gd) and Win32 (xfig in development). g2 is written in C (ANSI) and has a Fortran interface. (OS: LGPL)
g95gl - Alternate Fortran 95 (interop) bindings for OpenGL and the GL Utility Toolkit (GLUT)
MathGL is a library for making high-quality scientific graphics under Linux and Windows via Qt, FLTK or OpenGL. ([OS: GPL][OS: GPL])