On Sunday, 13 August 2017 at 14:58, Matthew Miller wrote:
On Sun, Aug 13, 2017 at 11:01:04AM +0200, Kevin Kofler wrote:
> Can't we make it a drop-in replacement for reference BLAS/LAPACK and ATLAS,
> i.e., having symlinks or linker scripts pointing at least libblas.so and
> liblapack.so to libopenblas.so.*, ideally also libblas.so.3 and
> liblapack.so.3 so that no rebuilds are necessary and so that things using
> dlopen and third-party binary blobs also use OpenBLAS?
>
> The current situation where we have 3 different BLAS implementations and
> where for most programs, depending on your setup, you get either the worst
> one (reference BLAS) or a suboptimal one (ATLAS compiled for the baseline
> architecture), but never the best one (OpenBLAS with runtime CPU detection),
> is a mess.
This sounds like a good idea (and worthy of a Change). I hate to
suggest Alternatives but maybe it's appropriate here?
It also needs some patching, because each library has a different
SONAME. I think atlas used to provide a drop-in replacement, but
it was abandoned on the premise that scientific codes are compiled
specifically for their target clusters anyway and Intel's math library
(MKL) doesn't provide a drop-in replacement.
Regards,
Dominik
--
Fedora
https://getfedora.org | RPMFusion
http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan