On Apr 19, 2014, at 11:17 PM, leif <not.rea...@online.de> wrote: > Kannappan Sampath wrote: >> Hah, nice catch! I did not try either of them and that helps find out more: >> >> Apples-MacBook-Pro:~ apple$ sage --kash >> /Users/apple/sage/local/bin/kash: line 4: ./kash3: Bad CPU type in >> executable >> >> I get the above. I am using Sage Version 6.2.beta7, Release Date: >> 2014-04-08. >> >> So, how do I proceed with this one. > > Replace the CPU?
Hehe! :-) > (No idea. Probably upload the build log of the kash spkg somewhere, such > that the Darwinists can take a look at.) > Here is Kash Log: https://www.dropbox.com/s/1g379cfhykmrl47/kash3-2008-07-31.p0.log. I would appreciate any help. > I also don't know how to solve (or avoid) the precision error PARI throws > (once kash works). > > > -leif > >> On Apr 19, 2014, at 7:45 PM, leif <not.rea...@online.de >> <mailto:not.rea...@online.de>> wrote: >> >>> Kannappan Sampath wrote: >>>> I am trying to prepare a notebook for a SAGE demo at my institute. In >>>> rying to compute the Galois group, I am stuck here. SAGE complains that >>>> I have to install KASH while I already have KASH installed. >>>> >>>> >>>> sage: K.<a> = NumberField(x^13 + 3*x + 5) >>>> >>>> sage: K.galois_group() >>>> >>>> --------------------------------------------------------------------------- >>>> >>>> NotImplementedError Traceback (most recent call >>>> last) >>>> >>>> [...] >>>> >>>> NotImplementedError: You must install the optional Kash package to use >>>> Kash from Sage. >>>> >>>> Sorry, computation of Galois groups of fields of degree bigger than 11 >>>> is not yet implemented. Try installing the optional free (closed >>>> source) KASH package, which supports degrees up to 23, or use >>>> algorithm='magma' if you have magma. >>>> >>>> sage: optional_packages()[0] >>>> >>>> ['database_gap-4.6.4', 'gap_packages-4.6.4.p1', 'kash3-2008-07-31.p0'] >>> >>> Did you check whether >>> >>> $ ./sage --kash >>> >>> and >>> >>> sage: from sage.interfaces.all import kash >>> >>> work? >>> >>> (And btw., which version of Sage are you using?) >>> >>> >>> -leif >>> >>> >>> P.S.: >>> >>> sage: K.galois_group('gap') >>> Galois group Transitive group number 9 of degree 13 of the Number >>> Field in a with defining polynomial x^13 + 3*x + 5 >>> sage: K.galois_group('pari') >>> Galois group Transitive group number 9 of degree 13 of the Number >>> Field in a with defining polynomial x^13 + 3*x + 5 >>> sage: G.<b> = K.galois_group() >>> --------------------------------------------------------------------------- >>> PariError Traceback (most recent call >>> last) >>> >>> [...] >>> >>> $SAGE_ROOT/local/lib/python2.7/site-packages/sage/rings/number_field/splitting_field.py >>> in splitting_field(poly, name, map, degree_multiple, abort_degree, >>> simplify, simplify_all) >>> 384 if m == 1: >>> 385 continue >>> --> 386 factors = Kpol.nffactor(splitting.pol)[0] >>> 387 for q in factors: >>> 388 d = q.poldegree() >>> >>> $SAGE_ROOT/local/lib/python2.7/site-packages/sage/libs/pari/gen.so in >>> sage.libs.pari.gen.gen.nffactor (sage/libs/pari/gen.c:36272)() >>> >>> $SAGE_ROOT/local/lib/python2.7/site-packages/sage/libs/pari/handle_error.so >>> in sage.libs.pari.handle_error._pari_handle_exception >>> (sage/libs/pari/handle_error.c:1178)() >>> >>> PariError: precision too low in floorr (precision loss in truncation) >>> >> >> This last behaviour seems very strange to me. > > -- > () The ASCII Ribbon Campaign > /\ Help Cure HTML E-Mail > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.