[SciPy-dev] scikits umfpack
Nils Wagner
nwagner@iam.uni-stuttgart...
Wed Feb 11 14:46:18 CST 2009
python test_umfpack.py
Traceback (most recent call last):
File "test_umfpack.py", line 195, in <module>
nose.run(argv=['', __file__])
NameError: name 'nose' is not defined
#!/usr/bin/env python
#
"""
Test functions for UMFPACK solver. The solver is accessed
via spsolve(),
so the built-in SuperLU solver is tested too, in single
precision.
"""
import warnings
import nose
An "import nose" works for me.
Another issue
python try_umfpack.py
/home/nwagner/local/lib64/python2.6/site-packages/scipy/linsolve/__init__.py:4:
DeprecationWarning: scipy.linsolve has moved to
scipy.sparse.linalg.dsolve
warn('scipy.linsolve has moved to
scipy.sparse.linalg.dsolve', DeprecationWarning)
Traceback (most recent call last):
File "try_umfpack.py", line 7, in <module>
import scipy.linsolve.umfpack as um
ImportError: No module named umfpack
nwagner@linux-mogv:~/svn/umfpack/tests> python
Python 2.6 (r26:66714, Feb 3 2009, 20:49:49)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>> from scikits import umfpack as um
The corresponding line in try_umfpack.py should be
replaced by
#import scipy.linsolve.umfpack as um
from scikits import umfpack as um
Nils
More information about the Scipy-dev
mailing list