On Feb 11, 2:37 pm, gedaliah <gwol...@gmail.com> wrote:
> On Feb 11, 4:24 pm, mabshoff <mabsh...@googlemail.com> wrote:
>
>
>
> > Anyway, once the test pass run
>
> Oops, book_stein_ent.py test failed, not sure if this is a problem or
> not --
>
> Trying:
> qsieve(n)###line 289:_sage_ : qsieve(n)
> Expecting:
> ([6340271405786663791648052309,
> 46102313108592180286398757159], '')
> *** *** Error: TIMED OUT! PROCESS KILLED! *** ***
> *** *** Error: TIMED OUT! *** ***
> [360.3 s]
> exit code: 1024
>
> ----------------------------------------------------------------------
> The following tests failed:
>
> sage -t --verbose "-3.2.3/devel/sage/sage/tests/book_stein_ent.py"
> Total time for all tests: 360.3 seconds
This is a known problem once observed by Alex Ghitza, but it never
made it into trac, so this is now
http://trac.sagemath.org/sage_trac/ticket/5237
The code in question is old, i.e. a pre-release snapshot of qsieve
from 2007 that has been replaced by a much better and faster version
in FLINT 1.0.x. (we ship FLINT 1.1 and will ship FLINT 1.1.1 in Sage
3.3.rc1). We even compile the new sieve code, we just don't copy it
into $SAGE_LOCAL/bin. Bill Hart has explained to me a couple times why
the new code isn't used from Sage, but I pinged him offlist to get it
in writing this time so I can open a ticket to switch to the new
code.
<SNIP>
> > In case you have a shell code snipped that identifies that the current
> > working directory is on an AFS mount I would be happy to integrate it.
>
> This will work unless somebody very foolishly changed the afs mount
> point to something other that /afs.
Well, given what I have seen many people do foolish things I not
longer assume people do sane things per default any more. But a test
that catches the problem 99% of the time is better than a perfect test
never written and merged :)
> [[ $(pwd | cut -d'/' -f2) = 'afs' ]] && echo "we are in afs"
Thanks, I have added that info to the ticket. It will probably not
make it into 3.3, but we will see.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---