[SciPy-dev] system_info is in effect

Pearu Peterson pearu at cens.ioc.ee
Fri Feb 22 14:33:39 EST 2002


On Fri, 22 Feb 2002, Fernando Pérez wrote:

> For reference, this is under Linux/Python2.2.
> 
> Log:
> 
> ======================================================================
> 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 52, 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 52, 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
> 
> ----------------------------------------------------------------------

This is what I get also with

Python 2.1.2 (#1, Jan 18 2002, 18:05:45) 
[GCC 2.95.4  (Debian prerelease)] on linux2

and

Python 2.2 (#1, Jan  8 2002, 01:13:32) 
[GCC 2.95.4 20011006 (Debian prerelease)] on linux2

but not with

Python 2.2 (#7, Jan 28 2002, 13:08:12) 
[GCC 3.0.3] on linux2

Note the difference in GCC versions. Also gcc-3.0.3 is run on Suse linux.


Ok, I'll try first fix one f2py bug and then come back to linalg2.
Eric, do you have complaints about system_info on Win32?

Pearu




More information about the SciPy-Dev mailing list