← Back to team overview

dolfin team mailing list archive

Re: Please binNMU python-ufc against latest swig

 

On Wed, Jun 13, 2012 at 09:53:48PM +0200, Johannes Ring wrote:
> On Wed, Jun 13, 2012 at 9:15 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> > Does this break because we check the SWIG version in the JIT compiler,
> > or because it actually breaks (with some link error)?
>
> It is the version check that makes it break. This is the error message:
>
>   OSError: PyDOLFIN was not compiled with the present version of swig.
>   Install swig version 2.0.5 or recompiled PyDOLFIN with present swig
>
> Both UFC and DOLFIN was built with SWIG 2.0.5, while 2.0.7 is the
> current version in Debian unstable.

Does it work if you remove those checks in

    dolfin/site-packages/dolfin/compilemodules/compilemodule.py
    dolfin/site-packages/dolfin/compilemodules/jit.py

?

If so, we might turn those into warnings.

Johan Hake can comment on whether the checks could be losened.

--
Anders


Follow ups

References