Dear Scipy users, It's not my intention to annoy you, but is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via http://projects.scipy.org/scipy/scipy/ticket/223 I have no idea why I get different results on different architectures. Thanks in advance for testing. Nils
Hi Nils, I've tried but my sandbox is missing delaunay from scipy.sandbox.delaunay import * ImportError: No module named delaunay Cheers Wolfgang Nils Wagner schrieb:
Dear Scipy users,
It's not my intention to annoy you, but is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
http://projects.scipy.org/scipy/scipy/ticket/223
I have no idea why I get different results on different architectures.
Thanks in advance for testing.
Nils
Wolfgang wrote:
Hi Nils,
I've tried but my sandbox is missing delaunay
from scipy.sandbox.delaunay import * ImportError: No module named delaunay
Cheers Wolfgang
Wolfgang, Sorry delaunay is useless in the reduced scipt. So please remove it or use #. Thank you. Nils
Nils Wagner schrieb:
Dear Scipy users,
It's not my intention to annoy you, but is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
http://projects.scipy.org/scipy/scipy/ticket/223
I have no idea why I get different results on different architectures.
Thanks in advance for testing.
Nils
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
Nils Wagner wrote:
Dear Scipy users,
It's not my intention to annoy you, but is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
http://projects.scipy.org/scipy/scipy/ticket/223
I have no idea why I get different results on different architectures.
Thanks in advance for testing.
I have a 32 bit machine, but the results look like yours 64bit.png, with scipy 0.5.0.2142 and numpy 1.0b2.dev2942 (latest SVN). r.
On Wednesday, 2 August 2006 10:19, Robert Cimrman wrote:
Nils Wagner wrote:
Dear Scipy users,
It's not my intention to annoy you, but is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
http://projects.scipy.org/scipy/scipy/ticket/223
I have no idea why I get different results on different architectures.
Thanks in advance for testing.
I have a 32 bit machine, but the results look like yours 64bit.png, with scipy 0.5.0.2142 and numpy 1.0b2.dev2942 (latest SVN).
I have a 32bit machine and get Nils's results in 32bit.png (scattered), i.e. the "buggy" version. However, I'm not running the latest numpy and scipy. Processor: Intel(R) Pentium(R) 4 CPU 2.60GHz ATLAS: 3.7.11 (self compiled with SSE2 support) In [1]: scipy.__version__ Out[1]: '0.4.9.1851' In [4]: numpy.__version__ Out[4]: '0.9.7.2339' OS: Mandriva 2006.0 Linux (2.6.12 kernel) HTH, Johann
Johann Rohwer wrote:
On Wednesday, 2 August 2006 10:19, Robert Cimrman wrote:
Nils Wagner wrote:
Dear Scipy users,
It's not my intention to annoy you, but is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
http://projects.scipy.org/scipy/scipy/ticket/223
I have no idea why I get different results on different architectures.
Thanks in advance for testing.
I have a 32 bit machine, but the results look like yours 64bit.png, with scipy 0.5.0.2142 and numpy 1.0b2.dev2942 (latest SVN).
I have a 32bit machine and get Nils's results in 32bit.png (scattered), i.e. the "buggy" version.
Great, I am not out on a limb.
However, I'm not running the latest numpy and scipy.
I don't think that it is related to the version. Maybe an ATLAS issue ? I am looking forward to see more "exceptions" ;-) Nils
Processor: Intel(R) Pentium(R) 4 CPU 2.60GHz
ATLAS: 3.7.11 (self compiled with SSE2 support)
In [1]: scipy.__version__ Out[1]: '0.4.9.1851'
In [4]: numpy.__version__ Out[4]: '0.9.7.2339'
OS: Mandriva 2006.0 Linux (2.6.12 kernel)
HTH, Johann _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
Nils Wagner wrote:
Great, I am not out on a limb.
However, I'm not running the latest numpy and scipy.
I don't think that it is related to the version. Maybe an ATLAS issue ?
I am looking forward to see more "exceptions" ;-)
ok, my ATLAS (working well on Gentoo Linux) is lapack-atlas-3.6.0 r.
Nils Wagner wrote:
Dear Scipy users,
It's not my intention to annoy you, but is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
http://projects.scipy.org/scipy/scipy/ticket/223
I have no idea why I get different results on different architectures.
Thanks in advance for testing.
Nils
Same result as your 64 bit. My system: AMD Athlon(TM) XP 2400+ atlas3-base 3.6.0-20.2 (nothing special, from debian testing) numpy: 0.9.9.2612 scipy: 0.5.0.1949 cheers, steve -- Random number generation is the art of producing pure gibberish as quickly as possible.
Hi Nils et. al,
is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
I just ran it on the newest scipy and almost newest numpy from svn and my output is the correct one (the 64bit.png) and I'm running on a 32bit machine (Intel Core Duo (MacBook Pro)). No atlas as such, tho I was under the impression I did install atlas ... there's even a libatlas.a in my /usr/local/lib ... hmm .. Anyway, scipy/numpy info is pasted below. -steve In [5]: scipy.__version__ Out[5]: '0.5.0.2142' In [6]: scipy.show_config() umfpack_info: NOT AVAILABLE dfftw_info: libraries = ['drfftw', 'dfftw'] library_dirs = ['/opt/local/lib'] define_macros = [('SCIPY_DFFTW_H', None)] include_dirs = ['/opt/local/include'] fft_opt_info: libraries = ['drfftw', 'dfftw'] library_dirs = ['/opt/local/lib'] define_macros = [('SCIPY_DFFTW_H', None)] include_dirs = ['/opt/local/include'] djbfft_info: NOT AVAILABLE lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3'] define_macros = [('NO_ATLAS_INFO', 3)] fftw2_info: NOT AVAILABLE fftw3_info: NOT AVAILABLE blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)] ============================= In [9]: numpy.__version__ Out[9]: '1.0b2.dev2940' In [10]: numpy.show_config() lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3'] define_macros = [('NO_ATLAS_INFO', 3)] blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)]
On Wed, 2 Aug 2006 07:20:30 -0400 Steve Lianoglou <lists.steve@arachnedesign.net> wrote:
Hi Nils et. al,
is someone able to confirm the output (32bit.png) of test_det.py on a 32-bit machine ? The script is available via
I just ran it on the newest scipy and almost newest numpy from svn and my output is the correct one (the 64bit.png) and I'm running on a 32bit machine (Intel Core Duo (MacBook Pro)).
No atlas as such, tho I was under the impression I did install atlas ... there's even a libatlas.a in my /usr/local/lib ... hmm ..
Anyway, scipy/numpy info is pasted below.
-steve
In [5]: scipy.__version__ Out[5]: '0.5.0.2142'
In [6]: scipy.show_config() umfpack_info: NOT AVAILABLE
dfftw_info: libraries = ['drfftw', 'dfftw'] library_dirs = ['/opt/local/lib'] define_macros = [('SCIPY_DFFTW_H', None)] include_dirs = ['/opt/local/include']
fft_opt_info: libraries = ['drfftw', 'dfftw'] library_dirs = ['/opt/local/lib'] define_macros = [('SCIPY_DFFTW_H', None)] include_dirs = ['/opt/local/include']
djbfft_info: NOT AVAILABLE
lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3'] define_macros = [('NO_ATLAS_INFO', 3)]
fftw2_info: NOT AVAILABLE
fftw3_info: NOT AVAILABLE
blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)]
=============================
In [9]: numpy.__version__ Out[9]: '1.0b2.dev2940'
In [10]: numpy.show_config() lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3'] define_macros = [('NO_ATLAS_INFO', 3)]
blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)]
Thank you all for running the test ! Finally I have disabled ATLAS by export ATLAS=None Good news is that I get the correct result. So I guess it's definitely an ATLAS issue. Bad news is that scipy.test(1) results in FAILED (failures=17, errors=4) More details below. Can someone reproduce these failures (No ATLAS) ?
numpy.__version__ '1.0b2.dev2943' scipy.__version__ '0.5.0.2142'
====================================================================== ERROR: Compare eigenvalues of eigvals_banded with those of linalg.eig. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", line 270, in check_eigvals_banded select='i', select_range=(ind1, ind2) ) File "/usr/lib/python2.4/site-packages/scipy/linalg/decomp.py", line 381, in eigvals_banded select_range=select_range) File "/usr/lib/python2.4/site-packages/scipy/linalg/decomp.py", line 362, in eig_banded if info>0: raise LinAlgError,"eig algorithm did not converge" LinAlgError: eig algorithm did not converge ====================================================================== ERROR: check_zero (scipy.linalg.tests.test_matfuncs.test_expm) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py", line 105, in check_zero assert_array_almost_equal(expm2(a),[[1,0],[0,1]]) File "/usr/lib/python2.4/site-packages/scipy/linalg/matfuncs.py", line 71, in expm2 vri = inv(vr) File "/usr/lib/python2.4/site-packages/scipy/linalg/basic.py", line 180, in inv a1 = asarray_chkfinite(a) File "/usr/lib/python2.4/site-packages/numpy/lib/function_base.py", line 181, in asarray_chkfinite raise ValueError, "array must not contain infs or NaNs" ValueError: array must not contain infs or NaNs ====================================================================== ERROR: check_defective1 (scipy.linalg.tests.test_matfuncs.test_signm) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py", line 46, in check_defective1 r = signm(a) File "/usr/lib/python2.4/site-packages/scipy/linalg/matfuncs.py", line 274, in signm iS0 = inv(S0) File "/usr/lib/python2.4/site-packages/scipy/linalg/basic.py", line 180, in inv a1 = asarray_chkfinite(a) File "/usr/lib/python2.4/site-packages/numpy/lib/function_base.py", line 181, in asarray_chkfinite raise ValueError, "array must not contain infs or NaNs" ValueError: array must not contain infs or NaNs ====================================================================== ERROR: check_defective3 (scipy.linalg.tests.test_matfuncs.test_signm) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py", line 67, in check_defective3 r = signm(a) File "/usr/lib/python2.4/site-packages/scipy/linalg/matfuncs.py", line 274, in signm iS0 = inv(S0) File "/usr/lib/python2.4/site-packages/scipy/linalg/basic.py", line 180, in inv a1 = asarray_chkfinite(a) File "/usr/lib/python2.4/site-packages/numpy/lib/function_base.py", line 181, in asarray_chkfinite raise ValueError, "array must not contain infs or NaNs" ValueError: array must not contain infs or NaNs ====================================================================== FAIL: Compare eigenvalues and eigenvectors of eig_banded ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", line 314, in check_eig_banded self.w_sym_lin[ind1:ind2+1]) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 199, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (shapes (0,), (5,) mismatch) x: array([], dtype=float64) y: array([-0.52994106, -0.43023792, 0.86217766, 1.66090423, 2.84350424]) ====================================================================== FAIL: check_simple (scipy.linalg.tests.test_decomp.test_svdvals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", line 508, in check_simple assert s[0]>=s[1]>=s[2] AssertionError ====================================================================== FAIL: check_simple_complex (scipy.linalg.tests.test_decomp.test_svdvals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py", line 526, in check_simple_complex assert s[0]>=s[1]>=s[2] AssertionError ====================================================================== FAIL: check_syevr_irange_high (scipy.lib.tests.test_lapack.test_flapack_double) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 74, in check_syevr_irange_high def check_syevr_irange_high(self): self.check_syevr_irange(irange=[1,2]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange assert_array_almost_equal(w,exact_w[rslice]) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0., 0.]) y: array([ 0.48769389, 9.18223045]) ====================================================================== FAIL: check_syevr_irange_low (scipy.lib.tests.test_lapack.test_flapack_double) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 70, in check_syevr_irange_low def check_syevr_irange_low(self): self.check_syevr_irange(irange=[0,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange assert_array_almost_equal(w,exact_w[rslice]) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0., 0.]) y: array([-0.66992434, 0.48769389]) ====================================================================== FAIL: check_syevr_irange_mid (scipy.lib.tests.test_lapack.test_flapack_double) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 72, in check_syevr_irange_mid def check_syevr_irange_mid(self): self.check_syevr_irange(irange=[1,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange assert_array_almost_equal(w,exact_w[rslice]) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0.]) y: array([ 0.48769389]) ====================================================================== FAIL: check_syevr_vrange (scipy.lib.tests.test_lapack.test_flapack_double) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 4.5, 4.5, 4.5]) y: array([-0.66992434, 0.48769389, 9.18223045]) ====================================================================== FAIL: check_syevr_vrange_high (scipy.lib.tests.test_lapack.test_flapack_double) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 100, in check_syevr_vrange_high def check_syevr_vrange_high(self): self.check_syevr_vrange(vrange=[1,10]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 5.5]) y: array([ 9.18223045]) ====================================================================== FAIL: check_syevr_vrange_low (scipy.lib.tests.test_lapack.test_flapack_double) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 96, in check_syevr_vrange_low def check_syevr_vrange_low(self): self.check_syevr_vrange(vrange=[-1,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0., 0.]) y: array([-0.66992434, 0.48769389]) ====================================================================== FAIL: check_syevr_vrange_mid (scipy.lib.tests.test_lapack.test_flapack_double) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 98, in check_syevr_vrange_mid def check_syevr_vrange_mid(self): self.check_syevr_vrange(vrange=[0,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0.5]) y: array([ 0.48769389]) ====================================================================== FAIL: check_syevr_irange_high (scipy.lib.tests.test_lapack.test_flapack_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 74, in check_syevr_irange_high def check_syevr_irange_high(self): self.check_syevr_irange(irange=[1,2]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange assert_array_almost_equal(w,exact_w[rslice]) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0., 0.], dtype=float32) y: array([ 0.48769389, 9.18223045]) ====================================================================== FAIL: check_syevr_irange_low (scipy.lib.tests.test_lapack.test_flapack_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 70, in check_syevr_irange_low def check_syevr_irange_low(self): self.check_syevr_irange(irange=[0,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange assert_array_almost_equal(w,exact_w[rslice]) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0., 0.], dtype=float32) y: array([-0.66992434, 0.48769389]) ====================================================================== FAIL: check_syevr_irange_mid (scipy.lib.tests.test_lapack.test_flapack_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 72, in check_syevr_irange_mid def check_syevr_irange_mid(self): self.check_syevr_irange(irange=[1,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange assert_array_almost_equal(w,exact_w[rslice]) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0.], dtype=float32) y: array([ 0.48769389]) ====================================================================== FAIL: check_syevr_vrange (scipy.lib.tests.test_lapack.test_flapack_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 4.5, 4.5, 4.5], dtype=float32) y: array([-0.66992434, 0.48769389, 9.18223045]) ====================================================================== FAIL: check_syevr_vrange_high (scipy.lib.tests.test_lapack.test_flapack_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 100, in check_syevr_vrange_high def check_syevr_vrange_high(self): self.check_syevr_vrange(vrange=[1,10]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 5.5], dtype=float32) y: array([ 9.18223045]) ====================================================================== FAIL: check_syevr_vrange_low (scipy.lib.tests.test_lapack.test_flapack_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 96, in check_syevr_vrange_low def check_syevr_vrange_low(self): self.check_syevr_vrange(vrange=[-1,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0., 0.], dtype=float32) y: array([-0.66992434, 0.48769389]) ====================================================================== FAIL: check_syevr_vrange_mid (scipy.lib.tests.test_lapack.test_flapack_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 98, in check_syevr_vrange_mid def check_syevr_vrange_mid(self): self.check_syevr_vrange(vrange=[0,1]) File "/usr/lib/python2.4/site-packages/scipy/lib/lapack/tests/esv_tests.py", line 91, in check_syevr_vrange assert_array_almost_equal(w,ew) File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 230, in assert_array_almost_equal header='Arrays are not almost equal') File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line 215, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 100.0%) x: array([ 0.5], dtype=float32) y: array([ 0.48769389]) ---------------------------------------------------------------------- Ran 1552 tests in 3.979s
Thank you all for running the test !
Finally I have disabled ATLAS by export ATLAS=None
Good news is that I get the correct result. So I guess it's definitely an ATLAS issue.
Bad news is that scipy.test(1) results in
FAILED (failures=17, errors=4) More details below.
Hi again, scipy.test(1) only results in two failures for me: ====================================================================== FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/lib/python2.4/site-packages/scipy/lib/blas/tests/ test_blas.py", line 76, in check_dot assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j) File "/opt/local/lib/python2.4/site-packages/numpy/testing/ utils.py", line 156, in assert_almost_equal assert round(abs(desired - actual),decimal) == 0, msg AssertionError: Items are not equal: ACTUAL: 3.6954854766660471e-37j DESIRED: (-9+2j) ====================================================================== FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/lib/python2.4/site-packages/scipy/linalg/tests/ test_blas.py", line 75, in check_dot assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j) File "/opt/local/lib/python2.4/site-packages/numpy/testing/ utils.py", line 156, in assert_almost_equal assert round(abs(desired - actual),decimal) == 0, msg AssertionError: Items are not equal: ACTUAL: 3.6954890639901157e-37j DESIRED: (-9+2j) ---------------------------------------------------------------------- Ran 1552 tests in 3.975s FAILED (failures=2) -steve
Thank you all for running the test !
Finally I have disabled ATLAS by export ATLAS=None
Good news is that I get the correct result. So I guess it's definitely an ATLAS issue.
Yes, but I think the real difficulty is ATLAS 3.6.0 vs. 3.7.11. I would
Steve Lianoglou wrote: like to see some kind of official statement, I suppose, about which version of ATLAS scipy builds best with. 3.6.0 is stable but very old; Clint Whaley is recommending use of the 3.7 series. The good news is that he has a grant to help pay him for the time it will take to get a new stable release out. Nils, it might be worth trying ATLAS 3.7.13, which has a completely new (and much improved) configuration, but READ THE DOCS first. Building 3.7.13 is very different from building any previous versions. Frankly, I need stability more than the last iota of speed right now, so I'm using the Fedora Extras 3.6.0 ATLAS binaries with Scipy, which gives adequate performance and scipy.test(1) finishes with no errors. Steve
On Sat, 12 Aug 2006 18:02:04 -0700 Stephen Walton <stephen.walton@csun.edu> wrote:
Steve Lianoglou wrote:
Thank you all for running the test !
Finally I have disabled ATLAS by export ATLAS=None
Good news is that I get the correct result. So I guess it's definitely an ATLAS issue.
Yes, but I think the real difficulty is ATLAS 3.6.0 vs. 3.7.11. I would like to see some kind of official statement, I suppose, about which version of ATLAS scipy builds best with. 3.6.0 is stable but very old; Clint Whaley is recommending use of the 3.7 series. The good news is that he has a grant to help pay him for the time it will take to get a new stable release out. Nils, it might be worth trying ATLAS 3.7.13, which has a completely new (and much improved) configuration, but READ THE DOCS first. Building 3.7.13 is very different from building any previous versions.
Frankly, I need stability more than the last iota of speed right now, so I'm using the Fedora Extras 3.6.0 ATLAS binaries with Scipy, which gives adequate performance and scipy.test(1) finishes with no errors.
Steve
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
Steve, I have used 3.7.11 and the problem is still open. Nils
Nils Wagner wrote:
On Sat, 12 Aug 2006 18:02:04 -0700 Stephen Walton <stephen.walton@csun.edu> wrote:
Steve Lianoglou wrote:
Thank you all for running the test !
Finally I have disabled ATLAS by export ATLAS=None
Good news is that I get the correct result. So I guess it's definitely an ATLAS issue.
Yes, but I think the real difficulty is ATLAS 3.6.0 vs. 3.7.11. I would like to see some kind of official statement, I suppose, about which version of ATLAS scipy builds best with. 3.6.0 is stable but very old; Clint Whaley is recommending use of the 3.7 series. The good news is that he has a grant to help pay him for the time it will take to get a new stable release out. Nils, it might be worth trying ATLAS 3.7.13, which has a completely new (and much improved) configuration, but READ THE DOCS first. Building 3.7.13 is very different from building any previous versions.
Frankly, I need stability more than the last iota of speed right now, so I'm using the Fedora Extras 3.6.0 ATLAS binaries with Scipy, which gives adequate performance and scipy.test(1) finishes with no errors.
Steve
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
Steve,
I have used 3.7.11 and the problem is still open.
Nils _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
Hi all, The different results disappeared misteriously ! Something must happened to numpy/scipy between ATLAS 3.6.0
scipy.__version__ '0.5.0.2147' numpy.__version__ '1.0b2.dev2951'
and ATLAS 3.6.0
numpy.__version__ '1.0b2.dev3005' scipy.__version__ '0.5.0.2158'
Note that ATLAS has been retained unchanged !!! Nils
participants (7)
-
Johann Rohwer -
Nils Wagner -
Robert Cimrman -
Stephen Walton -
Steve Lianoglou -
Steve Schmerler -
Wolfgang