[Numpy-discussion] Mac OS 10.4 test errors
Steve Lianoglou
lists.steve at arachnedesign.net
Thu Jul 6 00:02:16 EDT 2006
Hi folks,
I'm able to build and install numpy on my intel mac OS 10.4.7 but
I'm getting 3 unit test failures.
I'm using gcc 4.0.1 and GNU Fortran 95 (GCC) 4.2.0 20060401 (if
that's helpful to know).
The relevant output from my ipython session is below. Doing some of
the stuff I've found in random tutorials doesn't seem to be a
problem .. though I do get seg faults when trying to do some scipy
tutorial plotting stuff .. which I may post to the scipy list a bit
later ... I just want to make sure I'm installing everything
correctly first.
Thanks for any insight,
-steve
In [3]: numpy.__version__
Out[3]: '0.9.9.2735'
In [4]: numpy.test(1)
....
... cut some stuff out until first error ..
...
======================================================================
ERROR: check_basic (numpy.core.tests.test_defmatrix.test_algebra)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/
test_defmatrix.py", line 125, in check_basic
Ainv = linalg.inv(A)
File "/opt/local/lib/python2.4/site-packages/numpy/linalg/
linalg.py", line 122, in inv
return wrap(solve(a, identity(a.shape[0])))
File "/opt/local/lib/python2.4/site-packages/numpy/linalg/
linalg.py", line 109, in solve
results = lapack_routine(n_eq, n_rhs, a, n_eq, pivots, b, n_eq, 0)
LapackError: Parameter ipiv is not of type PyArray_INT in
lapack_lite.dgesv
======================================================================
ERROR: check_instance_methods
(numpy.core.tests.test_defmatrix.test_matrix_return)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/
test_defmatrix.py", line 157, in check_instance_methods
f = eval('a.%s' % attrib)
File "<string>", line 0, in ?
File "/opt/local/lib/python2.4/site-packages/numpy/core/
defmatrix.py", line 293, in getI
return matrix(inv(self))
File "/opt/local/lib/python2.4/site-packages/numpy/linalg/
linalg.py", line 122, in inv
return wrap(solve(a, identity(a.shape[0])))
File "/opt/local/lib/python2.4/site-packages/numpy/linalg/
linalg.py", line 109, in solve
results = lapack_routine(n_eq, n_rhs, a, n_eq, pivots, b, n_eq, 0)
LapackError: Parameter ipiv is not of type PyArray_INT in
lapack_lite.dgesv
======================================================================
ERROR: check_basic (numpy.core.tests.test_defmatrix.test_properties)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/
test_defmatrix.py", line 48, in check_basic
assert allclose(linalg.inv(A), mA.I)
File "/opt/local/lib/python2.4/site-packages/numpy/linalg/
linalg.py", line 122, in inv
return wrap(solve(a, identity(a.shape[0])))
File "/opt/local/lib/python2.4/site-packages/numpy/linalg/
linalg.py", line 109, in solve
results = lapack_routine(n_eq, n_rhs, a, n_eq, pivots, b, n_eq, 0)
LapackError: Parameter ipiv is not of type PyArray_INT in
lapack_lite.dgesv
----------------------------------------------------------------------
More information about the NumPy-Discussion
mailing list