
Hi everyone! I'm a quantum chemist who would like to learn about FEM analysis, and Ondrej pointed me to this package and this group.
I'm running on Mac OS X, and I've built numpy 1.1.0 and scipy-0.6.0 from source. I installed the sfepy-release-00.41.03 that was available from mac.softpedia.
When I try to run ./runTests.py --debug, I get the following:
test instance prepared (2 test(s)) +++ test_structAdd: ok +++ test_structIAdd: ok all passed in 0.00 s <<< tests/test_elasticity_small_strain.py sfe: warning: other missing: ['equations', 'functions', 'modules', 'epbc_[0-9]+|epbcs', 'lcbc_[0-9]+|lcbcs', 'nbc_[0-9]+|nbcs', 'options'] sfe: warning: left over: ['allYourBases', 'fileName_meshes', 'getPars', 'equations_general', 'equations_iso', 'TestCommon'] test instance prepared (2 test(s)) [('test_get_solution', <bound method Test.test_get_solution of Test>), ('test_linear_terms', <bound method Test.test_linear_terms of Test>)] <type 'exceptions.AttributeError'> Traceback (most recent call last): File "./runTests.py", line 222, in <module> main() File "./runTests.py", line 217, in main op.walk( options.testDir, wrapRunTests( options ), stats ) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
$ ./runTests.py --debug <<< directory: tests, test files: 18 <<< tests/test_base.py sfe: warning: other missing: ['fileName_mesh', 'field_[0-9]+|fields', 'ebc_[0-9]+|ebcs', 'fe', 'equations', 'region_[0-9]+|regions', 'variable_[0-9]+|variables', 'material_[0-9]+|materials', 'integral_[0-9]+|integrals', 'solver_[0-9]+|solvers', 'functions', 'modules', 'epbc_[0-9]+|epbcs', 'lcbc_[0-9]+|lcbcs', 'nbc_[0-9]+| nbcs', 'options'] sfe: warning: left over: ['TestCommon'] python2.5/posixpath.py", line 290, in walk func(arg, top, names) File "./runTests.py", line 148, in runTests nFail, nTotal, testTime = runTest( confName, options ) File "./runTests.py", line 111, in runTest ok, nFail, nTotal = test.run( options.debug ) File "/Users/rmuller/Python/sfepy/sfepy-release-00.41.03/sfe/base/ testing.py", line 38, in run ret = testMethod() File "tests/test_elasticity_small_strain.py", line 156, in test_get_solution from sfe.solvers.generic import solveStationary File "/Users/rmuller/Python/sfepy/sfepy-release-00.41.03/sfe/solvers/ __init__.py", line 3, in <module> from ls import * File "/Users/rmuller/Python/sfepy/sfepy-release-00.41.03/sfe/solvers/ ls.py", line 6, in <module> import scipy.linsolve.umfpack as um AttributeError: 'module' object has no attribute 'umfpack'
Trying to dig a little deeper, I see that in my version of scipy I can successfully import scipy.linsolve.umfpack:
import scipy.linsolve.umfpack
but when I try to install umfpack *as* something, I run into problems:
import scipy.linsolve.umfpack as um Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'umfpack'
Any suggestsions? Or is this a bug that should be taken up with the scipy-users list?