-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix BLAS-related installation errors on various systems #29088
Comments
comment:1
I don't see how the R error on archlinux-latest-standard:
has anything to do with openblas. |
This comment has been minimized.
This comment has been minimized.
comment:3
Replying to @dimpase:
You are right, I mixed it up. In this run it is fflas_ffpack that has the openblas problems. |
This comment has been minimized.
This comment has been minimized.
comment:5
I think it might be #27444 in the case of fflas_ffpack; not sure about suitesparse, which seem to miss liblapack linked for some reason. |
comment:6
For suitesparse that's because the correct linking options is
|
comment:7
We need more details on the openblas package in arch. The problem in |
comment:8
on arch cblas symbols are not in libopenblas. and lapack symbols are not there either, as we found on #29071 |
comment:9
Replying to @dimpase:
OK that's two issues explained on arch (iml and suitesparse). You are correct in your assessment about fflas-ffpack - which may be due to some function name change in openblas between versions, that would need to be checked. That leaves R which is mysterious but could be down to blas/lapack issue. |
comment:10
everything that is related to problems with using system OpenBLAS on ARch should be fixed by #29071 - at least with the latter on Arch I am able to build Sage's R with system's OpenBLAS. |
Dependencies: #29071 |
comment:12
One fedora-32, I don't quite know what kind of openblas configuration one
I guess one ends up with the last one, I guess it's got a different pkg-config "name". It's not surprise that openblas 0.3.6 doesn't build, it might be just too old for Fedora 32. |
comment:13
Replying to @kiwifb:
also #29084 might be relevant - it looks that there are more packages, apart from |
comment:15
Fedora 31 (and, I guess, 32 too) has no *.pc files for its multiple openblas. (As the reason, they give that they cannot choose the default, that's why) They do have reference implememtations of BLAS, CBLAS, and LAPACK, with *.pc files Meanwhile, libR on Fedora comes with its own BLAS, so it's quite a mess. |
comment:16
An update on the
Then Sage installs openblas-0.3.6.p0 successfully, but various BLAS-using packages (numpy, iml, gsl) fail to build. |
comment:18
gsl problems are different here:
|
comment:19
iml does not find cblas
not sure why.Could it be that re-worked installation of *.pc files is broken? And the same with numpy, I think - an error saying that cblas cannot be found. Could be a too old openblas - the current upstream is 0.3.9. |
comment:20
perhaps we need to update gsl too, GSL 2.6 was released in Aug 2019. |
comment:21
Replying to @dimpase:
Quite possible - please help with reviewing #29082 |
comment:22
I think we can close this one as outdated |
Reviewer: Marc Mezzarobba |
Errors on various platforms tested at https://github.com/mkoeppe/sage/actions/runs/31716135. Examples:
archlinux-latest-standard at https://github.com/mkoeppe/sage/runs/410329835:
Of these, at least the fflas_ffpack error comes from openblas.
ubuntu-bionic-minimal (https://github.com/mkoeppe/sage/runs/410329574)
builds openblas from source, then installing R from source fails with openblas-related errors
fedora-32-standard (https://github.com/mkoeppe/sage/runs/410329823)
configure fails to detect openblas, error building openblas from source
Depends on #29051
Depends on #29071
CC: @dimpase @kiwifb @mwageringel @orlitzky
Component: packages: standard
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/29088
The text was updated successfully, but these errors were encountered: