fortran-lang/stdlib

Created Mar 19, 2022 · View the fortran-lang/stdlib repository page

Fortran Standard Library

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

59

Lines of Code

3,188

From

Dec 14, 2019

To

Mar 3, 2022

About fortran-lang/stdlib

The Fortran Standard Library is a community-driven standard library for Fortran, created to fill the gap left by the ISO Fortran Standard, which does not include a standard library. The project serves as both a specification and reference implementation, developed through a rigorous process in cooperation with the Fortran Standards Committee. The goal is to eventually influence official standardization efforts.

The library provides comprehensive utilities and algorithms across multiple domains. It includes utilities for containers, strings, file handling, OS integration, unit testing, logging, and bitsets. Its algorithm implementations cover searching, sorting, and merging operations. The mathematics modules are extensive, offering linear algebra with BLAS and LAPACK support (including both 32-bit and 64-bit integer interfaces), special functions, fast Fourier transforms, random number generation, statistics, numerical integration through quadrature methods, and solvers for ordinary differential equations and sparse matrices. The library can use external optimized BLAS and LAPACK implementations or use its own bundled versions.

The project targets Fortran 2008 and 2018 compliant compilers, with testing on GCC Fortran, Intel oneAPI, and MinGW across Linux, macOS, and Windows platforms. It uses CMake or the Fortran Package Manager (fpm) for builds, with fypp as a meta-programming tool for templating. The library is designed to be integrated into other projects through CMake, fpm, pkg-config, or traditional Makefiles, making it accessible to both modern and legacy Fortran development workflows.

Share this video