Gentoo Archives: gentoo-science

From: "François Bissey" <f.r.bissey@×××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] numpy-1.4.1/scipy-0.8.0
Date: Thu, 09 Sep 2010 08:47:55
Message-Id: 201009092047.27670.f.r.bissey@massey.ac.nz
In Reply to: [gentoo-science] [sage-on-gentoo] numpy-1.4.1/scipy-0.8.0 by Steven Trogdon
1 > Hi everyone,
2 >
3 > I performed the subject upgrade and I have one test that fails on my 32bit
4 > chroot that seems to be out of the ordinary. There is no problem with the
5 > test on amd64, at least here there isn't.
6 >
7 > sage -t -force_lib
8 > "devel/sage/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py
9 > " **********************************************************************
10 > File
11 > "/usr/share/sage/devel/sage/sage/schemes/hyperelliptic_curves/hyperelliptic
12 > _finite_field.py", line 315:
13 > sage: len(C.points())
14 > Exception raised:
15 > Traceback (most recent call last):
16 > File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
17 > self.run_one_example(test, example, filename, compileflags)
18 > File "/usr/bin/sagedoctest.py", line 38, in run_one_example
19 > OrigDocTestRunner.run_one_example(self, test, example, filename,
20 > compileflags)
21 > File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
22 > compileflags, 1) in test.globs
23 > File "<doctest __main__.example_6[7]>", line 1, in <module>
24 > len(C.points())###line 315:
25 > sage: len(C.points())
26 > File
27 > "/usr/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/hyperel
28 > liptic_finite_field.py", line 327, in points
29 > self.__points = self._points_fast_sqrt() # this is fast using Zech
30 > logarithms
31 > File
32 > "/usr/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/hyperel
33 > liptic_finite_field.py", line 239, in _points_fast_sqrt
34 > points.append(self.point([x, v+sqrtD, one], check=True))
35 > File
36 > "/usr/lib/python2.6/site-packages/sage/schemes/generic/scheme.py", line
37 > 256, in point
38 > return self._point_class(self, v, check=check)
39 > File
40 > "/usr/lib/python2.6/site-packages/sage/schemes/generic/algebraic_scheme.py"
41 > , line 208, in _point_class
42 > return self.__A._point_class(*args, **kwds)
43 > File
44 > "/usr/lib/python2.6/site-packages/sage/schemes/generic/projective_space.py"
45 > , line 561, in _point_class
46 > return morphism.SchemeMorphism_projective_coordinates_field(*args,
47 > **kwds)
48 > File
49 > "/usr/lib/python2.6/site-packages/sage/schemes/generic/morphism.py", line
50 > 608, in __init__
51 > X.codomain()._check_satisfies_equations(v)
52 > File
53 > "/usr/lib/python2.6/site-packages/sage/schemes/generic/algebraic_scheme.py"
54 > , line 538, in _check_satisfies_equations
55 > raise TypeError, "Coordinates %s do not define a point on
56 > %s"%(list(v),self)
57 > TypeError: Coordinates [5*a + 6, 6*a + 4, 1] do not define a point on
58 > Hyperelliptic Curve over Finite Field in a of size 11^2 defined by y^2 +
59 > (x^2 + 2)*y = x^5 + x + 10
60 > **********************************************************************
61 >
62 > When I enter into sage the lines in the test around the failing line (315)
63 > things seem to be OK. So perhaps there is something else in the test
64 > contributing to the failure. François suggested python as a culprit. Here
65 > is my configuration:
66 >
67 Hi Steve,
68
69 just to be clear, when you enter the data of the test manually in sage there
70 is no problems?
71 We already have one test like that, and there are a few reports of phantom
72 failing tests on sage-devel so it is possible.
73
74 Francois

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo] numpy-1.4.1/scipy-0.8.0 Steven Trogdon <strogdon@×××××.edu>