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)
--
() 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.