#9343: Upgrade PARI to svn snapshot 12577 - a pre-release of PARI 2.4.3.
------------------------------------------------------------------------------------------+
   Reporter:  was                                                               
          |       Owner:  jdemeyer    
       Type:  enhancement                                                       
          |      Status:  needs_review
   Priority:  major                                                             
          |   Milestone:  sage-4.6    
  Component:  packages                                                          
          |    Keywords:              
     Author:  Robert Bradshaw, John Cremona, Jeroen Demeyer, William Stein, 
David Kirkby  |    Upstream:  N/A         
   Reviewer:                                                                    
          |      Merged:              
Work_issues:                                                                    
          |  
------------------------------------------------------------------------------------------+

Comment(by drkirkby):

 I decided to test the
 http://cage.ugent.be/~jdemeyer/sage/sage-4.6.prealpha0.tar on my
 !OpenSolaris machine. Sage has never passed all the doc tests on
 !OpenSolaris, so I did not expect it to. I'll list the failures and what I
 think they are due to. There's one unexecpted failure.

 A better test would be on 't2', but that takes forever to build Sage. This
 is an order of magnitude quicker.

 {{{
 The following tests failed:

         sage -t  -long devel/sage/sage/lfunctions/sympow.py # 13 doctests
 failed
         sage -t  -long
 devel/sage/sage/rings/polynomial/polynomial_quotient_ring.py # 1 doctests
 failed
         sage -t  -long devel/sage/sage/modular/abvar/abvar.py # 1 doctests
 failed
         sage -t  -long devel/sage/sage/modular/hecke/submodule.py # 1
 doctests failed
         sage -t  -long
 devel/sage/sage/schemes/elliptic_curves/ell_rational_field.py # 17
 doctests failed
         sage -t  -long devel/sage/sage/stats/hmm/chmm.pyx # 3 doctests
 failed
         sage -t  -long devel/sage/sage/symbolic/expression.pyx # 2
 doctests failed
 ----------------------------------------------------------------------
 Total time for all tests: 1913.9 seconds
 }}}

 1) {{{devel/sage/sage/lfunctions/sympow.py}}} SYMPOW is the worst code
 I've ever seen in Sage and is broken on Solaris x86 (#9703), Cygwin
 (#9166) and reportedly !ArchLinux too. The examples at
 http://www.sagemath.org/doc/reference/sage/lfunctions/sympow.html do not
 work if you try them on sage.math, so I we can ignore this failure. The
 code in SYMPOW is so bad, I can't really be bothered to try to fix it.

 2) {{{devel/sage/sage/rings/polynomial/polynomial_quotient_ring.py}}}
 '''An unexpected failure.'''

 3) {{{devel/sage/sage/modular/abvar/abvar.py}}} Caused by SYMPOW. So we
 can ignore that.

 4) {{{devel/sage/sage/modular/hecke/submodule.py}}} Again, caused by
 SYMPOW, so we can ignore that.

 5) {{{devel/sage/sage/schemes/elliptic_curves/ell_rational_field.py}}}
 Again, caused by SYMPOW, so we can ignore that.

 6) {{{devel/sage/sage/stats/hmm/chmm.pyx}}} This is numerical noise,
 #9735, which will hopefully be merged soon.

 7) {{{ devel/sage/sage/symbolic/expression.pyx}}} Again numerical noise
 (#9689  & #9693).

 So the unexpected failure I see was this one:

 {{{
 sage -t  -long
 devel/sage/sage/rings/polynomial/polynomial_quotient_ring.py
 **********************************************************************
 File "/export/home/drkirkby/sage-4.6.prealpha0/devel/sage-
 main/sage/rings/polynomial/polynomial_quotient_ring.py", line 1280:
     sage: [phi(k.0^2) for phi in v]
 Expected:
     [2.9757207403766761469671194565 -
 1.2983430720865060515202099613e-47*I, -2.4088994371613850098316292196 +
 1.9025410530350528612407363802*I, -2.4088994371613850098316292196 -
 1.9025410530350528612407363802*I, 0.92103906697304693634806949137 -
 3.0755331188457794473265418086*I, 0.92103906697304693634806949137 +
 3.0755331188457794473265418086*I]
 Got:
     [2.9757207403766761469671194565, -2.4088994371613850098316292196 +
 1.9025410530350528612407363802*I, -2.4088994371613850098316292196 -
 1.9025410530350528612407363802*I, 0.92103906697304693634806949137 -
 3.0755331188457794473265418086*I, 0.92103906697304693634806949137 +
 3.0755331188457794473265418086*I]
 **********************************************************************
 }}}

 Could that be due to Pari? If not, and you know where I should look for
 the cause, let me know.

 Dave

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