#17254: Upgrade to Singular-4-0-1
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | f178dfc5c45529826a973815b62ab5be2a7f7136
u/jakobkroeker/ticket/17254 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jakobkroeker):
* cc: malb (added)
* commit: 80a6b05a08e391fa9718e1f83df861c93e2e5967 =>
f178dfc5c45529826a973815b62ab5be2a7f7136
* branch: u/jdemeyer/ticket/17254 => u/jakobkroeker/ticket/17254
Comment:
After a little more tweaking and temporarily disabling the extension
fields/rings,
I was able to build some parts of sage with Singular 4.0.1 on a 'fc18
system' and
then.. sage crashes at start! That happens because I didn't update ring
creation right - I only recently discovered examples at
'./libpolys/tests/rings_test.h'. And some sage packages create common
rings at loading time.
remaining riddles:
- during build one sage file tried to link to -lsingular (I have no idea
why), instead to the libSingular* files (that changed!), so I worked
around by manually creating links to libSingular* files.
- on a ScientificLinux system I get errors like "ImportError:
/home/kroeker/Projects/sage-singular-4.0.1/local/lib/python2.7/site-
packages/sage/rings/polynomial/plural.so: undefined symbol:
wFunctionalBuch". This symbol is in libSingular*
- fix ring creation. See examples at './libpolys/tests/rings_test.h'
- the extension fields will need some more love. See 'algext.h' and
'transext.h'. @Martin: could you take a look?
- some mapping functions (e.g. nr2mMapZp) now require a source and dst
(coefficient) parameter. Not sure if I did it right (source: currentRing,
dest: _ring or vice versa?)
- I didn't fix unused interface definitions in singular-cdefs.pxi. TODO
See branch u/jakobkroeker/ticket/17254
and some notes at https://github.com/jakobkroeker/jk_test_sage/issues/13
If a build get stuck before errors described above, then maybe a 'make
distclean' is necessary.
And of course, the Singular tarball
http://boxen.math.washington.edu/home/jdemeyer/spkg/singular-4.0.1p1.tar.bz2
is required.
Any help appreciated.
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=79c079ff03bc6acfa6caaaf83ffa6912ea8d449c
79c079f]||{{{Upgrade to Singular-4-0-1}}}||
||[http://git.sagemath.org/sage.git/commit/?id=2fcaeb5fadff9391624d03819bd9a4d405fdda72
2fcaeb5]||{{{Update Singular to 4.0.1}}}||
||[http://git.sagemath.org/sage.git/commit/?id=4c0bba332e4d67e3fc28df9b1ec9d136eb895b4a
4c0bba3]||{{{ singular 4.0.1 builds now, but sage does not due to changes
in libsingular?}}}||
||[http://git.sagemath.org/sage.git/commit/?id=80a6b05a08e391fa9718e1f83df861c93e2e5967
80a6b05]||{{{Merge commit '4c0bba3' into ticket/17254}}}||
||[http://git.sagemath.org/sage.git/commit/?id=2ae243af00a11db1a0df12a31bc06b7651d44c17
2ae243a]||{{{messy fixes}}}||
||[http://git.sagemath.org/sage.git/commit/?id=ff2a9dc11f1982d59b620279e3115a869da49d06
ff2a9dc]||{{{required changes for singular to build sage; should be fixed
upstream}}}||
||[http://git.sagemath.org/sage.git/commit/?id=3b7877e78caf76b952d8db36d89790f25fa361f1
3b7877e]||{{{hacking sage to build with Singular 4.0.1. needs more love
for extension coefficient fields and a refactoring}}}||
||[http://git.sagemath.org/sage.git/commit/?id=f178dfc5c45529826a973815b62ab5be2a7f7136
f178dfc]||{{{fixing nr2mMapZp call}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/17254#comment:22>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.