* The packages produced by backportpackage install correctly.
* The swig binary installed by these packages runs, and from testing appears to be working correctly.
* swig2.0 has the following reverse dependencies (aside from other swig packages): python-instant, python-dolfin, libsyfi1.0-dev. Unfortunately, it looks like python-dolfin will not work with the backported version, since it requires the version of swig it was compiled with (v2.0.4). I get the following error, after installing dolfin-doc and trying to run a demo code in /usr/share/dolfin/demo/la/eigenvalue/python:
$ python ./demo_eigenvalue.py Traceback (most recent call last):
File "./demo_eigenvalue.py", line 44, in <module>
V = FunctionSpace(mesh, "CG", 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.4 or recompiled PyDOLFIN with present swig
Some further information:
* The swig2.0 packages in quantal can be backported to precise without modification, i.e. archive. ubuntu. com/ubuntu/ pool/main/ s/swig2. 0/swig2. 0_2.0.7- 2ubuntu1. dsc
$ backportpackage -b -w /tmp http://
produces packages without errors.
* The packages produced by backportpackage install correctly.
* The swig binary installed by these packages runs, and from testing appears to be working correctly.
* swig2.0 has the following reverse dependencies (aside from other swig packages): python-instant, python-dolfin, libsyfi1.0-dev. Unfortunately, it looks like python-dolfin will not work with the backported version, since it requires the version of swig it was compiled with (v2.0.4). I get the following error, after installing dolfin-doc and trying to run a demo code in /usr/share/ dolfin/ demo/la/ eigenvalue/ python:
$ python ./demo_ eigenvalue. py Traceback (most recent call last): eigenvalue. py", line 44, in <module> python2. 7/dist- packages/ dolfin/ functions/ functionspace. py", line 353, in __init__ ceBase. __init_ _(self, mesh, element) python2. 7/dist- packages/ dolfin/ functions/ functionspace. py", line 77, in __init__ _ufl_element) python2. 7/dist- packages/ dolfin/ compilemodules/ jit.py" , line 66, in mpi_jit python2. 7/dist- packages/ dolfin/ compilemodules/ jit.py" , line 114, in jit %cpp.__ swigversion_ _
File "./demo_
V = FunctionSpace(mesh, "CG", 1)
File "/usr/lib/
FunctionSpa
File "/usr/lib/
ufc_element, ufc_dofmap = jit(self.
File "/usr/lib/
return local_jit(*args, **kwargs)
File "/usr/lib/
"""
OSError: PyDOLFIN was not compiled with the present version of swig.
Install swig version 2.0.4 or recompiled PyDOLFIN with present swig
I'm guessing this is a fatal problem?