-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Update LinBox to most recent upstream release #12883
Comments
comment:1
What's the title supposed to tell us (if you get build errors with that version)? For GCC 4.7.x / C++11 issues see #12762; for (problems with) updating LinBox see #11718. (I think I've read about complications when trying to upgrade to 1.2.2 elsewhere as well.) See #12865 for yet another issue, which is still present in 1.2.2. |
comment:2
Sorry for lack of a better description. I am trying to address and submit reports to involved upstream parties about some patches and version issues of some components, while checking how far I can go building sagemath in Fedora, and using Fedora packages. For example, the first error:
in
Same happens for Also
in the sagemath linbox-1.1.6 spkg, to
in linbox-1.2.2. I am trying to have upstream aware of these issues, and if not possible to get components working, I can try to get an extra linbox 1.1.6 package in Fedora. |
comment:3
Upstream linbox 1.2.2 should need this patch
But it is not yet enough because the sage matrix interface was changed from "jagged pointers" to a single sequential vector. I believe I could make a patch for |
Experimental linbox 1.2.2 patch |
comment:4
Attachment: sage-4.8-linbox.patch.gz The attached patches allow continuing experimenting with a new sagemath rpm. This is not a proposal of a final patch, but a extra call for more feedback. As this was also the first time I actually did look at linbox code, so, just patched the interfaces to make both sides agree. |
fflas-ffpack-64bit.patch |
Attachment: fflas-ffpack-64bit.patch.gz Attachment: linbox-sagemath.patch.gz linbox-sagemath.patch |
comment:5
Is it reasonably to define mod_int to C long? If not, safest approach should be to use uint32_t I believe, otherwise, should require coding 64 bit templates in linbox 1.2.2. The new attached fflas-ffpack-64bit.patch is required to generate proper 64 bit code, and the updated linbox-sagemath.patch should be very close to the final format, but note that in 64 bit arch, linbox 1.2.2 with the attached patches needs also to have -D!__LINBOX_HAVE_INT64=1 in CFLAGS and CXXFLAGS. I should update the sage-4.8-linbox.patch at some point, as the initial patch I attached was only enough to get to another build failure in Fedora. But the next update should be for sage-5.0. |
comment:6
I cut new SPKGs for LinBox and FFLAS/FFPACK: http://sage.math.washington.edu/home/malb/spkgs/fflas_ffpack-1.5.0.spkg http://sage.math.washington.edu/home/malb/spkgs/linbox-1.3.0.spkg I am tracking SPKG repositories here: https://bitbucket.org/malb/fflas-ffpack-spkg https://bitbucket.org/malb/linbox-spkg I will go through your patches now. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Author: Paulo César Pereira de Andrade, Martin Albrecht |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:17
All doctests pass on geom.math and my machine with 5.0.1. |
comment:80
Replying to @vbraun:
This is all very true, but no good excuse for sloppy rebasing... |
This comment has been minimized.
This comment has been minimized.
comment:82
Rebased from scratch, needs review. |
This comment has been minimized.
This comment has been minimized.
Diff for linbox 1.1.6.p11->1.3.2. For reference / review only. |
comment:84
Attachment: linbox-1.3.2.diff.gz |
Merged: sage-5.4.beta1 |
comment:85
Could this cause the following sporadic doctest error:
(the string "you are running out of primes" certainly comes from the new LinBox package). |
comment:86
I've posted this question to the linbox-use mailinglist https://groups.google.com/d/topic/linbox-use/SgsXVYM7u7s/discussion |
comment:87
FYI: I did 4000 doctest runs and this happened 9 times, so it is quite rare. Because of the rarity, it doesn't have to be a sage-5.4 blocker, but of course I'd like to see it fixed. |
comment:88
With previous LinBox versions, this file sometimes (equally rarely) timeouts in doctests. So maybe it's the same issue, but with a timeout before, and an error now. |
comment:89
Unfortunately, no response from upstream concerning the "running out of primes" error. |
The version of LinBox used in Sage is 4 years old, we should update.
SAGE_ROOT
repositorySAGE_LOCAL/bin
) repository.SPKG Repositories:
Note for release manager: This ticket must be merged simultaneously with #13164, they depend on each other.
Depends on #13118
Depends on #12840
Depends on #12841
Depends on #13164
Upstream: Fixed upstream, but not in a stable release.
CC: @jpflori
Component: linbox
Author: Paulo César Pereira de Andrade, Martin Albrecht
Reviewer: Volker Braun, Jeroen Demeyer
Merged: sage-5.4.beta1
Issue created by migration from https://trac.sagemath.org/ticket/12883
The text was updated successfully, but these errors were encountered: