Planned intervention: On Wednesday June 26th 05:30 UTC Zenodo will be unavailable for 10-20 minutes to perform a storage cluster upgrade.

There is a newer version of the record available.

Published May 21, 2024 | Version 3.4.3
Software Open

FlexiBLAS - A BLAS and LAPACK wrapper library with runtime exchangeable backends

  • 1. Max Planck Institute for Dynamics of Complex Technical Systems


The BLAS library is one of the central libraries for the implementation of numerical algorithms. It serves as the basis for many other numerical libraries like LAPACK, PLASMA or MAGMA (to mention only the most obvious). Thus, a fast BLAS implementation is the key ingredient for efficient applications in this area. However, for debugging or benchmarking purposes it is often necessary to replace the underlying BLAS implementation of an application, e.g. to disable threading or to include debugging symbols. The FlexiBLAS library is a novel framework that allows one to exchange the BLAS implementation at run-time via an environment variable. Our concept neither requires relinkage, nor recompilation of the application. For only a very little overhead, the framework naturally extends to a minimal profiling setup that allows one to count numbers of calls to the BLAS routines used and measure the time spent therein. Beside the 140 BLAS routines, the FlexiBLAS library also provides wrappers around the LAPACK routines from LAPACK 3.4.0 to 3.12.0.


Files (130.8 MB)

Name Size Download all
42.7 MB Download
71.4 MB Download
16.7 MB Download
7.5 kB Download

Additional details