#9894: Group cohomology spkg, version 2.1
----------------------------------------------------------------------------+
   Reporter:  SimonKing                                                     |   
    Owner:  tbd                                
       Type:  enhancement                                                   |   
   Status:  needs_review                       
   Priority:  major                                                         |   
Milestone:  sage-4.6                           
  Component:  optional packages                                             |   
 Keywords:  modular group cohomology solaris t2
     Author:  Simon King                                                    |   
 Upstream:  N/A                                
   Reviewer:                                                                |   
   Merged:                                     
Work_issues:  Is the code independent of the computer's newline character?  |  
----------------------------------------------------------------------------+

Comment(by kcrisman):

 > Since I can not replicate it on my computer, can you please do/answer
 the following?
 >
 > What version of Sage are you using? What version of Singular is it?
 I have no explanation for the following.
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.5.3, Release Date: 2010-09-04                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: singular_version()
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /Users/crisman/<ipython console> in <module>()

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/sage/interfaces/singular.pyc in singular_version()
    1916     EXAMPLES:
    1917     """
 -> 1918     return singular.eval('system("--version");')
    1919
    1920

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/sage/interfaces/singular.pyc in eval(self, x, allow_semicolon,
 strip, **kwds)
     547
     548         if s.find("error") != -1 or s.find("Segment fault") != -1:
 --> 549             raise RuntimeError, 'Singular error:\n%s'%s
     550
     551         if get_verbose() > 0:

 RuntimeError: Singular error:
    ? cannot open `help.cnf`
 Singular for ppcMac-darwin version 3-1-1 (3114-2010090802)  Sep  8 2010
 02:24:06
 with
         factory(@(#) factoryVersion = 3.1.1),libfac(3.1.1,Feb 2010),
         GMP(4.2),NTL(5.4.2),32bit,static readline,Plural,DBM,
         dynamic modules,OM_NDEBUG,random=1284424481
         CC= gcc -O3 -g -fPIC -pipe -DNDEBUG -DOM_NDEBUG -DppcMac_darwin
 -DHAVE_CONFIG_H,
         CXX= g++ -O3 -g -fPIC -pipe -DNDEBUG -DOM_NDEBUG -DppcMac_darwin
 -DHAVE_CONFIG_H (4.0.1 (Apple Computer, Inc. build 5370))
 argv[0]   :     Singular-3-1-1
 SearchPath:
 
/Users/crisman/Desktop/sage-4.5.3/local/share/singular:/Users/crisman/Desktop/sage-4.5.3/local/LIB
 Singular  :     /Users/crisman/Desktop/sage-4.5.3/local/bin/Singular
 BinDir    :     /Users/crisman/Desktop/sage-4.5.3/local/bin
 RootDir   :     /Users/crisman/Desktop/sage-4.5.3/local
 DefaultDir:     /Users/crisman/Desktop/sage-4.5.3/local
 InfoFile  :
 IdxFile   :
 HtmlDir   :
 ManualUrl :     http://www.singular.uni-kl.de/Manual/3-1-1
 ExDir     :
 Path      :
 
/Users/crisman/Desktop/sage-4.5.3/local/bin:/Users/crisman/Desktop/sage-4.5.3:/bin:/sbin:/usr/bin:/usr/sbin
 EmacsDir  :
 Available HelpBrowsers: dummy, emacs,
 Current HelpBrowser: dummy
    ? error occurred in or before STDIN line 49965: `system("--version");`
 }}}
 But as you can see in the error messages, it's the 3.1.1 devel version,
 and this works:
 {{{
 Crismans-Computer:~ crisman$ Desktop/sage-4.5.3/sage -singular
                      SINGULAR                             /  Development
  A Computer Algebra System for Polynomial Computations   /   version 3-1-1
                                                        0<
      by: G.-M. Greuel, G. Pfister, H. Schoenemann        \   Feb 2010
 FB Mathematik der Universitaet, D-67653 Kaiserslautern    \
 }}}
 > Remove your "private cohomology database" in order to be sure that there
 is no debris left. You will probably not mind to do it by {{{rm -r
 ~/.sage/pGroupCohomology/db/*}}} (or you can move the contents of the
 folder to a backup location). The folder itself must be present, though.
 >
 > Do the following in Sage:
 > {{{
 > sage: from pGroupCohomology import CohomologyRing, _cache
 > sage: G = gap('AlternatingGroup(8)')
 > sage: H = CohomologyRing(G,prime=2,GroupName='A8')
 This fails for me earlier:
 {{{
 sage: from pGroupCohomology import CohomologyRing, _cache
 sage: G = gap('AlternatingGroup(8)')
 sage: H = CohomologyRing(G,prime=2,GroupName='A8')
 ---------------------------------------------------------------------------
 IndexError                                Traceback (most recent call
 last)

 /Users/crisman/<ipython console> in <module>()

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/pGroupCohomology/__init__.pyc in __call__(self, *args, **kwds)
    2676             # By now, we have both subgroups and their cohomology
 rings.
    2677             if not HP.completed:
 -> 2678                 HP.make()
    2679             # not needed for HSyl, since it was computed when we
 did it in the computation of HP
    2680

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/pGroupCohomology/modular_cohomology.so in
 pGroupCohomology.modular_cohomology.MODCOHO.make
 (pGroupCohomology/modular_cohomology.c:46208)()

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/pGroupCohomology/modular_cohomology.so in
 pGroupCohomology.modular_cohomology.MODCOHO.next
 (pGroupCohomology/modular_cohomology.c:45211)()

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/pGroupCohomology/cohomology.so in
 pGroupCohomology.cohomology.COHO.lift_dickson
 (pGroupCohomology/cohomology.c:63567)()

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/pGroupCohomology/modular_cohomology.so in
 pGroupCohomology.modular_cohomology.MODCOHO.PrescribedRestrictions
 (pGroupCohomology/modular_cohomology.c:35570)()

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/pGroupCohomology/modular_cohomology.so in
 pGroupCohomology.modular_cohomology.MODCOHO.decomposable_classes
 (pGroupCohomology/modular_cohomology.c:33350)()

 /Users/crisman/Desktop/sage-4.5.3/local/lib/python2.6/site-
 packages/pGroupCohomology/modular_cohomology.so in
 pGroupCohomology.modular_cohomology.MODCOHO.find_relations
 (pGroupCohomology/modular_cohomology.c:32768)()

 IndexError: list index out of range
 }}}
 I'll try the reinstall next.

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