FlexiBLAS - A BLAS and LAPACK wrapper library with runtime exchangable backends
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. We present 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. Numerical experiments show that there is no notable overhead introduced by this new approach. 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.
- Runtime exchangable BLAS and LAPACK backend without recompilation of any software.
- Supports all BLAS functions and al LAPACK functions from Version 3.9.0 with an 100% BLAS and LAPACK compatible ABI/API.
- Flexible per system/per user/per host configuration files.
- Integration of user-owned BLAS libraries without administrator priviledges even in system wide installed programs.
- Interface for GNU Octave to change the BLAS backend at runtime.
- Works with NETLIB-BLAS, OpenBLAS, ATLAS, Intel MKL, BLIS, ...
- Aware of 32-bit and 64-bit integers
- New: Introspection API to build analysis and profiling tools.
Planed Features / In Development
- Replay functionality to simulate all BLAS calls with different BLAS implementations.
- GPU offloading backend to accelerate BLAS calls on GPU enabled systems.
- Continuous import of new LAPACK versions.
- Suffixed symbols for better interoperability with Julia
- flexiblas-3.0.0.tar.gz - The FlexiBLAS Library (Version 3.0.0)
- flexiblas-3.0.0.tar.bz2 - The FlexiBLAS Library (Version 3.0.0)
- flexiblas-3.0.0.tar.xz - The FlexiBLAS Library (Version 3.0.0)
- flexiblas-octave-3.0.0.tar.gz - Addon package for GNU Octave 5.x
- flexiblas-2.0.0.tar.gz - The FlexiBLAS Library (Version 2.0.0)
- flexiblas-2.0.0.tar.bz2 - The FlexiBLAS Library (Version 2.0.0)
- flexiblas-2.0.0.tar.xz - The FlexiBLAS Library (Version 2.0.0)
- flexiblas-octave-2.0.0.tar.gz - Addon package for GNU Octave 4.x
- flexiblas-1.3.1.tar.gz - The FlexiBLAS Library
- flexiblas-octave-1.3.0.tar.gz - Addon package for GNU Octave
- portage.tar.gz - A local portage overlay for Gentoo x86 and amd64 systems.
Public git repository: https://gitlab.mpi-magdeburg.mpg.de/software/flexiblas-release
Simply download the source tarball and follow the steps described in the README.md file therein. Alternatively, you can check the Installation Instructions page for a method with better integration into your systems package management.
- Talk: GAMM Annual Meeting 2018 - TU Munich
- Talk: Faculty of Computer Science - OVGU Magdebburg
- Poster: CoSaS 2018 - FAU Erlangen
- Poster: OctConf 2015 - TU Darmstadt
- LAPACK Working Note 284 - FlexiBLAS - A flexible BLAS library with runtime exchangeable backends