-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Repair use of system BLAS broken by #29025: remove numpy site.cfg [DEFAULT/ALL] sections #29051
Comments
comment:2
I now see this on Arch on #29071 (with openblas from the system) |
comment:3
#29025 broke buidling scipy with system's OpenBLAS. I'm now looking into how to tweak |
comment:4
Something that weirded me a bit in #29025. Why keep the |
comment:6
Should we just revert #29025 ? I don't see an easy fix for it, without digging into numpy mess. |
comment:7
After reverting, is [ALL] needed? |
comment:8
No, [ALL] with just paths in it has no effect, according to numpy people. What was the orginal need for [DEFAULT] in #29025 ? |
comment:9
seems to work just as well. |
comment:10
If we did the work properly with the like of |
New commits:
|
Author: Dima Pasechnik |
Commit: |
comment:12
Replying to @kiwifb:
IMHO all these paths are better set up per library-specific section ( |
Attachment: vdelecroix-config.log |
comment:13
Attachment: vdelecroix-numpy-1.16.1.log Thanks to Dima (and #29071 and the branch here), I got Sage compile up to numpy. It ends up with some linking trouble. See |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
the commit at comment:15 fixes the latest problem. |
comment:17
Testing at https://github.com/mkoeppe/sage/actions?query=workflow%3A%22Run+SAGE_ROOT%2Ftox.ini%22 |
comment:18
At |
comment:19
Errors on various platforms tested at https://github.com/mkoeppe/sage/actions/runs/31716135. Examples:
|
comment:20
Replying to @mkoeppe:
I'll be honest. None of these failures can be a result of this ticket. May be the git branch needs rebasing to include some fix for those separate issues. |
Reviewer: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
comment:21
Yes, this fix should definitely go into the next beta. |
comment:22
Follow-up for the other build issues related to BLAS at #29088. |
comment:23
Replying to @mkoeppe:
Note that Volker silently released 9.1.beta2 yesterday. Should ping him to make a proper announcement. |
comment:24
I just downloaded the 9.1.beta2 tarball today, and on an Ubuntu virtual machine it fails on
The main Sage
Am I doing something wrong? |
comment:25
Replying to @jhpalmieri:
No you are not. This ticket is supposed to deal with the stuff you just experienced. But this ticket is not included in 9.1.beta2, so it is effectively broken for external openblas. |
comment:26
Replying to @kiwifb:
I just realized that, too. When I merge this, |
comment:27
Follow-up = #29071. |
Changed branch from public/packages/numpy/no_DEFAULT_and_ALL_numpy_site_cfg to |
This ticket fixes what was broken by #29025.
Previous related tickets:
pkg-config
to findblas/lapack
site.cfg
needs a[DEFAULT]
sectionReferences:
scipy/setup.py at master · scipy/scipy
https://github.com/scipy/scipy/blob/master/scipy/setup.py
numpy/system_info.py at master · numpy/numpy
https://github.com/numpy/numpy/blob/master/numpy/distutils/system_info.py
python - How to check BLAS/LAPACK linkage in NumPy and SciPy? - Stack Overflow
https://stackoverflow.com/questions/9000164/how-to-check-blas-lapack-linkage-in-numpy-and-scipy
CC: @kiwifb @dimpase @mwageringel @vbraun
Component: packages: standard
Author: Dima Pasechnik
Branch/Commit:
dba7aef
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/29051
The text was updated successfully, but these errors were encountered: