On Thu, May 15, 2008 at 10:30 PM, Ryan Krauss ryan...@gmail.com wrote:
O.K. Sorry that I am mostly talking to myself now, but I think I have everything working. Removing and old _sparsetools.so and reinstalling scipy seems to have solved my problem.
Here is the result of simple.py input/poisson.py (from my laptop):
sfe: warning: other missing: ['functions', 'modules', 'epbc_[0-9]+|epbcs', 'lcbc_[0-9]+|lcbcs', 'nbc_[0-9]+|nbcs'] sfe: reading mesh... sfe: ...done in 0.01 s sfe: setting up domain edges... sfe: ...done in 0.01 s sfe: setting up domain faces... sfe: ...done in 0.01 s sfe: creating regions... sfe: leaf Gamma_Right region_4 sfe: leaf Omega region_1000 sfe: leaf Gamma_Left region_03 sfe: ...done in 0.04 s sfe: equation "Temperature": sfe: dw_laplace.i1.Omega( coef.val, s, t ) = 0 sfe: describing geometries... sfe: ...done in 0.00 s sfe: setting up dof connectivities... sfe: ...done in 0.00 s sfe: using solvers: nls: newton ls: ls sfe: matrix shape: (300, 300) sfe: assembling matrix graph... sfe: ...done in 0.01 s sfe: updating materials... sfe: coef sfe: ...done in 0.00 s just before UMFPACK_CONTROL just after UMFPACK_CONTROL UMFPACK_CONTROL=20 nls: iter: 0, out-of-balance: 1.176265e-01 (rel: 1.000000e+00) rezidual: 0.00 [s] solve: 0.01 [s] matrix: 0.00 [s] nls: iter: 1, out-of-balance: 9.921083e-17 (rel: 8.434392e-16)
And here is the result of runTests.py: In [3]: run runTests.py <<< directory: tests, test files: 18 tests/test_input_kostka.py +++ test_input: ok tests/test_input_octahedron.py nodes: 100% |###################################################| Time: 00:00:00 elements: 100% |################################################| Time: 00:00:01 +++ test_input: ok tests/test_input_navier_stokes.py +++ test_input: ok tests/test_input_poisson.py +++ test_input: ok tests/test_elasticity_small_strain.py +++ test_get_solution: ok +++ test_linear_terms: ok tests/test_quadratures.py +++ test_problemCreation: ok tests/test_io.py +++ test_recursiveDictHDF5: ok /usr/lib/python2.5/site-packages/scipy/sparse/compressed.py:28: DeprecationWarning: dims= is deprecated, use shape= instead warn("dims= is deprecated, use shape= instead", DeprecationWarning) +++ test_sparseMatrixHDF5: ok tests/test_parsing.py +++ test_parseEquations: ok +++ test_parseRegions: ok tests/test_periodic_bc_3d.py +++ test_pbc: ok tests/test_input_pfdpm_permeability.py +++ test_input: ok tests/test_lcbc_2d.py +++ test_linearRigidBodyBC: ok tests/test_periodic_bc_2d.py +++ test_pbc: ok tests/test_input_le.py +++ test_input: ok tests/test_input_time_poisson.py +++ test_input: ok tests/test_base.py +++ test_structAdd: ok +++ test_structIAdd: ok tests/test_lcbc_3d.py +++ test_linearRigidBodyBC: ok tests/test_input_sinbc.py +++ test_input: ok tests/test_meshio.py nodes: 100% |###################################################| Time: 00:00:00 elements: 100% |################################################| Time: 00:00:00 +++ test_readMeshes: ok +++ test_compareSameMeshes: ok 18 test file(s) executed in 35.84 s, 0 failure(s) of 23 test(s)
Thanks for your help,
Thanks for figuring everything out. Which system are you using? If you use Debian or Ubuntu, just install the regular python-scipy package and it should just work.
Ondrej