[SciPy-user] Error and fail on test

Ilmar Wilbers ilmarw@simula...
Sun Jan 27 15:52:29 CST 2008


Hi,

I have been builing scipy on Mac 10.5 with gcc 4.0.1 and linked it with 
BLAS and LAPACK. Installastion seems to be fine, but when I run 
scipy.test(1, 10), I get the following error and failure:
======================================================================
ERROR: check_integer (scipy.io.tests.test_array_import.test_read_array)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/scipy/io/tests/test_array_import.py", 
line 55, in check_integer
     from scipy import stats
   File 
"/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/scipy/stats/__init__.py", 
line 7, in <module>
     from stats import *
   File 
"/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/scipy/stats/stats.py", 
line 191, in <module>
     import scipy.special as special
   File 
"/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/scipy/special/__init__.py", 
line 8, in <module>
     from basic import *
   File 
"/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/scipy/special/basic.py", 
line 8, in <module>
     from _cephes import *
ImportError: 
dlopen(/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/scipy/special/_cephes.so, 
2): Symbol not found: _do_lio
   Referenced from: 
/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/scipy/special/_cephes.so
   Expected in: dynamic lookup


======================================================================
FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/Users/ilmarw/ext/Darwin/lib/python2.5/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 
"/Users/ilmarw/ext/Darwin/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
  ACTUAL: 7.3632427319432975e-38j
  DESIRED: (-9+2j)

----------------------------------------------------------------------
Ran 1144 tests in 3.605s

FAILED (failures=1, errors=1)

For the error, I did as suggested in 
http://projects.scipy.org/pipermail/scipy-user/2007-April/011769.html
and
http://projects.scipy.org/pipermail/scipy-user/2007-April/011772.html

For the failure, it seems that the patch from 
http://www.scipy.org/scipy/scipy/ticket/238
maybe is not fixed? What shoudl I check?

I got the warning:
WARNING: clapack module is empty
further up. How should I proceed? It the compiler version (4.0.1) the 
problem here?

ilmar


More information about the SciPy-user mailing list