[SciPy-dev] scipy testing results
Fernando Pérez
fperez at pizero.colorado.edu
Tue Feb 19 17:49:48 CST 2002
>
> So, you should rebuild lapack (atlas). You should also apply notes in
>
> http://math-atlas.sourceforge.net/errata.html#completelp
Boy, wasn't that fun and simple :)
The atlas compilation took a solid 1/2 hour, but it's done. I didn't build
lapack from scratch, grabbed rpms for that. But I followed the 'completeness'
instructions for atlas/lapack.
The build_instructions web page should definitely mention that your best bet
of getting things to work is just to bite the bullet and build atlas
yourself. The existing prebuilt binaries are just too old/incomplete to be
useful, and you end up just wasting time trying to use them.
Now things are working, sort of. I can import scipy, but scipy.test() reports
5 failures. I pasted the report at the end in case it's useful for you guys.
I fully realize that right now we're in a state of flow, but for 'end users'
we need to consider some centralized packaging for scipy. At least have local
builds available of lapack,atlas, static fft would be a plus. I think
'outsiders' would be quite put off by the current level of difficulty of the
installation.
This is *not* criticism of anyone, I know right now the priority is the
code. Just a minor comment for when the time comes to release the next
'public' scipy. You guys have done a fantastic job so far.
Anyway, *thanks a lot* to all those who helped with todays multi-problem
hunt. I really appreciate your kindness.
Cheers,
f.
PS: test report follows. I ran the full (level=10) suite.
In [7]: scipy.test(level=10)
... [snipped early non-error stuff]
======================================================================
ERROR: check_qnan (test_misc.test_isnan)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/scipy/tests/test_misc.py", line 112,
in check_qnan
assert(isnan(log(-1.)) == 1)
ValueError: math domain error
======================================================================
ERROR: check_qnan (test_misc.test_isfinite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/scipy/tests/test_misc.py", line 132,
in check_qnan
assert(isfinite(log(-1.)) == 0)
ValueError: math domain error
======================================================================
ERROR: check_qnan (test_misc.test_isinf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/scipy/tests/test_misc.py", line 156,
in check_qnan
assert(isinf(log(-1.)) == 0)
ValueError: math domain error
======================================================================
ERROR: check_basic (test_basic1a.test_roots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/scipy/tests/test_basic1a.py", line
19, in check_basic
assert_array_almost_equal(roots(a1),[2,2],11)
File "/usr/lib/python2.2/site-packages/scipy/basic1a.py", line 51, in roots
roots,dummy = eig(A)
File "/usr/lib/python2.2/site-packages/scipy/linalg/linear_algebra.py", line
440, in eig
results = ev(a, jobvl='N', jobvr=vchar, lwork=results[-2][0])
error: ((lwork==-1) || (lwork >= MAX(1,4*n))) failed for 3rd keyword lwork
======================================================================
ERROR: check_inverse (test_basic1a.test_roots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/scipy/tests/test_basic1a.py", line
25, in check_inverse
assert_array_almost_equal(sort(roots(poly(a))),sort(a),5)
File "/usr/lib/python2.2/site-packages/scipy/basic1a.py", line 51, in roots
roots,dummy = eig(A)
File "/usr/lib/python2.2/site-packages/scipy/linalg/linear_algebra.py", line
440, in eig
results = ev(a, jobvl='N', jobvr=vchar, lwork=results[-2][0])
error: ((lwork==-1) || (lwork >= MAX(1,4*n))) failed for 3rd keyword lwork
----------------------------------------------------------------------
Ran 319 tests in 256.606s
FAILED (errors=5)
More information about the Scipy-dev
mailing list