> Merged in sage-5.4.beta1:
> #13427: David Kirkby: Numerical noise causing sage/numerical/optimize.py
> to fail on SPARC [Reviewed by Volker Braun]
Here's some result when trying to doctest Sage on Solaris 10 SPARC 32-bit. (
I think trying 64-bit would be a bit pointless, as I know it is unstable there
due to the pynac bug.)
The patch #13427 has cured the numerical noise problem I had when building a
recent version of Sage on SPARC, and the other was due to a timeout, which I
avoided by setting SAGE_TIMEOUT_LONG (or whatever its called).
But still there are two failures on Solaris 10 SPARC, running on a dual
processor Sun Blade 2000.
----------------------------------------------------------------------
The temporary doctesting directory
/export/home/drkirkby/.sage/tmp/buzzard-29503
was not removed: it is not empty, presumably because doctests
failed or doctesting was interrupted.
----------------------------------------------------------------------
The following tests failed:
sage -t --long -force_lib devel/sage/sage/matrix/matrix_modn_dense.pyx
# 5 doctests failed
sage -t --long -force_lib
devel/sage/sage/matrix/matrix_modn_dense_template.pxi # 5 doctests failed
----------------------------------------------------------------------
Total time for all tests: 21324.3 seconds
Here are the errors in more detail.
**********************************************************************
File
"/export/home/drkirkby/sage-5.4.beta1/devel/sage-main/sage/matrix/matrix_modn_dense.pyx",
line 501:
sage: data, version = A._pickle()
Exception raised:
Traceback (most recent call last):
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_8[8]>", line 1, in <module>
data, version = A._pickle()###line 501:
sage: data, version = A._pickle()
File "matrix_modn_dense_template.pxi", line 638, in
sage.matrix.matrix_modn_dense_double.Matrix_modn_dense_template._pickle
(sage/matrix/matrix_modn_dense_double.cpp:6580)
sig_on()
RuntimeError: Bus error
**********************************************************************
File
"/export/home/drkirkby/sage-5.4.beta1/devel/sage-main/sage/matrix/matrix_modn_dense.pyx",
line 504:
sage: B == A
Expected:
True
Got:
False
**********************************************************************
File
"/export/home/drkirkby/sage-5.4.beta1/devel/sage-main/sage/matrix/matrix_modn_dense.pyx",
line 527:
sage: A._unpickle((8, False,
'\x00\x00\x00\x00\x00\x00\x02\x08\x00\x00\x00\x00\x00\x00\x01\x04'), 10)
Exception raised:
Traceback (most recent call last):
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_8[22]>", line 1, in <module>
A._unpickle((Integer(8), False,
'\x00\x00\x00\x00\x00\x00\x02\x08\x00\x00\x00\x00\x00\x00\x01\x04'),
Integer(10))###line 527:
sage: A._unpickle((8, False,
'\x00\x00\x00\x00\x00\x00\x02\x08\x00\x00\x00\x00\x00\x00\x01\x04'), 10)
File "matrix_modn_dense_template.pxi", line 726, in
sage.matrix.matrix_modn_dense_double.Matrix_modn_dense_template._unpickle
(sage/matrix/matrix_modn_dense_double.cpp:7004)
sig_on()
RuntimeError: Bus error
**********************************************************************
File
"/export/home/drkirkby/sage-5.4.beta1/devel/sage-main/sage/matrix/matrix_modn_dense.pyx",
line 528:
sage: A
Expected:
[520 260]
Got:
[259 5]
**********************************************************************
File
"/export/home/drkirkby/sage-5.4.beta1/devel/sage-main/sage/matrix/matrix_modn_dense.pyx",
line 537:
sage: loads(dumps(A)) == A
Exception raised:
Traceback (most recent call last):
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/export/home/drkirkby/sage-5.4.beta1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_8[27]>", line 1, in <module>
loads(dumps(A)) == A###line 537:
sage: loads(dumps(A)) == A
File "sage_object.pyx", line 889, in sage.structure.sage_object.dumps
(sage/structure/sage_object.c:9855)
File "matrix0.pyx", line 1534, in sage.matrix.matrix0.Matrix.__reduce__
(sage/matrix/matrix0.c:7995)
data, version = self._pickle()
File "matrix_modn_dense_template.pxi", line 638, in
sage.matrix.matrix_modn_dense_double.Matrix_modn_dense_template._pickle
(sage/matrix/matrix_modn_dense_double.cpp:6580)
sig_on()
RuntimeError: Bus error
**********************************************************************
1 items had failures:
5 of 29 in __main__.example_8
***Test Failed*** 5 failures.
For whitespace errors, see the file
/export/home/drkirkby/.sage/tmp/buzzard-29503/matrix_modn_dense_11931.py
[12.6 s]
sage -t --long -force_lib devel/sage/sage/matrix/matrix_mod2_dense.pyx
[28.7 s]
--
Dr. David Kirkby Ph.D C.Eng MIET