On Wed, May 27, 2009 at 3:54 PM, Dr. David Kirkby
<[email protected]> wrote:
> I run the test suite for sage on a heavily loaded Sun Blade 2000.
>
> The following tests failed:
> sage -t "devel/sage/sage/matrix/matrix2.pyx"
> sage -t "devel/sage/sage/calculus/wester.py"
> sage -t "devel/sage/sage/misc/misc_c.pyx"
> sage -t "devel/sage/sage/interfaces/singular.py"
> sage -t "devel/sage/sage/interfaces/maxima.py"
> sage -t "devel/sage/sage/symbolic/expression.pyx"
> sage -t "devel/sage/sage/symbolic/assumptions.py"
> sage -t "devel/sage/sage/symbolic/relation.py"
> Total time for all tests: 16971.8 seconds
> Please see /export/home/drkirkby/sage/sage-4.0.rc0/tmp/test.log for the
> complete log from this test.
These are I think all known failures with associated trac tickets (and
in some cases fixes?) or "trivial" numerical noise issues. Note that
Sage on Solaris has never passed all doctests.
This test failure looks interesting:
sage -t "devel/sage/sage/misc/misc_c.pyx"
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.0.rc0/devel/sage/sage/misc/misc_c.pyx",
line 359:
sage: test_bitset('00'*32, '01'*32, 64)
Expected:
a 0000000000000000000000000000000000000000000000000000000000000000
a.size 64
len(a) 0
a.limbs ...
b 0101010101010101010101010101010101010101010101010101010101010101
a.in(n) False
a.not_in(n) True
a.add(n)
0000000000000000000000000000000000000000000000000000000000000000
a.discard(n)
0000000000000000000000000000000000000000000000000000000000000000
a.set_to(n)
0000000000000000000000000000000000000000000000000000000000000000
a.flip(n)
0000000000000000000000000000000000000000000000000000000000000000
a.isempty() True
a.eq(b) False
a.cmp(b) -1
a.issubset(b) True
a.issuperset(b) False
a.copy()
0000000000000000000000000000000000000000000000000000000000000000
r.clear()
0000000000000000000000000000000000000000000000000000000000000000
complement a
1111111111111111111111111111111111111111111111111111111111111111
a intersect b
0000000000000000000000000000000000000000000000000000000000000000
a union b
0101010101010101010101010101010101010101010101010101010101010101
a minus b
0000000000000000000000000000000000000000000000000000000000000000
a symmetric_difference b
0101010101010101010101010101010101010101010101010101010101010101
a.rshift(n)
0000000000000000000000000000000000000000000000000000000000000000
a.lshift(n)
0000000000000000000000000000000000000000000000000000000000000000
a.first() -1
a.next(n) -1
a.first_diff(b) 1
a.next_diff(b, n) -1
a.hamming_weight() 0
a.hamming_weight_sparse() 0
Got:
a 0000000000000000000000000000000000000000000000000000000000000000
a.size 64
len(a) 0
a.limbs 2
b 0101010101010101010101010101010101010101010101010101010101010101
a.in(n) True
a.not_in(n) False
a.add(n)
0000000000000000000000000000000000000000000000000000000000000000
a.discard(n)
0000000000000000000000000000000000000000000000000000000000000000
a.set_to(n)
0000000000000000000000000000000000000000000000000000000000000000
a.flip(n)
0000000000000000000000000000000000000000000000000000000000000000
a.isempty() True
a.eq(b) False
a.cmp(b) -1
a.issubset(b) True
a.issuperset(b) False
a.copy()
0000000000000000000000000000000000000000000000000000000000000000
r.clear()
0000000000000000000000000000000000000000000000000000000000000000
complement a
1111111111111111111111111111111111111111111111111111111111111111
a intersect b
0000000000000000000000000000000000000000000000000000000000000000
a union b
0101010101010101010101010101010101010101010101010101010101010101
a minus b
0000000000000000000000000000000000000000000000000000000000000000
a symmetric_difference b
0101010101010101010101010101010101010101010101010101010101010101
a.rshift(n)
0000000000000000000000000000000000000000000000000000000000000000
a.lshift(n)
0000000000000000000000000000000000000000000000000000000000000000
a.first() -1
a.next(n) -1
a.first_diff(b) 1
a.next_diff(b, n) -1
a.hamming_weight() 0
a.hamming_weight_sparse() 0
**********************************************************************
1 items had failures:
1 of 7 in __main__.example_8
> What I noticed though is that after running the tests, my poor machine
> appears to be running two 'maxima' processes using up tons of CPU time.
> Since the tests have completed, I can't understand why they are still
> running.
If you type
sage
to startup sage, do the two maxima processes get killed or not?
Starting sage starts the "sage cleaner", which is supposed to kill
maxima (and other) subprocesses.
>
> The 'pgn-extract' is a heavy CPU user on my machine. It only runs for a
> few seconds on each file, but does this on lots of files all day, so it
> puts a lot of load on the machine. Normally the load average on this
> dual processor machine is about 2.5, but now it is up to 4.3
>
> PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
> 4168 drkirkby 25M 17M cpu1 10 0 4:41:00 32% maxima/1
> 5959 drkirkby 21M 16M run 20 0 4:28:57 26% maxima/1
> 18425 root 1776K 1248K run 10 0 0:00:09 13% pgn-extract/1
> 18424 root 1776K 1248K run 20 0 0:00:08 12% pgn-extract/1
>
> Total: 150 processes, 344 lwps, load averages: 4.29, 4.36, 4.26
>
> I've attached the log of the test failures.
>
> I guess I better learn python, then hopefully can be some help in fixing
> some of these errors. Now I have Sage compiled, I have a bit more
> inclination to learn python.
>
> BTW, I can't get to GUI to work under Solaris
>
> sage: notebook()
> The notebook files are stored in: /export/home/drkirkby/.sage//sage_notebook
> **************************************************
> * *
> * Open your web browser to http://localhost:8002 *
> * *
> **************************************************
>
> There is nothing listening on port 8000,8001 or 8002.
Are you on localhost on a console, or are you trying to connect to a
remote machine that you ssh'd into? Sage does not listen on external
ports (not localhost) by default, since that would be a massive
security hole.
Try doing
sage: notebook(address="", open_viewer=False)
to listen on internal *and* external addresses.
William
--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---