-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Upgrade to OpenBLAS 0.3.18 and make Sage fat binaries portable #32424
Comments
comment:1
The signal error is caused by Iml itself doesn't use architecture specific instructions, but the dependencies are. |
This comment has been minimized.
This comment has been minimized.
comment:3
I suspect the cause is OpenBLAS. While this library is built with DYNAMIC_ARCH=1, there is still the non-performance critical code in it which will use whatever instructions are available on the machine at compile time unless you also set TARGET. See For the macOS app, Marc Culler had to set TARGET=CORE2 in addition to DYNAMIC_ARCH=1 so that it would run on a 2013 cylindrical Mac Pro. |
Commit: |
Author: Isuru Fernando |
Branch: u/isuruf/openblas-target |
comment:6
should we also throw in an openblas upgrade? https://repology.org/projects/o/?inrepo=sagemath_stable |
comment:7
Yes, that would be good to have. I didn't realize openblas was way behind. |
comment:8
on macOS:
|
Changed branch from u/isuruf/openblas-target to u/mkoeppe/openblas-target |
New commits:
|
Changed keywords from none to upgrade, openblas |
Changed branch from u/mkoeppe/openblas-target to u/isuruf/openblas-target |
Changed author from Isuru Fernando to Isuru Fernando, Matthias Koeppe |
comment:71
The build log is identical to one with |
comment:72
config.h:
|
comment:73
My configuration (works): Makefile.conf:
config.h:
|
comment:74
Replying to @vbraun:
The files that you showed in comment:70, comment:72 have HAVE_AVX, so what's going on? |
comment:75
PENRYN=1 is apparently not the same as CORE=PENRYN I do have AVX (and building with TARGET=PENRYN HAVE_AVX=1 works fine):
|
comment:76
Replying to @mkoeppe:
So when you pass |
comment:77
config.h
Makefile.conf
|
comment:78
Its weird that |
comment:79
The culprit seems to be
increasing it to 64, say, fixes the segfault |
comment:80
Report upstream? |
comment:81
I've made a branch at
|
comment:82
Though dgemv_n.S hasn't been touched in 8 years ;) |
comment:83
This is OpenMathLib/OpenBLAS#3421, patch is in the linked PR |
Changed branch from u/mkoeppe/packages/openblas/0.3.18 to u/vbraun/packages/openblas/0.3.18 |
Changed reviewer from Matthias Koeppe, Dima Pasechnik to Matthias Koeppe, Dima Pasechnik, https://github.com/mkoeppe/sage/actions/runs/1429845185, https://github.com/mkoeppe/sage/actions/runs/1429845182 |
comment:85
Testing with a bunch of other upgrade tickets New commits:
|
Changed reviewer from Matthias Koeppe, Dima Pasechnik, https://github.com/mkoeppe/sage/actions/runs/1429845185, https://github.com/mkoeppe/sage/actions/runs/1429845182 to Matthias Koeppe, Dima Pasechnik, https://github.com/mkoeppe/sage/actions/runs/1430376304, https://github.com/mkoeppe/sage/actions/runs/1430376300 |
comment:87
Tests look good |
Changed reviewer from Matthias Koeppe, Dima Pasechnik, https://github.com/mkoeppe/sage/actions/runs/1430376304, https://github.com/mkoeppe/sage/actions/runs/1430376300 to Matthias Koeppe, Dima Pasechnik |
Changed author from Isuru Fernando, Matthias Koeppe to Isuru Fernando, Matthias Koeppe, Volker Braun |
Changed branch from u/vbraun/packages/openblas/0.3.18 to |
as reported in:
Related:
SAGE_FAT_BINARY
CC: @williamstein @kliem @dimpase @NathanDunfield @culler @slel @orlitzky @vbraun @maxale @sagetrac-tmonteil @jhpalmieri
Component: porting
Keywords: upgrade, openblas
Author: Isuru Fernando, Matthias Koeppe, Volker Braun
Branch/Commit:
2f5f195
Reviewer: Matthias Koeppe, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/32424
The text was updated successfully, but these errors were encountered: