scipy appears to have some problem with lapack: the example code below fails to run. Reproducible: Always Steps to Reproduce: import numpy import scipy s=numpy.asarray([[1.0]]) e, v = scipy.linalg.eigh(s) print(e,v) Actual Results: $ python3 test.py Traceback (most recent call last): File "/tmp/test.py", line 5, in <module> e, v = scipy.linalg.eigh(s) ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/scipy/linalg/_decomp.py", line 560, in eigh w, v, *other_args, info = drv(a=a1, **drv_args, **lwork_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _flapack.error: (liwork>=max(1,10*n)||liwork==-1) failed for 10th keyword liwork: dsyevr:liwork=1 Expected Results: Code prints out eigenvalue [1] with eigenvector [[1]]
In addition to Fedora 40, it looks like the same problem also affects rawhide. Both on the x86_64 architecture.
It looks like this is an upstream compatibility issue with OpenBLAS 0.3.26 that has already been addressed https://github.com/scipy/scipy/issues/19831 https://github.com/conda-forge/scipy-feedstock/pull/268
Thanks for the report, I backported the upstream patch but then other issues popped up, so I think it makes more sense to focus on a rebase to the latest upstream version.
FEDORA-2024-4f13d1f1ca (scipy-1.11.3-11.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-4f13d1f1ca
FEDORA-2024-7b36e304ec (scipy-1.11.3-16.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-7b36e304ec
FEDORA-2024-7b36e304ec has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7b36e304ec` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7b36e304ec See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-4f13d1f1ca has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4f13d1f1ca` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4f13d1f1ca See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-4f13d1f1ca (scipy-1.11.3-11.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-7b36e304ec (scipy-1.11.3-16.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.