← Back to team overview

dolfin team mailing list archive

Re: LA demos

 

I'm guessing now, but it's probably renamed to create_matrix, simply
fix it in assemble.py.

2008/9/22 Marie Rognes <meg@xxxxxxxxxxx>:
>
>
> The demos under
>
>    /dolfin/demo/la/trilinos/python
>
> fails with:
>
>     File "demo2.py", line 56, in <module>
>        A = assemble(a, mesh, backend=backend)
>      File
>    "/home/meg/src/dolfin/dolfin/local/lib/python2.5/site-packages/dolfin/assemble.py",
>    line 62, in assemble
>        (tensor, reset_tensor) = _create_tensor(form, rank, backend,
>    tensor, reset_tensor)
>      File
>    "/home/meg/src/dolfin/dolfin/local/lib/python2.5/site-packages/dolfin/assemble.py",
>    line 264, in _create_tensor
>        if backend: tensor = backend.createMatrix()
>      File
>    "/home/meg/src/dolfin/dolfin/local/lib/python2.5/site-packages/dolfin/dolfin.py",
>    line 3707, in <lambda>
>        __getattr__ = lambda self, name: _swig_getattr(self,
>    EpetraFactory, name)
>      File
>    "/home/meg/src/dolfin/dolfin/local/lib/python2.5/site-packages/dolfin/dolfin.py",
>    line 34, in _swig_getattr
>        raise AttributeError,name
>    AttributeError: createMatrix
>
>
> Is there a simple fix for this?
>
> --
> Marie E. Rognes
> Ph.D Fellow,
> Centre of Mathematics for Applications,
> University of Oslo
> http://folk.uio.no/meg
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>



-- 
Martin


Follow ups

References