Fortran Wiki
Libraries (Rev #43)
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
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)
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)
- SLICOT - The Control and Systems Library (GPL)
- Muesli - A free numerical and graphical Fortran 95 library written by Edouard Canot at IRISA (OS)
Linear Algebra
- BLAS: Basic Linear Algebra Subprograms that provide standard building blocks for performing basic vector and matrix operations (PD)
- Expokit provides matrix exponential routines. (NC)
- LAPACK is the standard package for numerical linear algebra. (OS: BSD)
- LAPACK95 is a Fortran 95 interface for LAPACK. (OS)
- BLAP95 - a Fortran 95 interface to the Level 3 BLAS routines and key LAPACK computational and driver routines. ([?])
- NETLIB freely available mathematical and scientific software much of it in Fortran 77 ([?])
Statistics and Econometrics
- 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
- 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)
- 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.
- 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)
- PGPLOT graphics subroutine library. (NC)
- EGGX/ProCALL is an X11 graphics library for C and FORTRAN created to achieve extreme simplicity. Uses only Xlib.
- GNUFOR2 is a Fortran 90 interface to Gnuplot which helps to plot graphs, surfaces, histograms and images. (?)
Differential Equations
- ODEPACK is a systematized collection of ODE solvers. (PD)
Permutations
- ORDERPACK is a library with routines for unconditional, unique, and partial ranking, sorting, and permutation. (?)
Command-Line Parsing
- KRACKEN: a library for parsing Unix-like command-line arguments. (OS)
Command History Editor
- JUCMD: a library that permits you to list, recall, save, and modify interactive input using a simple line-mode editor model. (OS)
XML Parsers
System
- fortranposix - An implementation of some POSIX functions in Fortran 90/95. (OS: LGPL)
- Posix90 - The Fortran 90 Posix interface project. (OS: GPLv2+)