On Tue, 16 Feb 2010 08:47:45 Georg S. Weber wrote:
> On 15 Feb., 12:38, cschwan <csch...@stamaonline.de> wrote:
> > Hello,
> >
> > since this is my first post on this list I think it is a good idea to
> > briefly introduce myself: My name is Christopher Schwan, I am studying
> > physics at Uni Mainz (Germany) and I am one of the maintainers of
> > "sage-on-gentoo" (http://github.com/cschwan/sage-on-gentoo). Francois
> > Bissey, the other man working on it already wrote some comments about
> > it, but now about three months passed and I would like to report the
> > status of our project.
> 
> Hello Christopher,
> 
> welcome to the sage-devel list! It's good to see, that there is
> interest from the Gentoo community in "sage-on-gentoo", as your
> project is called. Thanks for your update, and for your questions
> (already answered be others quicker than me)!
> 
> Personally, I think it would be interesting to experiment with a combo
> of "sage-on-gentoo" and "Gentoo/Prefix", but I do not see anyone (me
> included) having any time to devote to something like that. Of course,
> it would only be a second step, after "sage-on-gentoo" being stable,
> and well-maintained for a longer period of time. But the potential
> benefit would be a new possibility to deploy Sage as such (we already
> do something similar with "Sage in a VirtualBox image", which actually
> contains not only Sage, but a bare-bones GNU/Linux installation).
> 
> There is already Gentoo/Prefix support on GNU/Linux, OS X (giving me a
> chance to install Fink/Macports and Sage in parallel, without any PATH
> etc. trouble), Solaris, and Windows/Interix.  Although there currently
> seems to be no support for Gentoo/Prefix on Windows/Cygwin or Windows/
> MinGW, I guess this is mainly because nobody ever cared, or tried.
> Especially the last options, e.g. a combo of "sage-on-gentoo" and
> Gentoo/Prefix on Windows64/MinGW64, would fit extremely well in the
> Sage roadmap (since Windows/Interix is available only for the Ultimate/
> Enterprise versions of Windows, but not for the vast majority of
> Windows users). Of course, today, that's nothing but a vision ...
> 
Hi all,

I should say first that Christopher deserve most of the credit for the
recent push. 
As for Gentoo/Prefix port, I am thinking about looking at it on a mac OSX
machine (10.5 at the moment) as I have access to one. It is, as always, a
question of time.
As to emphasize Christopher request on other points it would be nice
to have SQLalchemy, networkx, cvxopt updated (I know the last one
may be an issue).

As for the question of the test... Well we do have some failures - some are 
expected, for example some of the maxima tests actually check where some
maxima files are installed, same with cython (also there is a formatting issues 
as well for cython).
We are using a more recent cvxopt, which leads to formatting issues in the 
output but this is a known problem. 

Now for the serious stuff as we need to figure what's going wrong at some stage
so here are some of our failures:

sage -t  "devel/sage/doc/en/bordeaux_2008/modular_symbols.rst"
*********************************************************************
File "/opt/sage/devel/sage/doc/en/bordeaux_2008/modular_symbols.rst", line 
124:
    sage: a.modular_symbol_rep()
Expected:
    36*X^2*{-1/6, 0} + 12*X*Y*{-1/6, 0} + Y^2*{-1/6, 0}
Got:
    36*X^2*{5/6, 1} - 60*X*Y*{5/6, 1} + 25*Y^2*{5/6, 1}
**********************************************************************

There are other errors in modsym, they are probably worth a thread all by 
themselves.


sage -t  "devel/sage/doc/en/tutorial/tour_numtheory.rst"    
**********************************************************************
File "/opt/sage/devel/sage/doc/en/tutorial/tour_numtheory.rst", line 94:
    sage: x = crt(2, 1, 3, 5); x
Expected:
    -4
Got:
    11
**********************************************************************

sage -t  "devel/sage/doc/en/constructions/polynomials.rst"  
**********************************************************************
File "/opt/sage/devel/sage/doc/en/constructions/polynomials.rst", line 45:
    sage: print gap.eval("R:= PolynomialRing( GF(97))")
Expected:
    PolynomialRing(..., [ x_1 ])
Got:
    GF(97)[x_1]
**********************************************************************

Formatting of some kind:

sage -t  "devel/sage/sage/numerical/optimize.py"            
**********************************************************************
File "/opt/sage/devel/sage/sage/numerical/optimize.py", line 117:
    sage: find_maximum_on_interval(f, 0,5)
Expected:
    (0.561096338191..., 0.8603335890...)
Got:
    (array([ 0.56109634]), array([ 0.86033359]))
**********************************************************************
File "/opt/sage/devel/sage/sage/numerical/optimize.py", line 119:
    sage: find_maximum_on_interval(f, 0,5, tol=0.1, maxfun=10)
Expected:
    (0.561090323458..., 0.857926501456...)
Got:
    (array([ 0.56109032]), array([ 0.8579265]))
**********************************************************************
File "/opt/sage/devel/sage/sage/numerical/optimize.py", line 155:
    sage: find_minimum_on_interval(f, 1, 5)
Expected:
    (-3.28837139559..., 3.4256184695...)
Got:
    (array([-3.2883714]), array([ 3.42561847]))
**********************************************************************
File "/opt/sage/devel/sage/sage/numerical/optimize.py", line 157:
    sage: find_minimum_on_interval(f, 1, 5, tol=1e-3)
Expected:
    (-3.28837136189098..., 3.42575079030572...)
Got:
    (array([-3.28837136]), array([ 3.42575079]))
**********************************************************************
File "/opt/sage/devel/sage/sage/numerical/optimize.py", line 159:
    sage: find_minimum_on_interval(f, 1, 5, tol=1e-2, maxfun=10)
Expected:
    (-3.28837084598..., 3.4250840220...)
Got:
    (array([-3.28837085]), array([ 3.42508402]))
**********************************************************************
File "/opt/sage/devel/sage/sage/numerical/optimize.py", line 162:
    sage: find_minimum_on_interval(f, 1, 15)
Expected:
    (-9.4772942594..., 9.5293344109...)
Got:
    (array([-9.47729426]), array([ 9.52933441]))
**********************************************************************

Now for an odd one:

sage -t  "devel/sage/sage/sets/set.py"                      
**********************************************************************
File "/opt/sage/devel/sage/sage/sets/set.py", line 312:
    sage: Primes() < Set(QQ)
Expected:
    True
Got:
    False
**********************************************************************

sage -t  "devel/sage/sage/misc/sage_eval.py"                
**********************************************************************
File "/opt/sage/devel/sage/sage/misc/sage_eval.py", line 136:
    sage: gap.eval('R:=PolynomialRing(Rationals,["x"]);')
Expected:
    'PolynomialRing(..., [ x ])'
Got:
    'Rationals[x]'
**********************************************************************

Some for precision:

sage -t  "devel/sage/sage/functions/transcendental.py"      
**********************************************************************
File "/opt/sage/devel/sage/sage/functions/transcendental.py", line 78:
    sage: w = exponential_integral_1(2,4); w
Expected:
    [0.048900510708061118, 0.003779352409848905, 0.00036008245216265542, 
3.7665622843921715e-05] 
Got:
    [0.048900510708061118, 0.0037793524098489067, 0.00036008245216265873, 
3.7665622843924751e-05]
**********************************************************************

sage -t  "devel/sage/sage/functions/special.py"             
**********************************************************************
File "/opt/sage/devel/sage/sage/functions/special.py", line 1385:
    sage: exp_int(6)
Expected:
    doctest:...: DeprecationWarning: The method expint() is deprecated. Use -
Ei(-x) or exponential_integral_1(x) as needed instead.
    0.000360082452162655
Got:
    doctest:1: DeprecationWarning: The method expint() is deprecated. Use -
Ei(-x) or exponential_integral_1(x) as needed instead.
    0.000360082452162659
**********************************************************************

Ordering of solutions:

sage -t  "devel/sage/sage/groups/class_function.py"         
**********************************************************************
File "/opt/sage/devel/sage/sage/groups/class_function.py", line 356:
    sage: [x.values() for x in G.irreducible_characters()]
Expected:
    [[1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, -1, -1, -1], [2, -1, 2, -1, 2, 
0, 0, 0], [2, 1, -2, -1, 0, -zeta8^3 - zeta8, zeta8^3 + zeta8, 0], [2, 1, -2, 
-1, 0, zeta8^3 + zeta8, -zeta8^3 - zeta8, 0], [3, 0, 3, 0, -1, -1, -1, 1], [3, 
0, 3, 0, -1, 1, 1, -1], [4, -1, -4, 1, 0, 0, 0, 0]]
Got:
    [[1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, -1, -1, -1], [2, -1, 2, -1, 2, 
0, 0, 0], [2, 1, -2, -1, 0, -zeta8^3 - zeta8, zeta8^3 + zeta8, 0], [2, 1, -2, 
-1, 0, zeta8^3 + zeta8, -zeta8^3 - zeta8, 0], [3, 0, 3, 0, -1, 1, 1, -1], [3, 
0, 3, 0, -1, -1, -1, 1], [4, -1, -4, 1, 0, 0, 0, 0]]
**********************************************************************

sage -t  "devel/sage/sage/groups/abelian_gps/abelian_group_element.py"
**********************************************************************
File "/opt/sage/devel/sage/sage/groups/abelian_gps/abelian_group_element.py", 
line 352:
    sage: (y*x).word_problem([x,y])
Expected:
    [[x, 1], [y, 1]]
Got:
    [[y, 1], [x, 1]]
**********************************************************************

sage -t  "devel/sage/sage/groups/abelian_gps/abelian_group.py"
**********************************************************************
File "/opt/sage/devel/sage/sage/groups/abelian_gps/abelian_group.py", line 
207:
    sage: word_problem([a*b,a*c], b*c)
Expected:
    [[a*b, 1], [a*c, 1]]
Got:
    [[a*c, 1], [a*b, 1]]
**********************************************************************
File "/opt/sage/devel/sage/sage/groups/abelian_gps/abelian_group.py", line 
209:
    sage: word_problem([a*c,c],a)
Expected:
    [[a*c, 1], [c, -1]]
Got:
    [[c, -1], [a*c, 1]]
**********************************************************************
File "/opt/sage/devel/sage/sage/groups/abelian_gps/abelian_group.py", line 
223:
    sage: word_problem([b1,b2,b3,b4,b5],e)
Expected:
    [[a^3*b*c*d^2*e^5, 1], [a^2*b*c^2*d^3*e^3, 1], [a^3*b^3*d^4*e^4, 3], 
[a^2*b^4*c^2*d^4*e^5, 1]]
Got:
    [[a^2*b^4*c^2*d^4*e^5, 1], [a^3*b^3*d^4*e^4, 3], [a^2*b*c^2*d^3*e^3, 1], 
[a^3*b*c*d^2*e^5, 1]]
**********************************************************************

Weird:

sage -t  "devel/sage/sage/interfaces/expect.py"             
**********************************************************************
File "/opt/sage/devel/sage/sage/interfaces/expect.py", line 803:
    sage: r._expect.before
Expected:
    'abc;\r\n[1] '
Got:
    'abc <- 10 +15;\r\n__SAGE__R__PROMPT__> abc;\r\n[1] '
**********************************************************************


Some rpy failures probably because we use a more recent R.

Strange results - probably a consequence or cause of some earlier 
problems:

sage -t  "devel/sage/sage/tests/book_stein_ent.py"          
**********************************************************************
File "/opt/sage/devel/sage/sage/tests/book_stein_ent.py", line 82:
    sage: CRT(2,3, 3, 5)
Expected:
    8
Got:
    -7
**********************************************************************

And more for book_stein

sage -t  "devel/sage/sage/modular/cusps.py"                 
**********************************************************************
File "/opt/sage/devel/sage/sage/modular/cusps.py", line 801:
    sage: M.cusps()
Expected:
    [37/75, 1/2, 31/125, 1/4, -2/5, 2/5, -1/5, 1/10, -3/10, 1/15, 7/15, 9/20]
Got:
    [37/75, 1/2, 31/125, 1/4, -2/5, -3/5, -1/5, -9/10, -3/10, -14/15, 7/15, 
9/20]
**********************************************************************

We use a later version of pari which may cause this kind of failures:
sage -t  "devel/sage/sage/libs/pari/gen.pyx"                
**********************************************************************
File "/opt/sage/devel/sage/sage/libs/pari/gen.pyx", line 6844:
    sage: nf.nfroots(y^2 + 2)
Expected:
    [-zz, zz]
Got:
    [Mod(-zz, zz^2 + 2), Mod(zz, zz^2 + 2)]
**********************************************************************

Issues in elliptic_curves for example:
sage -t  "devel/sage/sage/schemes/elliptic_curves/heegner.py"
**********************************************************************
File "/opt/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", line 
2660:
    sage: x.atkin_lehner_act()
Expected:
    Heegner point 5/199168*sqrt(-7) - 631/199168 of discriminant -7 and 
conductor 5 on X_0(389)
Got:
    Heegner point 5/199168*sqrt(-7) + 77475721/199168 of discriminant -7 and 
conductor 5 on X_0(389)
**********************************************************************

----------------
I think that's enough of them for now. Christopher can provide a full log for
interested parties.

Francois

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to