Test failures and UMFPACK_CONTROL

Hello,
I have anaconda version 2.2.0 installed on Windows 7. After attempting to install SfePy 2015.2 from source code, but I get the following output after running the tests.
python run_tests.py <<< directory: tests, test files: 91 tests\test_assembling.py --- test_assemble_matrix: failed! --- test_assemble_matrix_complex: failed! --- test_assemble_vector: failed! --- test_assemble_vector_complex: failed! tests\test_base.py +++ test_resolve_deps: ok +++ test_struct_add: ok +++ test_struct_i_add: ok +++ test_verbose_output: ok tests\test_cmesh.py --- test_cmesh_counts: failed! tests\test_domain.py --- test instance creation failed tests\test_ebcs.py --- test instance creation failed tests\test_eigenvalue_solvers.py --- test instance creation failed tests\test_elasticity_small_strain.py --- test_get_solution: failed! +++ test_linear_terms: ok tests\test_fem.py +++ test_base_functions_delta: ok +++ test_base_functions_values: ok tests\test_functions.py --- test instance creation failed tests\test_high_level.py --- test instance creation failed tests\test_homogenization_perfusion.py --- test_solution: failed! tests\test_hyperelastic_tlul.py --- test_solution: failed! tests\test_input_acoustics.py --- test_input: failed! tests\test_input_acoustics3d.py --- test_input: failed! tests\test_input_active_fibres.py --- test_input: failed! tests\test_input_biot.py --- test_input: failed! tests\test_input_biot_npbc.py --- test_input: failed! tests\test_input_biot_npbc_lagrange.py --- test_input: failed! tests\test_input_cube.py --- test_input: failed! tests\test_input_darcy_flow_multicomp.py --- test_input: failed! tests\test_input_elastic_contact_planes.py --- test_input: failed! tests\test_input_elastic_contact_sphere.py --- test_input: failed! tests\test_input_elastic_shifted_periodic.py --- test_input: failed! tests\test_input_its2D_2.py --- test_input: failed! tests\test_input_laplace_1d.py --- test_input: failed! tests\test_input_laplace_coupling_lcbcs.py --- test_input: failed! tests\test_input_laplace_time_ebcs.py --- test_input: failed! tests\test_input_linear_elastic.py --- test_input: failed! tests\test_input_linear_elastic_damping.py --- test_input: failed! tests\test_input_linear_elastic_iga.py --- test_input: failed! tests\test_input_linear_elastic_mM.py --- test_input: failed! tests\test_input_linear_elastic_probes.py --- test instance creation failed tests\test_input_linear_elastic_tractions.py --- test_input: failed! tests\test_input_linear_elastic_up.py --- test_input: failed! tests\test_input_linear_viscoelastic.py --- test_input: failed! tests\test_input_material_nonlinearity.py --- test_input: failed! tests\test_input_navier_stokes.py --- test_input: failed! tests\test_input_navier_stokes2d.py --- test_input: failed! tests\test_input_navier_stokes2d_iga.py --- test_input: failed! tests\test_input_perfusion_tl.py --- test_input: failed! tests\test_input_piezo_elasticity.py --- test_ebc: failed! --- test_input: failed! tests\test_input_poisson.py --- test_input: failed! tests\test_input_poisson_field_dependent_material.py --- test_input: failed! tests\test_input_poisson_functions.py --- test_input: failed! tests\test_input_poisson_iga.py --- test_input: failed! tests\test_input_poisson_neumann.py --- test_input: failed! tests\test_input_poisson_periodic_boundary_condition.py --- test_input: failed! tests\test_input_prestress_fibres.py --- test_input: failed! tests\test_input_sinbc.py --- test_input: failed! tests\test_input_stabilized_navier_stokes.py --- test_input: failed! tests\test_input_stokes.py --- test_input: failed! tests\test_input_stokes_slip_bc.py --- test_input: failed! tests\test_input_thermo_elasticity.py --- test_input: failed! tests\test_input_thermo_elasticity_ess.py --- test_input: failed! tests\test_input_time_poisson.py --- test_input: failed! tests\test_input_vibro_acoustic3d.py --- test_input: failed! tests\test_io.py +++ test_recursive_dict_hdf5: ok +++ test_sparse_matrix_hdf5: ok tests\test_laplace_unit_disk.py --- test instance creation failed tests\test_laplace_unit_square.py --- test instance creation failed tests\test_lcbc_2d.py --- test_linear_rigid_body_bc: failed! tests\test_lcbc_3d.py --- test_linear_rigid_body_bc: failed! tests\test_lcbcs.py --- test_laplace_shifted_periodic: failed! tests\test_linalg.py +++ test_assemble1d: ok +++ test_geometry: ok +++ test_tensors: ok +++ test_unique_rows: ok tests\test_linear_solvers.py --- test instance creation failed tests\test_linearization.py --- test_linearization: failed! tests\test_matcoefs.py +++ test_conversion_functions: ok +++ test_elastic_constants: ok +++ test_stiffness_tensors: ok tests\test_mesh_expand.py +++ test_mesh_expand: ok tests\test_mesh_generators.py +++ test_gen_block_mesh: ok +++ test_gen_cylinder_mesh: ok +++ test_gen_extended_block_mesh: ok tests\test_mesh_interp.py --- test_field_gradient: failed! --- test_interpolation: failed! --- test_interpolation_two_meshes: failed! --- test_invariance: failed! --- test_invariance_qp: failed! tests\test_mesh_smoothing.py +++ test_mesh_smoothing: ok tests\test_meshio.py +++ test_read_meshes: ok +++ test_compare_same_meshes: ok +++ test_read_dimension: ok +++ test_write_read_meshes: ok tests\test_msm_laplace.py --- test instance creation failed tests\test_msm_symbolic.py --- test instance creation failed tests\test_normals.py +++ test_normals: ok tests\test_parsing.py +++ test_parse_equations: ok +++ test_parse_regions: ok tests\test_periodic_bc_2d.py --- test instance creation failed tests\test_periodic_bc_3d.py --- test instance creation failed tests\test_permutations.py +++ test_rcm: ok tests\test_poly_spaces.py --- test_continuity: failed! --- test_gradients: failed! tests\test_projections.py --- test instance creation failed tests\test_quadratures.py +++ test_quadratures: ok +++ test_weight_consistency: ok tests\test_ref_coors.py --- test instance creation failed tests\test_regions.py +++ test_operators: ok +++ test_selectors: ok tests\test_semismooth_newton.py --- test_semismooth_newton: failed! tests\test_sparse.py +++ test_compose_sparse: ok tests\test_splinebox.py +++ test_spbox: ok tests\test_tensors.py +++ test_stress_transform: ok +++ test_tensors: ok +++ test_transform_data: ok +++ test_transform_data4: ok tests\test_term_call_modes.py --- test_term_call_modes: failed! tests\test_term_consistency.py --- test instance creation failed tests\test_units.py +++ test_consistent_sets: ok +++ test_units: ok tests\test_volume.py --- test instance creation failed 91 test file(s) executed in 17.99 s, 82 failure(s) of 123 test(s)
Some of the tests don't appear to be in the test directory. Others are failing because of umfpack. For example
python run_tests.py --debug tests/test_ebcs.py
<<< directory: tests, test files: 1
<<< tests\test_ebcs.py
sfepy: left over: ['verbose', '__builtins__', '__doc__', '__name__',
'TestCommon
', 'data_dir', 'match_y_line', '__package__', '_filename', '__file__', 'op']
sfepy: reading mesh [line2, tri3, quad4, tetra4, hexa8]
(C:\Users\m314915\Docume
nts\sfepy-master\sfepy-master\meshes\2d\square_unit_tri.mesh)...
sfepy: ...done in 0.00 s
sfepy: creating regions...
sfepy: Right
sfepy: LeftStrip
sfepy: Omega
sfepy: RightStrip
sfepy: Left
sfepy: RightFix
sfepy: LeftFix
sfepy: ...done in 0.01 s
sfepy: equation "eq":
sfepy: dw_diffusion.2.Omega( m.K, q, p ) = 0
sfepy: using solvers:
ts: no ts
nls: newton
ls: ls
sfepy: updating variables...
sfepy: ...done
sfepy: setting up dof connectivities...
sfepy: ...done in 0.00 s
sfepy: matrix shape: (460L, 460L)
sfepy: assembling matrix graph...
sfepy: ...done in 0.00 s
sfepy: matrix structural nonzeros: 4938 (2.33e-02% fill)
sfepy: updating materials...
sfepy: m
sfepy: ...done in 0.00 s
sfepy: nls: iter: 0, residual: 8.615423e+01 (rel: 1.000000e+00)
--- test instance creation failed
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 83, in run_test
test = conf.funmod.Test.from_conf(conf, options)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\tests\test_ebcs.py"
, line 68, in from_conf
problem, state = solve_pde(conf, output_dir=options.out_dir)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications
pde_solver_app.py", line 55, in solve_pde
return app(nls_status=nls_status)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications
application.py", line 29, in call_basic
return self.call(**kwargs)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications
pde_solver_app.py", line 219, in call
post_process_hook=self.post_process_hook):
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ts_so
lvers.py", line 29, in __call__
state = problem.solve(state0=state0, nls_status=nls_status)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\discrete\prob
lem.py", line 1020, in solve
vec = nls(vec0, status=self.nls_status)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\nls.p
y", line 344, in __call__
eps_a=eps_a, eps_r=eps_r, mtx=mtx_a)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ls.py
", line 45, in _standard_call
**kwargs)
File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ls.py
", line 149, in __call__
return self.sls.spsolve(mtx, rhs)
File
"C:\Anaconda\lib\site-packages\scipy\sparse\linalg\dsolve\linsolve.py", l
ine 127, in spsolve
umf = umfpack.UmfpackContext(family[A.dtype.char])
File
"C:\Anaconda\lib\site-packages\scikits.umfpack-5.1.0-py2.7-win32.egg\scik
its\umfpack\umfpack.py", line 278, in __init__
self.control = nm.zeros( (UMFPACK_CONTROL, ), dtype = nm.double )
NameError: global name 'UMFPACK_CONTROL' is not defined
Any suggestions?
Thanks,
David

Hi David,
first, try removing build/ directory, and run (in the sfepy top-level directory, where the sources were unpacked):
python setup.py clean --all python setup.py build_ext --inplace
python run_tests.py
But unlike in "Installing sfepy in Anaconda for OS X" thread, it looks more like a problem with scikit-umfpack installation. Could you try re-installing it?
r.
On 08/10/2015 10:23 PM, David Brough wrote:
Hello,
I have anaconda version 2.2.0 installed on Windows 7. After attempting to install SfePy 2015.2 from source code, but I get the following output after running the tests.
python run_tests.py <<< directory: tests, test files: 91 tests\test_assembling.py --- test_assemble_matrix: failed! --- test_assemble_matrix_complex: failed! --- test_assemble_vector: failed! --- test_assemble_vector_complex: failed! tests\test_base.py +++ test_resolve_deps: ok +++ test_struct_add: ok +++ test_struct_i_add: ok +++ test_verbose_output: ok tests\test_cmesh.py --- test_cmesh_counts: failed! tests\test_domain.py --- test instance creation failed tests\test_ebcs.py --- test instance creation failed tests\test_eigenvalue_solvers.py --- test instance creation failed tests\test_elasticity_small_strain.py --- test_get_solution: failed! +++ test_linear_terms: ok tests\test_fem.py +++ test_base_functions_delta: ok +++ test_base_functions_values: ok tests\test_functions.py --- test instance creation failed tests\test_high_level.py --- test instance creation failed tests\test_homogenization_perfusion.py --- test_solution: failed! tests\test_hyperelastic_tlul.py --- test_solution: failed! tests\test_input_acoustics.py --- test_input: failed! tests\test_input_acoustics3d.py --- test_input: failed! tests\test_input_active_fibres.py --- test_input: failed! tests\test_input_biot.py --- test_input: failed! tests\test_input_biot_npbc.py --- test_input: failed! tests\test_input_biot_npbc_lagrange.py --- test_input: failed! tests\test_input_cube.py --- test_input: failed! tests\test_input_darcy_flow_multicomp.py --- test_input: failed! tests\test_input_elastic_contact_planes.py --- test_input: failed! tests\test_input_elastic_contact_sphere.py --- test_input: failed! tests\test_input_elastic_shifted_periodic.py --- test_input: failed! tests\test_input_its2D_2.py --- test_input: failed! tests\test_input_laplace_1d.py --- test_input: failed! tests\test_input_laplace_coupling_lcbcs.py --- test_input: failed! tests\test_input_laplace_time_ebcs.py --- test_input: failed! tests\test_input_linear_elastic.py --- test_input: failed! tests\test_input_linear_elastic_damping.py --- test_input: failed! tests\test_input_linear_elastic_iga.py --- test_input: failed! tests\test_input_linear_elastic_mM.py --- test_input: failed! tests\test_input_linear_elastic_probes.py --- test instance creation failed tests\test_input_linear_elastic_tractions.py --- test_input: failed! tests\test_input_linear_elastic_up.py --- test_input: failed! tests\test_input_linear_viscoelastic.py --- test_input: failed! tests\test_input_material_nonlinearity.py --- test_input: failed! tests\test_input_navier_stokes.py --- test_input: failed! tests\test_input_navier_stokes2d.py --- test_input: failed! tests\test_input_navier_stokes2d_iga.py --- test_input: failed! tests\test_input_perfusion_tl.py --- test_input: failed! tests\test_input_piezo_elasticity.py --- test_ebc: failed! --- test_input: failed! tests\test_input_poisson.py --- test_input: failed! tests\test_input_poisson_field_dependent_material.py --- test_input: failed! tests\test_input_poisson_functions.py --- test_input: failed! tests\test_input_poisson_iga.py --- test_input: failed! tests\test_input_poisson_neumann.py --- test_input: failed! tests\test_input_poisson_periodic_boundary_condition.py --- test_input: failed! tests\test_input_prestress_fibres.py --- test_input: failed! tests\test_input_sinbc.py --- test_input: failed! tests\test_input_stabilized_navier_stokes.py --- test_input: failed! tests\test_input_stokes.py --- test_input: failed! tests\test_input_stokes_slip_bc.py --- test_input: failed! tests\test_input_thermo_elasticity.py --- test_input: failed! tests\test_input_thermo_elasticity_ess.py --- test_input: failed! tests\test_input_time_poisson.py --- test_input: failed! tests\test_input_vibro_acoustic3d.py --- test_input: failed! tests\test_io.py +++ test_recursive_dict_hdf5: ok +++ test_sparse_matrix_hdf5: ok tests\test_laplace_unit_disk.py --- test instance creation failed tests\test_laplace_unit_square.py --- test instance creation failed tests\test_lcbc_2d.py --- test_linear_rigid_body_bc: failed! tests\test_lcbc_3d.py --- test_linear_rigid_body_bc: failed! tests\test_lcbcs.py --- test_laplace_shifted_periodic: failed! tests\test_linalg.py +++ test_assemble1d: ok +++ test_geometry: ok +++ test_tensors: ok +++ test_unique_rows: ok tests\test_linear_solvers.py --- test instance creation failed tests\test_linearization.py --- test_linearization: failed! tests\test_matcoefs.py +++ test_conversion_functions: ok +++ test_elastic_constants: ok +++ test_stiffness_tensors: ok tests\test_mesh_expand.py +++ test_mesh_expand: ok tests\test_mesh_generators.py +++ test_gen_block_mesh: ok +++ test_gen_cylinder_mesh: ok +++ test_gen_extended_block_mesh: ok tests\test_mesh_interp.py --- test_field_gradient: failed! --- test_interpolation: failed! --- test_interpolation_two_meshes: failed! --- test_invariance: failed! --- test_invariance_qp: failed! tests\test_mesh_smoothing.py +++ test_mesh_smoothing: ok tests\test_meshio.py +++ test_read_meshes: ok +++ test_compare_same_meshes: ok +++ test_read_dimension: ok +++ test_write_read_meshes: ok tests\test_msm_laplace.py --- test instance creation failed tests\test_msm_symbolic.py --- test instance creation failed tests\test_normals.py +++ test_normals: ok tests\test_parsing.py +++ test_parse_equations: ok +++ test_parse_regions: ok tests\test_periodic_bc_2d.py --- test instance creation failed tests\test_periodic_bc_3d.py --- test instance creation failed tests\test_permutations.py +++ test_rcm: ok tests\test_poly_spaces.py --- test_continuity: failed! --- test_gradients: failed! tests\test_projections.py --- test instance creation failed tests\test_quadratures.py +++ test_quadratures: ok +++ test_weight_consistency: ok tests\test_ref_coors.py --- test instance creation failed tests\test_regions.py +++ test_operators: ok +++ test_selectors: ok tests\test_semismooth_newton.py --- test_semismooth_newton: failed! tests\test_sparse.py +++ test_compose_sparse: ok tests\test_splinebox.py +++ test_spbox: ok tests\test_tensors.py +++ test_stress_transform: ok +++ test_tensors: ok +++ test_transform_data: ok +++ test_transform_data4: ok tests\test_term_call_modes.py --- test_term_call_modes: failed! tests\test_term_consistency.py --- test instance creation failed tests\test_units.py +++ test_consistent_sets: ok +++ test_units: ok tests\test_volume.py --- test instance creation failed 91 test file(s) executed in 17.99 s, 82 failure(s) of 123 test(s)
Some of the tests don't appear to be in the test directory. Others are failing because of umfpack. For example
python run_tests.py --debug tests/test_ebcs.py <<< directory: tests, test files: 1 <<< tests\test_ebcs.py sfepy: left over: ['verbose', '__builtins__', '__doc__', '__name__', 'TestCommon ', 'data_dir', 'match_y_line', '__package__', '_filename', '__file__', 'op'] sfepy: reading mesh [line2, tri3, quad4, tetra4, hexa8] (C:\Users\m314915\Docume nts\sfepy-master\sfepy-master\meshes\2d\square_unit_tri.mesh)... sfepy: ...done in 0.00 s sfepy: creating regions... sfepy: Right sfepy: LeftStrip sfepy: Omega sfepy: RightStrip sfepy: Left sfepy: RightFix sfepy: LeftFix sfepy: ...done in 0.01 s sfepy: equation "eq": sfepy: dw_diffusion.2.Omega( m.K, q, p ) = 0 sfepy: using solvers: ts: no ts nls: newton ls: ls sfepy: updating variables... sfepy: ...done sfepy: setting up dof connectivities... sfepy: ...done in 0.00 s sfepy: matrix shape: (460L, 460L) sfepy: assembling matrix graph... sfepy: ...done in 0.00 s sfepy: matrix structural nonzeros: 4938 (2.33e-02% fill) sfepy: updating materials... sfepy: m sfepy: ...done in 0.00 s sfepy: nls: iter: 0, residual: 8.615423e+01 (rel: 1.000000e+00) --- test instance creation failed 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 83, in run_test test = conf.funmod.Test.from_conf(conf, options) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\tests\test_ebcs.py" , line 68, in from_conf problem, state = solve_pde(conf, output_dir=options.out_dir) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications
pde_solver_app.py", line 55, in solve_pde return app(nls_status=nls_status) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications
application.py", line 29, in call_basic return self.call(**kwargs) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications
pde_solver_app.py", line 219, in call post_process_hook=self.post_process_hook): File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ts_so lvers.py", line 29, in __call__ state = problem.solve(state0=state0, nls_status=nls_status) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\discrete\prob lem.py", line 1020, in solve vec = nls(vec0, status=self.nls_status) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\nls.p y", line 344, in __call__ eps_a=eps_a, eps_r=eps_r, mtx=mtx_a) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ls.py ", line 45, in _standard_call **kwargs) File "C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ls.py ", line 149, in __call__ return self.sls.spsolve(mtx, rhs) File "C:\Anaconda\lib\site-packages\scipy\sparse\linalg\dsolve\linsolve.py", l ine 127, in spsolve umf = umfpack.UmfpackContext(family[A.dtype.char]) File "C:\Anaconda\lib\site-packages\scikits.umfpack-5.1.0-py2.7-win32.egg\scik its\umfpack\umfpack.py", line 278, in __init__ self.control = nm.zeros( (UMFPACK_CONTROL, ), dtype = nm.double ) NameError: global name 'UMFPACK_CONTROL' is not definedAny suggestions?
Thanks,
David

Robert,
I removed the build/ directory, but had similar results. I will try and re-install scikit-umfpack.
Thanks,
David
On Monday, August 10, 2015 at 5:18:59 PM UTC-4, Robert Cimrman wrote:
Hi David,
first, try removing build/ directory, and run (in the sfepy top-level directory, where the sources were unpacked):
python setup.py clean --all python setup.py build_ext --inplace
python run_tests.py
But unlike in "Installing sfepy in Anaconda for OS X" thread, it looks more like a problem with scikit-umfpack installation. Could you try re-installing it?
r.
On 08/10/2015 10:23 PM, David Brough wrote:
Hello,
I have anaconda version 2.2.0 installed on Windows 7. After attempting to install SfePy 2015.2 from source code, but I get the following output after running the tests.
python run_tests.py <<< directory: tests, test files: 91 tests\test_assembling.py --- test_assemble_matrix: failed! --- test_assemble_matrix_complex: failed! --- test_assemble_vector: failed! --- test_assemble_vector_complex: failed! tests\test_base.py +++ test_resolve_deps: ok +++ test_struct_add: ok +++ test_struct_i_add: ok +++ test_verbose_output: ok tests\test_cmesh.py --- test_cmesh_counts: failed! tests\test_domain.py --- test instance creation failed tests\test_ebcs.py --- test instance creation failed tests\test_eigenvalue_solvers.py --- test instance creation failed tests\test_elasticity_small_strain.py --- test_get_solution: failed! +++ test_linear_terms: ok tests\test_fem.py +++ test_base_functions_delta: ok +++ test_base_functions_values: ok tests\test_functions.py --- test instance creation failed tests\test_high_level.py --- test instance creation failed tests\test_homogenization_perfusion.py --- test_solution: failed! tests\test_hyperelastic_tlul.py --- test_solution: failed! tests\test_input_acoustics.py --- test_input: failed! tests\test_input_acoustics3d.py --- test_input: failed! tests\test_input_active_fibres.py --- test_input: failed! tests\test_input_biot.py --- test_input: failed! tests\test_input_biot_npbc.py --- test_input: failed! tests\test_input_biot_npbc_lagrange.py --- test_input: failed! tests\test_input_cube.py --- test_input: failed! tests\test_input_darcy_flow_multicomp.py --- test_input: failed! tests\test_input_elastic_contact_planes.py --- test_input: failed! tests\test_input_elastic_contact_sphere.py --- test_input: failed! tests\test_input_elastic_shifted_periodic.py --- test_input: failed! tests\test_input_its2D_2.py --- test_input: failed! tests\test_input_laplace_1d.py --- test_input: failed! tests\test_input_laplace_coupling_lcbcs.py --- test_input: failed! tests\test_input_laplace_time_ebcs.py --- test_input: failed! tests\test_input_linear_elastic.py --- test_input: failed! tests\test_input_linear_elastic_damping.py --- test_input: failed! tests\test_input_linear_elastic_iga.py --- test_input: failed! tests\test_input_linear_elastic_mM.py --- test_input: failed! tests\test_input_linear_elastic_probes.py --- test instance creation failed tests\test_input_linear_elastic_tractions.py --- test_input: failed! tests\test_input_linear_elastic_up.py --- test_input: failed! tests\test_input_linear_viscoelastic.py --- test_input: failed! tests\test_input_material_nonlinearity.py --- test_input: failed! tests\test_input_navier_stokes.py --- test_input: failed! tests\test_input_navier_stokes2d.py --- test_input: failed! tests\test_input_navier_stokes2d_iga.py --- test_input: failed! tests\test_input_perfusion_tl.py --- test_input: failed! tests\test_input_piezo_elasticity.py --- test_ebc: failed! --- test_input: failed! tests\test_input_poisson.py --- test_input: failed! tests\test_input_poisson_field_dependent_material.py --- test_input: failed! tests\test_input_poisson_functions.py --- test_input: failed! tests\test_input_poisson_iga.py --- test_input: failed! tests\test_input_poisson_neumann.py --- test_input: failed! tests\test_input_poisson_periodic_boundary_condition.py --- test_input: failed! tests\test_input_prestress_fibres.py --- test_input: failed! tests\test_input_sinbc.py --- test_input: failed! tests\test_input_stabilized_navier_stokes.py --- test_input: failed! tests\test_input_stokes.py --- test_input: failed! tests\test_input_stokes_slip_bc.py --- test_input: failed! tests\test_input_thermo_elasticity.py --- test_input: failed! tests\test_input_thermo_elasticity_ess.py --- test_input: failed! tests\test_input_time_poisson.py --- test_input: failed! tests\test_input_vibro_acoustic3d.py --- test_input: failed! tests\test_io.py +++ test_recursive_dict_hdf5: ok +++ test_sparse_matrix_hdf5: ok tests\test_laplace_unit_disk.py --- test instance creation failed tests\test_laplace_unit_square.py --- test instance creation failed tests\test_lcbc_2d.py --- test_linear_rigid_body_bc: failed! tests\test_lcbc_3d.py --- test_linear_rigid_body_bc: failed! tests\test_lcbcs.py --- test_laplace_shifted_periodic: failed! tests\test_linalg.py +++ test_assemble1d: ok +++ test_geometry: ok +++ test_tensors: ok +++ test_unique_rows: ok tests\test_linear_solvers.py --- test instance creation failed tests\test_linearization.py --- test_linearization: failed! tests\test_matcoefs.py +++ test_conversion_functions: ok +++ test_elastic_constants: ok +++ test_stiffness_tensors: ok tests\test_mesh_expand.py +++ test_mesh_expand: ok tests\test_mesh_generators.py +++ test_gen_block_mesh: ok +++ test_gen_cylinder_mesh: ok +++ test_gen_extended_block_mesh: ok tests\test_mesh_interp.py --- test_field_gradient: failed! --- test_interpolation: failed! --- test_interpolation_two_meshes: failed! --- test_invariance: failed! --- test_invariance_qp: failed! tests\test_mesh_smoothing.py +++ test_mesh_smoothing: ok tests\test_meshio.py +++ test_read_meshes: ok +++ test_compare_same_meshes: ok +++ test_read_dimension: ok +++ test_write_read_meshes: ok tests\test_msm_laplace.py --- test instance creation failed tests\test_msm_symbolic.py --- test instance creation failed tests\test_normals.py +++ test_normals: ok tests\test_parsing.py +++ test_parse_equations: ok +++ test_parse_regions: ok tests\test_periodic_bc_2d.py --- test instance creation failed tests\test_periodic_bc_3d.py --- test instance creation failed tests\test_permutations.py +++ test_rcm: ok tests\test_poly_spaces.py --- test_continuity: failed! --- test_gradients: failed! tests\test_projections.py --- test instance creation failed tests\test_quadratures.py +++ test_quadratures: ok +++ test_weight_consistency: ok tests\test_ref_coors.py --- test instance creation failed tests\test_regions.py +++ test_operators: ok +++ test_selectors: ok tests\test_semismooth_newton.py --- test_semismooth_newton: failed! tests\test_sparse.py +++ test_compose_sparse: ok tests\test_splinebox.py +++ test_spbox: ok tests\test_tensors.py +++ test_stress_transform: ok +++ test_tensors: ok +++ test_transform_data: ok +++ test_transform_data4: ok tests\test_term_call_modes.py --- test_term_call_modes: failed! tests\test_term_consistency.py --- test instance creation failed tests\test_units.py +++ test_consistent_sets: ok +++ test_units: ok tests\test_volume.py --- test instance creation failed 91 test file(s) executed in 17.99 s, 82 failure(s) of 123 test(s)
Some of the tests don't appear to be in the test directory. Others are failing because of umfpack. For example
python run_tests.py --debug tests/test_ebcs.py <<< directory: tests, test files: 1 <<< tests\test_ebcs.py sfepy: left over: ['verbose', '__builtins__', '__doc__', '__name__', 'TestCommon ', 'data_dir', 'match_y_line', '__package__', '_filename', '__file__', 'op'] sfepy: reading mesh [line2, tri3, quad4, tetra4, hexa8] (C:\Users\m314915\Docume nts\sfepy-master\sfepy-master\meshes\2d\square_unit_tri.mesh)... sfepy: ...done in 0.00 s sfepy: creating regions... sfepy: Right sfepy: LeftStrip sfepy: Omega sfepy: RightStrip sfepy: Left sfepy: RightFix sfepy: LeftFix sfepy: ...done in 0.01 s sfepy: equation "eq": sfepy: dw_diffusion.2.Omega( m.K, q, p ) = 0 sfepy: using solvers: ts: no ts nls: newton ls: ls sfepy: updating variables... sfepy: ...done sfepy: setting up dof connectivities... sfepy: ...done in 0.00 s sfepy: matrix shape: (460L, 460L) sfepy: assembling matrix graph... sfepy: ...done in 0.00 s sfepy: matrix structural nonzeros: 4938 (2.33e-02% fill) sfepy: updating materials... sfepy: m sfepy: ...done in 0.00 s sfepy: nls: iter: 0, residual: 8.615423e+01 (rel: 1.000000e+00) --- test instance creation failed 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 83, in run_test test = conf.funmod.Test.from_conf(conf, options) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\tests\test_ebcs.py"
, line 68, in from_conf problem, state = solve_pde(conf, output_dir=options.out_dir) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications\
pde_solver_app.py", line 55, in solve_pde return app(nls_status=nls_status) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications\
application.py", line 29, in call_basic return self.call(**kwargs) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\applications\
pde_solver_app.py", line 219, in call post_process_hook=self.post_process_hook): File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ts_so
lvers.py", line 29, in __call__ state = problem.solve(state0=state0, nls_status=nls_status) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\discrete\prob
lem.py", line 1020, in solve vec = nls(vec0, status=self.nls_status) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\nls.p
y", line 344, in __call__ eps_a=eps_a, eps_r=eps_r, mtx=mtx_a) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ls.py
", line 45, in _standard_call **kwargs) File
"C:\Users\m314915\Documents\sfepy-master\sfepy-master\sfepy\solvers\ls.py
", line 149, in __call__ return self.sls.spsolve(mtx, rhs) File "C:\Anaconda\lib\site-packages\scipy\sparse\linalg\dsolve\linsolve.py", l ine 127, in spsolve umf = umfpack.UmfpackContext(family[A.dtype.char]) File
"C:\Anaconda\lib\site-packages\scikits.umfpack-5.1.0-py2.7-win32.egg\scik
its\umfpack\umfpack.py", line 278, in __init__ self.control = nm.zeros( (UMFPACK_CONTROL, ), dtype = nm.double ) NameError: global name 'UMFPACK_CONTROL' is not defined
Any suggestions?
Thanks,
David

You may also want to try without scikit-umfpack - the tests would run slower but should work.
r.
On 08/11/2015 04:49 AM, David Brough wrote:
Robert,
I removed the build/ directory, but had similar results. I will try and re-install scikit-umfpack.
Thanks,
David
On Monday, August 10, 2015 at 5:18:59 PM UTC-4, Robert Cimrman wrote:
Hi David,
first, try removing build/ directory, and run (in the sfepy top-level directory, where the sources were unpacked):
python setup.py clean --all python setup.py build_ext --inplace
python run_tests.py
But unlike in "Installing sfepy in Anaconda for OS X" thread, it looks more like a problem with scikit-umfpack installation. Could you try re-installing it?
participants (2)
-
David Brough
-
Robert Cimrman