-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Random test failure in sage.rings.polynomial.polynomial_element #39460
Comments
|
fflas_ffpack 2.5.0 fails to install
For the sage in the CI, the system fflas_ffpack is used . |
@ClementPernet any help? |
If installing fflas-ffpack spkg is forced bypassing autotuning, then the bug disappears! |
This works fine for me (no bug) with
on ubuntu 24.04. |
well, fixing CI surely can be done this way. OTOH fflas_ffpack was released more than 4 years ago, no wonder it breaks on a much newer OS/compiler |
Doesn't an illegal instruction usually indicate that the code has been compiled for an instruction set that includes an instruction that the actual hardware doesn't support? FFPACK is supposed to be a highly optimized library, right? And for linear algebra, I could see room for using fancy vector instructions. Could it be just a matter that Ubuntu compiled its FFPACK a little enthusiastically in terms of expected architecture and that their standard version happens to assume an instruction that is not available on the CI hardware? Or perhaps not on some CI hardware? It doesn't need to "break" on a newer OS/compiler for this to happen. It could even be a compiler getting smarter and using more of the instruction set available on the stated target; this needing the target to be specified more precisely. I think it mainly points to Ubuntu packaging a miscompiled library and/or github using a ubuntu version that is inappropriate for (some of) the hardware. |
yes, indeed. |
I see. It seems to explain the situation that the ubuntu fflas-ffpack package is compiled for newer instruction set but the hardware (of github ci runner) fails to support it. I wondered why a similar sage docker image works well on WSL on my bare metal. I am not sure about a solution yet... |
This is to track the current CI check failure seen in:
https://github.com/sagemath/sage/actions/runs/13165003478/job/36743502231?pr=39456
for example.
The root cause of the failure seems to be shown by:
On Ubuntu focal and jammy at least,
No crash with the SageMath-10-5 app on macOS:
│ SageMath version 10.5, Release Date: 2024-12-04
│ Using Python 3.12.5. Type "help()" for help.
sage: N = matrix(Integers(7), 2, [1,2,3,4])
sage: N
[1 2]
[3 4]
sage: N.rank()
2
The text was updated successfully, but these errors were encountered: