And more trouble on OSX 10.4 PPC. This is still with rc0, but the
issues should still be present in rc1:
cvxopt has trouble importing some g95 symbols. I need to investigate
this.
michael-abshoffs-ibook-g4:~/Desktop/sage-2.8.13.rc0 mabshoff$ ./sage -
t devel/sage-main/sage/numerical/test.py
sage -t devel/sage-main/sage/numerical/test.py
**********************************************************************
File "test.py", line 4:
: from cvxopt.base import *
Exception raised:
Traceback (most recent call last):
File "/Users/mabshoff/Desktop/sage-2.8.13.rc0/local/lib/
python2.5/doctest.py", line 1212, in __run
compileflags, 1) in test.globs
File "<doctest __main__.example_0[0]>", line 1, in <module>
from cvxopt.base import *###line 4:
: from cvxopt.base import *
ImportError: dlopen(/Users/mabshoff/Desktop/sage-2.8.13.rc0/local/
lib/python/site-packages/cvxopt/base.so, 2): Symbol not found:
__g95_ioparm
Referenced from: /Users/mabshoff/Desktop/sage-2.8.13.rc0/local/
lib/python/site-packages/cvxopt/base.so
Expected in: dynamic lookup
**********************************************************************
File "test.py", line 5:
: from cvxopt import umfpack
Exception raised:
Traceback (most recent call last):
File "/Users/mabshoff/Desktop/sage-2.8.13.rc0/local/lib/
python2.5/doctest.py", line 1212, in __run
compileflags, 1) in test.globs
File "<doctest __main__.example_0[1]>", line 1, in <module>
from cvxopt import umfpack###line 5:
: from cvxopt import umfpack
ImportError: dlopen(/Users/mabshoff/Desktop/sage-2.8.13.rc0/local/
lib/python/site-packages/cvxopt/umfpack.so, 2): Symbol not found:
__g95_st_write_done
Referenced from: /Users/mabshoff/Desktop/sage-2.8.13.rc0/local/
lib/python/site-packages/cvxopt/umfpack.so
Expected in: dynamic lookup
**********************************************************************
1 items had failures:
2 of 6 in __main__.example_0
***Test Failed*** 2 failures.
For whitespace errors, see the file .doctest_test.py
[13.2 s]
exit code: 256
----------------------------------------------------------------------
The following tests failed:
sage -t devel/sage-main/sage/numerical/test.py
Total time for all tests: 13.3 seconds
Maybe we should raise the timeout to 300 seconds - I have had doctest
failures with database.py on slower systems due to timeouts
michael-abshoffs-ibook-g4:~/Desktop/sage-2.8.13.rc0 mabshoff$ ./sage -
t devel/sage-main/sage/plot/plot.py
sage -t devel/sage-main/sage/plot/plot.py *** ***
Error: TIMED OUT! *** ***
*** *** Error: TIMED OUT! *** ***
[269.9 s]
exit code: 256
----------------------------------------------------------------------
The following tests failed:
sage -t devel/sage-main/sage/plot/plot.py
Total time for all tests: 269.9 seconds
The following is pretty bad. malb mightr have fixed it in rc1, but it
will take a while to find out.
michael-abshoffs-ibook-g4:~/Desktop/sage-2.8.13.rc0 mabshoff$ ./sage -
t devel/sage-main/sage/rings/finite_field_ntl_gf2e.pyx
sage -t devel/sage-main/sage/rings/
finite_field_ntl_gf2e.pyx**********************************************************************
File "finite_field_ntl_gf2e.pyx", line 978:
sage: int(a)
Expected:
2
Got:
33554432
**********************************************************************
File "finite_field_ntl_gf2e.pyx", line 980:
sage: int(a^2 + 1)
Expected:
5
Got:
83886080
**********************************************************************
1 items had failures:
2 of 3 in __main__.example_41
***Test Failed*** 2 failures.
For whitespace errors, see the file .doctest_finite_field_ntl_gf2e.pyx
[11.1 s]
exit code: 256
----------------------------------------------------------------------
The following tests failed:
sage -t devel/sage-main/sage/rings/finite_field_ntl_gf2e.pyx
Total time for all tests: 11.1 seconds
The following is "just" slighly numerical noise. I got a patch for it:
michael-abshoffs-ibook-g4:~/Desktop/sage-2.8.13.rc0 mabshoff$ ./sage -
t devel/sage-main/sage/rings/polynomial/polynomial_element.pyx
sage -t devel/sage-main/sage/rings/polynomial/
polynomial_element.pyx**********************************************************************
File "polynomial_element.pyx", line 2314:
sage: f.roots(ring=CC)
Expected:
[(1.00000000000000, 1), (-0.500000000000000 + 0.866025403784438*I,
1), (-0.500000000000000 - 0.866025403784438*I, 1)]
Got:
[(1.00000000000000, 1), (-0.500000000000000 + 0.866025403784439*I,
1), (-0.500000000000000 - 0.866025403784439*I, 1)]
**********************************************************************
File "polynomial_element.pyx", line 2749:
sage: (x^3 - 1).complex_roots()
Expected:
[1.00000000000000, -0.500000000000000 + 0.866025403784438*I,
-0.500000000000000 - 0.866025403784438*I]
Got:
[1.00000000000000, -0.500000000000000 + 0.866025403784439*I,
-0.500000000000000 - 0.866025403784439*I]
**********************************************************************
2 items had failures:
1 of 88 in __main__.example_55
1 of 12 in __main__.example_57
***Test Failed*** 2 failures.
For whitespace errors, see the file .doctest_polynomial_element.pyx
[27.8 s]
exit code: 256
----------------------------------------------------------------------
The following tests failed:
sage -t devel/sage-main/sage/rings/polynomial/
polynomial_element.pyx
Total time for all tests: 27.8 seconds
michael-abshoffs-ibook-g4:~/Desktop/sage-2.8.13.rc0 mabshoff$
I will open tickets for all these issues.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---