[SciPy-User] ANN: SfePy 2009.4

osman osman@fuse....
Tue Nov 24 18:21:33 CST 2009


On Tue, 2009-11-24 at 13:10 +0100, Robert Cimrman wrote:
> I am pleased to announce release 2009.4 of SfePy.

Hi Robert,
Thanks for the new version. I put it on my 32 bit ubuntu jaunty. All
tests ran fine without any errors. Then I tried isfepy. I am getting an
error:
In [1]: pb, vec, data = pde_solve('input/poisson.py')
sfepy: left over: ['__builtins__', '__file__', '__name__', '_filename',
'__doc__', '__package__']
sfepy: reading mesh (database/simple.mesh)...
sfepy:   ...done in 0.04 s
sfepy: setting up domain edges...
sfepy:   ...done in 0.01 s
sfepy: setting up domain faces...
sfepy:   ...done in 0.01 s
sfepy: creating regions...
sfepy:       Gamma_Right
sfepy:       Omega
sfepy:       Gamma_Left
sfepy:   ...done in 0.04 s
sfepy: equation "Temperature":
sfepy: dw_laplace.i1.Omega( coef.val, s, t ) = 0
sfepy: setting up dof connectivities...
sfepy:   ...done in 0.00 s
sfepy: describing geometries...
sfepy:   ...done in 0.00 s
sfepy: using solvers:
               nls: newton
                ls: ls
sfepy: matrix shape: (300, 300)
sfepy: assembling matrix graph...
sfepy:   ...done in 0.00 s
sfepy: matrix structural nonzeros: 3538 (3.93e-02% fill)
sfepy: updating materials...
sfepy:       coef
sfepy:   ...done in 0.01 s
sfepy: updating variables...
sfepy:   ...done
/usr/lib/python2.6/dist-packages/scipy/linsolve/__init__.py:4:
DeprecationWarning: scipy.linsolve has moved to
scipy.sparse.linalg.dsolve
  warn('scipy.linsolve has moved to scipy.sparse.linalg.dsolve',
DeprecationWarning)
sfepy: nls: iter: 0, residual: 1.176265e-01 (rel: 1.000000e+00)
/usr/lib/python2.6/dist-packages/scipy/sparse/linalg/dsolve/linsolve.py:78: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead
  ' install scikits.umfpack instead', DeprecationWarning )
sfepy:   rezidual:    0.00 [s]
sfepy:      solve:    0.01 [s]
sfepy:     matrix:    0.00 [s]
sfepy: nls: iter: 1, residual: 9.957055e-17 (rel: 8.464973e-16)

In [2]: view = Viewer(pb.get_output_name())

In [3]: view()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call
last)

/home/osman/sfepy-release-2009.4/sfepy/interactive/__init__.py in
<module>()
----> 1 
      2 
      3 
      4 
      5 

/home/osman/sfepy-release-2009.4/sfepy/postprocess/viewer.py in
call_mlab(self, scene, show, is_3d, view, roll, layout, scalar_mode,
vector_mode, rel_scaling, clamping, ranges, is_scalar_bar,
rel_text_width, fig_filename, resolution, filter_names, only_names,
step, anti_aliasing)
    555                 else:
    556                     gui = ViewerGUI(viewer=self)
--> 557                     scene = gui.scene.mayavi_scene
    558 
    559                 if scene is not self.scene:

AttributeError: 'MlabSceneModel' object has no attribute 'mayavi_scene'


2009.3 release has no problem with isfepy.

Best,
Osman




More information about the SciPy-User mailing list