Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754930 - sci-libs/mkl: symlink provider for BLAS CBLAS LAPACK LAPACKE no longer works
Summary: sci-libs/mkl: symlink provider for BLAS CBLAS LAPACK LAPACKE no longer works
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-16 16:17 UTC by Aisha Tammy
Modified: 2021-01-21 01:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aisha Tammy 2020-11-16 16:17:31 UTC
The current technique for using MKL as a provider is no longer going to be working as Intel have fixed their SONAME behaviour.

This method was faulty to begin with and there is no good solution present

Possible solutions 
1) drop MKL as BLAS/LAPACK provider
2) use chainloading to create a dummy empty library which loads libmkl_rt.so

I am in favor of (2), a working solution is shown in 
https://github.com/bsd-ac/gentoo-blas-lapack

It currently uses the chainloading eclass for OpenBLAS, MKL, BLIS, AOCL BLIS, libflame, and AOCL libflame.

This second technique has had runtime testing by using it for numpy and scipy during their tests and after installation by using it in day to day situations (for around a month).
Comment 1 Benda Xu gentoo-dev 2021-01-20 23:01:24 UTC
@lumin, any ideas on this issue?