Skip to content
Fortran Standard Library
Fortran CMake Makefile
Branch: master
Clone or download
certik Merge pull request #109 from nncarlson/target-include
Update CMakeLists handling of .mod files
Latest commit dc7e49b Jan 15, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows ci ctest enhancements Jan 6, 2020
doc first commit Dec 14, 2019
src Update CMakeLists handling of .mod files Jan 13, 2020
.editorconfig Also update .editorconfig Dec 31, 2019
.gitattributes Ensure line endings are handled by git Dec 29, 2019
.gitignore make savetext test use defined output dir, not in source Dec 31, 2019
CNAME Create CNAME Dec 18, 2019 first commit Dec 14, 2019 first commit Dec 14, 2019
LICENSE first commit Dec 14, 2019
Makefile.manual Make: rename FCFLAGS to FFLAGS Jan 3, 2020 add system module Jan 8, 2020 Let's use 4 spaces instead of 2 Dec 31, 2019 Update the workflow based on feedback Jan 7, 2020

Fortran Standard Library

Actions Status Actions Status

Goals and Motivation

The Fortran Standard, as published by the ISO (, does not have a Standard Library. The goal of this project is to provide a community driven and agreed upon de facto "standard" library for Fortran, called a Fortran Standard Library (stdlib). We have a rigorous process how stdlib is developed as documented in our Workflow. stdlib is both a specification and a reference implementation. We are cooperating with the Fortran Standards Committee (e.g., the effort started at the J3 committee repository) and the plan is to continue working with the Committee in the future (such as in the step 5. in the Workflow document), so that if the Committee wants to standardize some feature already available in stdlib, it would base it on stdlib's implementation.


The goal of the Fortran Standard Library is to achieve the following general scope:

  • Utilities (containers, strings, files, OS/environment integration, unit testing & assertions, logging, ...)
  • Algorithms (searching and sorting, merging, ...)
  • Mathematics (linear algebra, sparse matrices, special functions, fast Fourier transform, random numbers, statistics, ordinary differential equations, numerical integration, optimization, ...)

Getting started

Get the code

git clone
cd stdlib

Build with CMake

cmake -B build

cmake --build build

cmake --build build --target test

Build with make

Alternatively, you can build using provided Makefiles:

make -f Makefile.manual



You can’t perform that action at this time.