Scipy was build without umfpack support

In running the tests for sfepy, I had several fails when I ran the debug as suggested in your installation I recieved the following message: (Full text will be at the end of this email)
raise ImportError('Scipy was built without UMFPACK support. ' ImportError: Scipy was built without UMFPACK support. You need to install the UMFPACK library and header files before building scipy.
I have tried pip installing scikit-umfpack but it told me that the
requirement was already met. I tried updating and it said it was up to
date. I also updated scipy but that did not change the error message. Do
you know of other problems that might be causing this error? I am using
Anaconda on a Windows 8 machine.
Thanks,
Alicia White
C:\Users\awhite40\Documents\GitHub\sfepy [master]> python run_tests.py --debug tests/test_input_stokes.py <<< directory: tests, test files: 1 <<< tests\test_input_stokes.py sfepy: left over: ['verbose', '__builtins__', '_filename', '__file__', '__package__', 'TestInput', 'input_name', '__name __', 'output_name', '__doc__'] sfepy: left over: ['verbose', 'w2', 'data_dir', '_filename', 'match_y_line', '__package__', '__doc__', '__builtins__', ' save_format', '__file__', '__name__']
test instance prepared (1 test(s))
... solving ../examples/navier_stokes/stokes.py...
sfepy: reading mesh [line2, tri3, quad4, tetra4, hexa8]
(C:\Users\awhite40\Documents\GitHub\sfepy\meshes\2d\special\chan
nels_symm944t.mesh)...
sfepy: ...done in 0.01 s
sfepy: creating regions...
sfepy: Right
sfepy: EBCGamma1
sfepy: EBCGamma2
sfepy: Bottom
sfepy: Top
sfepy: Y1
sfepy: Y2
sfepy: Left
sfepy: Walls
sfepy: Y1Y2
sfepy: ...done in 0.03 s
sfepy: equation "balance":
sfepy: dw_div_grad.i.Y1Y2( fluid.viscosity, v, u )
- dw_stokes.i.Y1Y2( v, p ) = 0
sfepy: equation "incompressibility":
sfepy: dw_stokes.i.Y1Y2( u, q ) = 0
sfepy: using solvers:
ts: no ts
nls: newton
ls: ls
sfepy: updating variables...
sfepy: ...done
C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\discrete\common\fields.py:196:
FutureWarning: comparison to None
will r
esult in an elementwise object comparison in the future.
nods.remove(nn)
sfepy: setting up dof connectivities...
sfepy: ...done in 0.00 s
sfepy: matrix shape: (1845L, 1845L)
sfepy: assembling matrix graph...
sfepy: ...done in 0.00 s
sfepy: matrix structural nonzeros: 41800 (1.23e-02% fill)
sfepy: updating materials...
sfepy: fluid
sfepy: ...done in 0.00 s
sfepy: nls: iter: 0, residual: 4.566249e+00 (rel: 1.000000e+00)
<type 'exceptions.ImportError'>
Traceback (most recent call last): File "run_tests.py", line 206, in <module> main() File "run_tests.py", line 197, in main run_tests(stats, dirname, [filename]) File "run_tests.py", line 131, in run_tests n_fail, n_total, test_time = run_test(conf_name, options) File "run_tests.py", line 99, in run_test ok, n_fail, n_total = test.run(options.debug) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\base\testing.py", line 58, in run ret = test_method() File "C:\Users\awhite40\Documents\GitHub\sfepy\tests\tests_basic.py", line 73, in test_input post_process_hook_final=self.post_process_hook_final) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\applications\pde_solver_app.py", line 55, in solve_pde return app(nls_status=nls_status) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\applications\application.py", line 29, in call_basic return self.call(**kwargs) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\applications\pde_solver_app.py", line 220, in call nls_status=nls_status) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\solvers\ts_solvers.py", line 29, in __call__ state = problem.solve(state0=state0, nls_status=nls_status) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\discrete\problem.py", line 984, in solve vec = solvers.nls(vec0, status=self.nls_status) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\solvers\nls.py", line 396, in __call__ eps_a=eps_a, eps_r=eps_r, mtx=mtx_a) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\solvers\ls.py", line 45, in _standard_call **kwargs) File "C:\Users\awhite40\Documents\GitHub\sfepy\sfepy\solvers\ls.py", line 129, in __call__ return self.sls.spsolve(mtx, rhs) File "C:\Users\awhite40\AppData\Local\Continuum\Anaconda\lib\site-packages\scipy\sparse\linalg\dsolve\linsolve.py", li ne 127, in spsolve umf = umfpack.UmfpackContext(family[A.dtype.char]) File "C:\Users\awhite40\AppData\Local\Continuum\Anaconda\lib\site-packages\scikits\umfpack\umfpack.py", line 282, in _ _init__ raise ImportError('Scipy was built without UMFPACK support. ' ImportError: Scipy was built without UMFPACK support. You need to install the UMFPACK library and header files before bu ilding scipy.

Hi Alicia,
There is no such problem with latest SfePy/Anaconda distribution. Please try to update scipy package using 'conda update scipy' (I suppose, you are using scipy package from Anaconda distribution).
Regards, Lubos
participants (2)
-
Alicia White
-
Luboš Kejzlar