#6391: libGAP!  -- create a Cython library interface to gap
----------------------------------------------------------------------------+
       Reporter:  was                                                       |   
      Owner:  was                                                     
           Type:  enhancement                                               |   
     Status:  positive_review                                         
       Priority:  major                                                     |   
  Milestone:  sage-pending                                            
      Component:  group theory                                              |   
 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:  #13415, #13123, #13211                                    |   
   Stopgaps:                                                          
----------------------------------------------------------------------------+

Comment (by vbraun):

 If `kbmag` only uses stdin/out to communicate with its binary component
 then it should work. The `Exec` GAP function basically works when calling
 it via libGAP
 {{{
 sage: libgap_exec = libgap.eval("Exec")
 sage: libgap_exec
 <Gap function "Exec">
 sage: libgap_exec('echo $HOME')
 /home/vbraun
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)

 /home/vbraun/<ipython console> in <module>()

 /home/vbraun/opt/sage-5.4.rc1/local/lib/python2.7/site-
 packages/sage/libs/gap/element.so in
 sage.libs.gap.element.GapElement_Function.__call__
 (sage/libs/gap/element.c:7929)()

 ValueError: libGAP: Segmentation fault
 }}}
 There is a segfault when returning the result, I'll fix that in another
 ticket (maybe #13588).

 How did you install `kbmag`, I don't think its one that we ship. Is there
 a spkg for it?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:151>
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.

Reply via email to