Bug#675207: python-dolfin: Problem with SWIG
Johannes Ring
johannr at simula.no
Thu May 31 07:13:31 UTC 2012
On Wed, May 30, 2012 at 4:26 PM, Torquil Macdonald Sørensen
<torquil at gmail.com> wrote:
> Traceback (most recent call last):
> File "vcp2D.py", line 20, in <module>
> V = FunctionSpace(mesh, 'Lagrange', 1)
> File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 353, in __init__
> FunctionSpaceBase.__init__(self, mesh, element)
> File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 77, in __init__
> ufc_element, ufc_dofmap = jit(self._ufl_element)
> File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 66, in mpi_jit
> return local_jit(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 114, in jit
> """%cpp.__swigversion__
> OSError: PyDOLFIN was not compiled with the present version of swig.
> Install swig version 2.0.5 or recompiled PyDOLFIN with present swig
Yes, UFC (and DOLFIN) will need to be rebuilt with the recently
uploaded SWIG 2.0.7. I will request a binNMU for UFC.
Thanks for the report,
Johannes
More information about the debian-science-maintainers
mailing list