Many numerical software packages depend on BLAS/LAPACK.
There are several implementation of BLAS/LAPACK. The most commonly used are (except for MKL) in order of increasing performance:
- legacy NETLIB reference implementation
There are fedora packages for all of those.
However can you select at runtime which implementation is to be used by the numerical software in other fedora packages?
On Debian and derivatives, this is achieved by the alternatives system which manages symlinks to one of several libraries sharing the same ABI:
What is the best/cleanest way to achieve this in Fedora? The cleanest I can think of now is to make a libblas symlink in /usr/local/lib to the desired lib and configuring ld to look first in /usr/local under the assumption that the different implementations were built with the same ABI.
Also I am wondering why openblas is not default since Fedora is supposed to be bleeding edge and openblas is usually recommended for best performance.