#6391: libGAP! -- create a Cython library interface to gap
----------------------------------------------------------------------------+
Reporter: was |
Owner: was
Type: enhancement |
Status: needs_work
Priority: major |
Milestone: sage-5.3
Component: interfaces |
Resolution:
Keywords: |
Work issues:
Report Upstream: N/A |
Reviewers: Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein
Authors: Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein |
Merged in:
Dependencies: #13211 |
Stopgaps:
----------------------------------------------------------------------------+
Comment (by mmarco):
I think it would be best if the memory limit would be set automatically
deppending on the available RAM in the system.
I just got a segfault playing with a modified version of my patch for
finitely presented groups:
{{{
F=FreeGroup(3)
F.inject_variables()
Defining x0, x1, x2
G=F.quotient([x0^2,x1^2,x2^2,(x0*x1)^3,(x1*x2)^3,(x0*x2)^2])
G.inject_variables()
Defining x0, x1, x2
sage: g=G.gap()
sage: g
<fp group of size 24 on the generators [ x0, x1, x2 ]>
sage: x=x0.gap()
sage: x.Order()
---------------------------------------------------------------------------
ValueError Traceback (most recent call
last)
/home/mmarco/sage-5.2/<ipython console> in <module>()
/home/mmarco/sage-5.2/local/lib/python2.7/site-
packages/sage/libs/gap/libgap.so in
sage.libs.gap.libgap.GapElement_MethodProxy.__call__
(sage/libs/gap/libgap.c:8449)()
/home/mmarco/sage-5.2/local/lib/python2.7/site-
packages/sage/libs/gap/libgap.so in
sage.libs.gap.libgap.GapElement_Function.__call__
(sage/libs/gap/libgap.c:8037)()
ValueError: libGAP: Segmentation fault
}}}
I can send you the whole file with the definition of the classes for G and
x0, but i don't think it would give any useful information here: g is just
a finitely presented group object of the ligbap interface, and x is one of
its generators.
I couldn't reproduce the error.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:76>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.