
Hi, I installed sfepy 2015.2 on ubuntu 14.04 lts, and ran the tests. The only one that failed was the one mentioned on the subject. This is what I got after running the debug.
test instance prepared (1 test(s)) ... solving ../examples/navier_stokes/navier_stokes2d_iga.py... sfepy: creating regions... sfepy: Right sfepy: Bottom sfepy: Top sfepy: Omega sfepy: Left sfepy: Walls sfepy: ...done in 0.00 s <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 "/usr/local/src/sfepy-2015.2/sfepy/base/testing.py", line 58, in run ret = test_method() File "/usr/local/src/sfepy-2015.2/tests/tests_basic.py", line 73, in test_input post_process_hook_final=self.post_process_hook_final) File "/usr/local/src/sfepy-2015.2/sfepy/applications/pde_solver_app.py",
<<< directory: tests, test files: 1 <<< tests/test_input_navier_stokes2d_iga.py sfepy: left over: ['verbose', '__builtins__', '_filename', '__file__', '__package__', 'TestInput', 'input_name', '__name__', 'output_name', '__doc__'] sfepy: left over: ['data_dir', 'verbose', '_filename', '__builtins__', '__package__', '__name__', '__doc__', '__file__'] line 50, in solve_pde app = PDESolverApp(conf, options, output_prefix) File "/usr/local/src/sfepy-2015.2/sfepy/applications/pde_solver_app.py", line 136, in __init__ self.problem = Problem.from_conf(conf, init_equations=is_eqs, **kwargs) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/problem.py", line 96, in from_conf obj.set_fields(conf.fields) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/problem.py", line 344, in set_fields self.fields = fields_from_conf(conf_fields, self.domain.regions) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/common/fields.py", line 69, in fields_from_conf field = Field.from_conf(val, regions) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/common/fields.py", line 153, in from_conf approx_order=approx_order[:2]) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/iga/fields.py", line 72, in __init__ self.nurbs = self.domain.nurbs.elevate(elevate_times) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/iga/domain.py", line 105, in elevate aux = self._to_igakit() File "/usr/local/src/sfepy-2015.2/sfepy/discrete/iga/domain.py", line 71, in _to_igakit import igakit.cad as cad ImportError: No module named igakit.cad
Any help or clarification would be greatly appreciated.
Regards,
Sebastian

Hi Sebastian,
you need igakit installed for this example/test to work, cf [1]. If you only want to use FEM, you need not worry about this test failure.
r.
[1] http://sfepy.org/doc-devel/installation.html#requirements
On 09/10/2015 02:44 PM, Sebastian Bascuñan wrote:
Hi, I installed sfepy 2015.2 on ubuntu 14.04 lts, and ran the tests. The only one that failed was the one mentioned on the subject. This is what I got after running the debug.
test instance prepared (1 test(s)) ... solving ../examples/navier_stokes/navier_stokes2d_iga.py... sfepy: creating regions... sfepy: Right sfepy: Bottom sfepy: Top sfepy: Omega sfepy: Left sfepy: Walls sfepy: ...done in 0.00 s <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 "/usr/local/src/sfepy-2015.2/sfepy/base/testing.py", line 58, in run ret = test_method() File "/usr/local/src/sfepy-2015.2/tests/tests_basic.py", line 73, in test_input post_process_hook_final=self.post_process_hook_final) File "/usr/local/src/sfepy-2015.2/sfepy/applications/pde_solver_app.py",
<<< directory: tests, test files: 1 <<< tests/test_input_navier_stokes2d_iga.py sfepy: left over: ['verbose', '__builtins__', '_filename', '__file__', '__package__', 'TestInput', 'input_name', '__name__', 'output_name', '__doc__'] sfepy: left over: ['data_dir', 'verbose', '_filename', '__builtins__', '__package__', '__name__', '__doc__', '__file__'] line 50, in solve_pde app = PDESolverApp(conf, options, output_prefix) File "/usr/local/src/sfepy-2015.2/sfepy/applications/pde_solver_app.py", line 136, in __init__ self.problem = Problem.from_conf(conf, init_equations=is_eqs, **kwargs) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/problem.py", line 96, in from_conf obj.set_fields(conf.fields) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/problem.py", line 344, in set_fields self.fields = fields_from_conf(conf_fields, self.domain.regions) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/common/fields.py", line 69, in fields_from_conf field = Field.from_conf(val, regions) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/common/fields.py", line 153, in from_conf approx_order=approx_order[:2]) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/iga/fields.py", line 72, in __init__ self.nurbs = self.domain.nurbs.elevate(elevate_times) File "/usr/local/src/sfepy-2015.2/sfepy/discrete/iga/domain.py", line 105, in elevate aux = self._to_igakit() File "/usr/local/src/sfepy-2015.2/sfepy/discrete/iga/domain.py", line 71, in _to_igakit import igakit.cad as cad ImportError: No module named igakit.cad
Any help or clarification would be greatly appreciated.
Regards,
Sebastian
participants (2)
-
Robert Cimrman
-
Sebastian Bascuñan