
Hi all,
I just downloaded the latest devel version of sfepy for installation on an Intel Mac. I wanted to let you know that in order for sfepy to compile properly, I had to make the following changes:
In the top directory Makefile: add the following to OPTFLAGS -fno-strict-aliasing -fno-common -dynamic
In sfepy/fem/extmods/Makefile.inc and sfepy/terms/extmods/
Makefile.inc, replace occurences of '-shared' with $(SHARED), where I defined SHARED = -dynamiclib -undefined dynamic_lookup at the top of the Makefile.inc (there surely is a nicer way!)
I thought this might be useful to others.
Next, upon running the tests, I obtained:
[dpo@pod:sfepy-fe15c3e45e20]$ ./runTests.py --filter-more <<< directory: tests, test files: 23 +++ test_vector_matrix: ok +++ test_struct_add: ok +++ test_struct_i_add: ok +++ test_get_solution: ok +++ test_linear_terms: ok +++ test_input: ok +++ test_input: ok +++ test_input: ok nodes: 100% | #####################################################################| Time: 00:00:00 elements: 100% | ##################################################################| Time: 00:00:00 +++ test_input: ok +++ test_input: ok +++ test_input: ok +++ test_input: ok +++ test_input: ok +++ test_recursive_dict_hdf5: ok +++ test_sparse_matrix_hdf5: ok --- test_linear_rigid_body_bc: failed! --- test_linear_rigid_body_bc: failed! +++ test_solvers: ok nodes: 100% | #####################################################################| Time: 00:00:00 elements: 100% | ##################################################################| Time: 00:00:00 +++ test_read_meshes: ok +++ test_compare_same_meshes: ok +++ test_read_dimension: ok --- test_msm_laplace: failed! +++ test_msm_symbolic_diffusion: ok +++ test_msm_symbolic_laplace: ok +++ test_parse_equations: ok +++ test_parse_regions: ok +++ test_pbc: ok +++ test_pbc: ok +++ test_problem_creation: ok +++ test_consistency_d_dw: ok 23 test file(s) executed in 27.13 s, 3 failure(s) of 30 test(s)
How can I check what went wrong with the three failures? I see no log files in the 'output_tests' directory.
Moreover, I can't seem to do anything with the vtk files generated by the tests, neither with that generated with 'simply.py input/ poisson.py'. What am I missing? I have the latest Enthought Python Distribution and Enthought Tool Suite. Mayavi2 cannot seem to display the vtk scenes and neither can Paraview. Any idea what's wrong?
Note that in order for the tests to run, I had to bypass the Scipy distributed as part of ETS since it is outdated (!). I had a build of 0.7.0 lying around, with UMFPACK, and that seemed to work with sfepy.
Finally, yes I know, I really should read the manual. But I can't generate it! While pexpect is a breeze to install, lxml is a real pain on the Mac. Could anyone post the sfepy manual on the Wiki or on the newsgroup page?
Many thanks, Dominique