Jarrod Millman | 15 Aug 00:04
Favicon

test_blas failures

I am getting test_blas failures on 64bit Linux, but not 32bit Linux.
Is anyone else seeing this?  I would like to get these fixed before
releasing the 0.7.0b1.

>>> scipy.test()
Running unit tests for scipy
NumPy version 1.2.0.dev5629
NumPy is installed in /usr/lib64/python2.5/site-packages/numpy
SciPy version 0.7.0.dev4637
SciPy is installed in /usr/lib64/python2.5/site-packages/scipy
Python version 2.5.1 (r251:54863, Jul 10 2008, 17:25:56) [GCC 4.1.2
20070925 (Red Hat 4.1.2-33)]
nose version 0.10.3

<snip>

======================================================================
FAIL: test_asum (test_blas.TestFBLAS1Simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/scipy/lib/blas/tests/test_blas.py",
line 60, in test_asum
    assert_almost_equal(f([3,-4,5]),12)
  File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py",
line 207, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
 ACTUAL: 0.0
 DESIRED: 12
(Continue reading)

Aric Hagberg | 16 Aug 16:55

Re: test_blas failures

On Thu, Aug 14, 2008 at 03:06:12PM -0700, Jarrod Millman wrote:
> I am getting test_blas failures on 64bit Linux, but not 32bit Linux.
> Is anyone else seeing this?  I would like to get these fixed before
> releasing the 0.7.0b1.

These errors go away after building the ATLAS library from source
and linking to that (see previous message on test_arpack errors).

Aric

Gmane