[SciPy-dev] Now new svn of numpy is ready
Darren Dale
dd55 at cornell.edu
Thu Jan 5 09:18:22 EST 2006
I also got several fft errors, but only when scipy uses fftw-3. Try commenting
out the fftw-3 dictionary in system_info.fftw_info. I did so to force scipy
to use fftw-2, and test(10) completes without errors.
Darren
On Thursday 05 January 2006 08:50, Christopher Fonnesbeck wrote:
> On Jan 5, 2006, at 6:53 AM, Pearu Peterson wrote:
> > test(10)
>
> This runs pretty far on OSX, but ending with 16 errors from fftpack:
>
> ****************************************************************
> WARNING: cblas module is empty
> -----------
> See scipy/INSTALL.txt for troubleshooting.
> Notes:
> * If atlas library is not found by numpy/distutils/system_info.py,
> then scipy uses fblas instead of cblas.
> ****************************************************************
>
> ....................
> ======================================================================
> FAIL: bench_random
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_diff)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 210, in bench_random
> assert_array_almost_equal(diff(f,1),direct_diff(f,1))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 96.0%):
> Array 1: [ 4.0000000e+00 4.4583823e+00 4.6585202e+00
> 4.5314873e+00
> 4.0154475e+00 3.0782890e+00 1.7457348e+00 1.22...
> Array 2: [ 4.0000000e+00 3.9029585e+00 3.6083502e+00
> 3.1083616e+00
> 2.3987172e+00 1.4909128e+00 4.2567472e-01 -7.18...
>
>
> ======================================================================
> FAIL: check_definition
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_diff)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 86, in check_definition
> assert_array_almost_equal(diff(sin(x),2),direct_diff(sin(x),2))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 87.5%):
> Array 1: [ -6.3519652e-15 -3.8268343e-01 -7.0710678e-01
> -9.2387953e-01
> -1.0000000e+00 -9.2387953e-01 -7.0710678e-01 -3.82...
> Array 2: [ -7.3854931e-15 6.5259351e-15 -2.4942634e-15
> -7.5636114e-17
> 1.4745663e-15 -1.9133685e-15 2.2804788e-16 8.70...
>
>
> ======================================================================
> FAIL: bench_random
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_hilbert)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 356, in bench_random
> assert_array_almost_equal(hilbert(f),direct_hilbert(f))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 96.0%):
> Array 1: [ -1.0865211e+00 -1.1538025e+00 -1.1519434e+00
> -1.0725580e+00
> -9.1204050e-01 -6.7405401e-01 -3.7184092e-01 -2.91...
> Array 2: [ -1.0865211e+00 +0.0000000e+00j -1.0575653e+00
> -5.3966502e-17j
> -9.7152085e-01 -3.8615213e-17j -8.3113061e-01 -1.544...
>
>
> ======================================================================
> FAIL: check_random_even
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_hilbert)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 332, in check_random_even
> assert_array_almost_equal(direct_hilbert(direct_ihilbert(f)),f)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [ -4.3368087e-19+0.j 0.0000000e+00-0.j
> -4.0066888e-19-0.j
> 0.0000000e+00-0.j -3.0665868e-19-0.j 0.0000000e+00-0....
> Array 2: [-0.3138695 -0.320617 -0.0202909 0.0488052
> -0.373401 -0.1621773
> -0.2607906 -0.1146876 -0.12861 0.3907841 0.09393...
>
>
> ======================================================================
> FAIL: bench_random
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_shift)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 424, in bench_random
> assert_array_almost_equal(direct_shift(f,1),sf)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 98.0%):
> Array 1: [ 0.6015407 0.6432035 0.7632704 0.947396
> 1.1731603 1.4125187
> 1.635358 1.8137685 1.9262065 1.9605388 1.91521...
> Array 2: [ 0.6015407 0.5654719 0.6040595 0.7013589
> 0.8369433 0.9885575
> 1.1344713 1.2554716 1.336468 1.3676865 1.34542...
>
>
> ======================================================================
> FAIL: check_definition
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_shift)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 390, in check_definition
> assert_array_almost_equal(shift(sin(x),a),direct_shift(sin(x),a))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 88.8888888889%):
> Array 1: [ 0.0998334 0.4341242 0.7160532 0.9116156
> 0.9972237 0.9625519
> 0.8117822 0.5630995 0.2464987 -0.0998334 -0.43412...
> Array 2: [ 0.0998334 0.0938127 0.0764768 0.0499167
> 0.0173359 -0.0173359
> -0.0499167 -0.0764768 -0.0938127 -0.0998334 -0.09381...
>
>
> ======================================================================
> FAIL: bench_random
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_tilbert)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 273, in bench_random
> assert_array_almost_equal(tilbert(f,1),direct_tilbert(f,1))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 96.0%):
> Array 1: [ -1.0896991e+00 -1.1569240e+00 -1.1548950e+00
> -1.0752326e+00
> -9.1434140e-01 -6.7589846e-01 -3.7316325e-01 -2.99...
> Array 2: [ -1.0896991e+00 +0.0000000e+00j -1.0606855e+00
> -6.1149403e-17j
> -9.7447017e-01 -6.0785235e-17j -8.3380221e-01 +1.609...
>
>
> ======================================================================
> FAIL: check_random_even
> (scipy.fftpack.pseudo_diffs.test_pseudo_diffs.test_tilbert)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_pseudo_diffs.py",
> line 240, in check_random_even
> assert_array_almost_equal(direct_tilbert(direct_itilbert(f,h),h),f)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [ -1.5935877e-17+0.j -6.5549159e-18-0.j
> -6.0983963e-18-0.j
> 1.5380005e-18-0.j 1.1268367e-17-0.j 7.7320506e-18-0....
> Array 2: [-0.4516442 -0.4788809 0.260043 -0.1347756
> -0.2030805 0.1716475
> -0.4098054 0.0137122 0.4516803 -0.2769733 -0.27983...
>
>
> ======================================================================
> FAIL: bench_random (scipy.fftpack.basic.test_basic.test_fft)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 162,
> in bench_random
> assert_array_almost_equal(fft(x),y)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [ 5.1042851e+01+0.j 3.3063755e+00+1.7852228j
> -6.7669114e-01+2.3293438j -1.2238892e+00+1.0355247j
> 9.51554...
> Array 2: [ 5.1042851e+01 +4.5495051e+01j 4.3657884e-01
> +2.1522035e+00j
> 1.9258532e+00 +5.7806139e-01j -1.3614140e+00 -3.418...
>
>
> ======================================================================
> FAIL: check_definition (scipy.fftpack.basic.test_basic.test_fft)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 98,
> in check_definition
> assert_array_almost_equal(y,y1)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [ 20.+0.j 0.+0.j -4.+4.j 0.+0.j -4.+0.j
> 0.-0.j -4.-4.j 0.-0.j]
> Array 2: [ 20. +3.j -0.7071068+0.7071068j
> -7. +4.j
> -0.7071068-0.7071068j -4. -3.j 0.707106...
>
>
> ======================================================================
> FAIL: check_definition (scipy.fftpack.basic.test_basic.test_fftn)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 425,
> in check_definition
> assert_array_almost_equal(y,direct_dftn(x))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 22.2222222222%):
> Array 1: [[ 45. +0.j -4.5+2.5980762j -4.5-2.5980762j]
> [-13.5+7.7942286j 0. +0.j 0. +0.j ]
> [-13.5-7.79...
> Array 2: [[ 45. +0.j -4.5+2.5980762j -4.5-2.5980762j]
> [-13.5+0.j 0. +0.j 0. -0.j ]
> [-13.5+0.j ...
>
>
> ======================================================================
> FAIL: bench_random (scipy.fftpack.basic.test_basic.test_ifft)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 250,
> in bench_random
> assert_array_almost_equal(ifft(x),y)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [ 0.5398477 +0.0000000e+00j -0.0113129 +1.7200661e-02j
> 0.0226073 -1.0733876e-02j -0.0069369 -9.2497604e-03j
> -0.033912...
> Array 2: [ 5.3984769e-01 +5.2528836e-01j -1.8824526e-02
> +2.8057247e-02j
> 2.7252891e-02 -1.4375254e-02j -2.9920605e-02 +1.643...
>
>
> ======================================================================
> FAIL: check_definition (scipy.fftpack.basic.test_basic.test_ifft)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 183,
> in check_definition
> assert_array_almost_equal(y,y1)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [ 2.5+0.j 0. -0.j -0.5-0.5j 0. -0.j -0.5+0.j
> 0. +0.j -0.5+0.5j
> 0. +0.j ]
> Array 2: [ 2.5 +0.375j 0.0883883+0.0883883j
> -0.125 -0.5j
> 0.0883883-0.0883883j -0.5 -0.375j -0.0883883-0.0...
>
>
> ======================================================================
> FAIL: check_random_real (scipy.fftpack.basic.test_basic.test_ifft)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 217,
> in check_random_real
> assert_array_almost_equal (ifft(fft(x)),x)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 98.0392156863%):
> Array 1: [ 0.0599215 +0.0000000e+00j 0.4412427 -1.5238355e-17j
> 0.7672772 +8.2722500e-17j 0.3091665 -1.2772878e-17j
> 0.562163...
> Array 2: [ 0.0599215 0.8014683 0.9653611 0.3622346
> 0.22084 0.2799468
> 0.3725071 0.5772085 0.8525039 0.8912614 0.53216...
>
>
> ======================================================================
> FAIL: check_definition (scipy.fftpack.basic.test_basic.test_ifftn)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 594,
> in check_definition
> assert_array_almost_equal(y,direct_idftn(x))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 22.2222222222%):
> Array 1: [[ 5. +0.j -0.5-0.2886751j -0.5+0.2886751j]
> [-1.5-0.8660254j 0. +0.j 0. +0.j ]
> [-1.5+0.8660254j ...
> Array 2: [[ 5. +0.j -0.5-0.2886751j -0.5+0.2886751j]
> [-1.5+0.j 0. -0.j 0. +0.j ]
> [-1.5+0.j ...
>
>
> ======================================================================
> FAIL: check_definition (scipy.fftpack.basic.test_basic.test_irfft)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 341,
> in check_definition
> assert_array_almost_equal(y,ifft(x1))
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 182, in
> assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 50.0%):
> Array 1: [ 2.625 -1.6856602 -0.375 -1.1856602
> 0.625 0.4356602 -0.375
> 0.9356602]
> Array 2: [ 2.625+0.j -0.375-0.j -0.375-0.j -0.375-0.j 0.625
> +0.j -0.375+0.j
> -0.375+0.j -0.375+0.j]
>
>
> ----------------------------------------------------------------------
> Ran 945 tests in 60.079s
>
> FAILED (failures=16)
>
>
> --
> Christopher J. Fonnesbeck
>
> Population Ecologist, Marine Mammal Section
> Fish & Wildlife Research Institute (FWC)
> St. Petersburg, FL
>
> Adjunct Assistant Professor
> Warnell School of Forest Resources
> University of Georgia
> Athens, GA
>
> T: 727.235.5570
> E: chris at trichech.us
--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd55 at cornell.edu
office: (607) 255-9894
fax: (607) 255-9001
More information about the SciPy-Dev
mailing list