-
-
Notifications
You must be signed in to change notification settings - Fork 481
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 Singular to 3-1-3-3 #10903
Comments
comment:2
Last time I tried libsingular from 3.1.2 didn't play well with sage (sage couldn't build). It is documented somewhere on sage-devel. |
comment:4
sorry for the double pasting the mouse is vintage. |
comment:5
Updating singular to at least 3-1-3 (if it's out...) will also help the ARM port, as it's one of the few packages which still give issues with 4.6.2. |
comment:6
Indeed 3-1-3 is out now. Already 3-1-2 adds a lot of functionality for polynomials over the integers which would be very helpful to have in Sage! |
comment:7
Trying to compile libsingular with this version and trying to link it to sage is on my TODO list. The singular 3-1-3 executable as called by the pexpect interface breaks a few doctest because normalization has been changed. |
comment:8
Just FYI, I'm cutting a p10 shortly with a very small fix for Cygwin in it (see #11550), so if someone if making this package, it would be great to base off that. |
comment:9
Replying to @SnarkBoojum:
Cf. #10810. If someone touches the Singular spkg, please also add a patch for #11645 in case it should then still be necessary. (I've submitted one upstream, see http://www.singular.uni-kl.de:8002/trac/ticket/352#comment:15). |
Changed keywords from singular to singular SageDays34 |
comment:10
Replying to @kcrisman:
FWIW, the Singular spkg from #11550 will probably become a p12, since #11663 meanwhile provides a p11 (which Karl-Dieter's will have to get rebased on again). I'll then perhaps provide a p13 based on that fixing #11645. :) Anyway, I guess upgrading Sage's Singular will be attempted during the Sage/Singular Days in Kaiserslautern at the end of September, so we have some time until then... |
Changed keywords from singular SageDays34 to singular SageDays34 sd34 |
This comment has been minimized.
This comment has been minimized.
comment:12
I haven't run any tests yet and the changes in the SPKG are not committed (because our patches will probably be accepted upstream before 3-1-4 comes out). |
Author: Burcin Erocal, Martin Albrecht |
comment:14
Replying to @malb:
The spkg name should contain the svn version you are using. Regarding the patch to Please don't randomly add all libraries any extension module using Singular might also use to |
comment:15
doctests hang here:
they also crash in other places. Thus, more fun ahead. |
comment:16
Replying to @malb:
How about starting with 3-1-3 and some important upstream patches? |
comment:17
I'm in Kaiserslautern right now, so I have direct access to the Singular developers. Hence, actually fixing the issues seems like the order of the day. |
Dependencies: #11339 |
comment:19
With
I currently get these doctest failures.
|
comment:20
With the updated SPKG & patch I get:
Numerical noise, nothing serious
crash
crash
Factorisation over number fields goes horribly wrong |
This comment has been minimized.
This comment has been minimized.
comment:22
Hans created a new branch of Singular, where the algebraic extensions are reverted to the old implementation. Using this branch, available in SPKG form at: http://sage.math.washington.edu/home/malb/spkgs/singular-3-1-3.svn-algnumbers.spkg the crashes seem to go away (at least for everything in sage/rings). |
comment:23
Output of
i.e., crashes. |
comment:24
I just updated the spkg such that |
comment:112
Replying to @nexttime:
But |
comment:113
Replying to @nexttime:
What do you mean with this? How is the message
more clear than something like
In any case, I don't see what this has to do with parallel builds. Can anybody tell me how we should proceed? |
comment:114
Leif wants to be able to grep the install.log for "Error", I think. Thats not particularly high on my agenda, though. Especially since patch will either already fail at the developer's machine or always work (assuming that the hardware is working). |
comment:115
Replying to @vbraun:
BTW: So it's not mandatory anymore to "unroll" patches in the spkg, i.e. to deliver the patched file and use |
comment:116
Replying to @jdemeyer:
The new spkg builds and installs on SuSE 11 amd64 and OS X 10.5 ppc. The tests are running (fine so far). Somebody should test it on Solaris though. |
comment:117
Replying to @alexanderdreyer:
Not any more, we have included patch as a standard spkg! |
comment:118
Replying to @vbraun:
Nice! |
comment:119
Replying to @jdemeyer:
It isn't more clear (the "Error: ..." would be printed in addition anyway, although an "ordinary" user would perhaps not know what a hunk is or the message is all about), but you can easily grep for it, so every error message should start with "Failed" or (preferably) "Error". (Volker, btw., the new ATLAS spkg is an IMHO poor counterexample to that, as it raises unhandled exceptions such that one gets tracebacks instead of meaningful error messages.) The Sage library, which is built in parallel by default, is also a bad exception to this; it's often hard to see what really failed, not to mention the odd warnings about
Well, the screen output (and hence To see what went wrong or which spkgs failed to build / didn't pass the (self-)test suite, one can usually do $ egrep '^(Error|Failed) ' spkg/logs/* with variations on It wouldn't be bad to add something similar to the top-level
Well, it's a minor issue of course. But we should IMHO avoid such in the future. I still cannot really tell whether this spkg (along with the patches) causes more doctests to fail on Linux PPC64 (the Skynet machine Silius; SLES 11.1, POWER7), since I've experimented with various things on that machine, and I haven't yet had the time to reliably compare builds which really only differ w.r.t. this ticket (and #11339). In case this ticket should cause more problems on that platform, we could (hopefully) fix these on a follow-up, since there are other spkgs which apparently are still broken on it (also depending on the compiler version and options), so building Sage there is currently pretty experimental anyway. |
comment:120
Replying to @nexttime:
But every failed spkg also prints the message
One can easily |
Attachment: singular-3-1-3-3.p0-p1.diff.gz diff for the new Singular spkg, for review only |
comment:121
New spkg with error messages for failed patches: http://boxen.math.washington.edu/home/jdemeyer/spkg/singular-3-1-3-3.p1.spkg. Needs review. |
comment:122
Looks good. I take it from your comment that it works on OSX/PPC. Positive review. |
comment:124
Replying to @vbraun:
For the record: I also managed to build, install and succesfully run all tests on SuSE 11.1 SP1 and OSX 10.6 ppc. |
comment:125
Replying to @vbraun:
Looks better. Btw., I sometimes also grep for |
comment:126
trac_10903_singular-fixes.patch seems to remove the functionality of the parameter omit_underscore_names in sageinspect.py's sage_getvariablename(). Was that done on purpose? |
Singular spkg upgrade
Singular 3-1-2 fixes a critical bug, cf. #10902. There are more bugfixes in the newest stable release. We should update as soon as possible.
Sage libsingular upgrade
There are various issues where
currRing
is not correctly set. Some of these are triggered by refcounting the rings and freeing them when they are no longer needed, see the dependency ticket #11339.Installation instructions
Install: http://boxen.math.washington.edu/home/jdemeyer/spkg/singular-3-1-3-3.p1.spkg
Apply the two dependency patches from Refcounting for Singular rings #11339
Apply: attachment: 10903_flat.patch
Depends on #11339
CC: @zimmermann6 @simon-king-jena
Component: packages: standard
Keywords: singular SageDays34 sd34
Author: Burcin Erocal, Martin Albrecht, Volker Braun, Simon King
Reviewer: Martin Albrecht, Volker Braun, Simon King
Merged: sage-4.7.2.alpha4
Issue created by migration from https://trac.sagemath.org/ticket/10903
The text was updated successfully, but these errors were encountered: