Gabriel,

On Fri May 10 15:54:40 CEST 2013, Gabriel Balaban <[email protected]> wrote:
> Yesterday I installed DOLFIN using dorsal (stable = True) and ubuntu 13.04.
> Now when I create a FunctionSpace object I get the message
>
> OSError: PyDOLFIN was not compiled with the present version of swig.
> Install swig version 2.0.7 or recompiled PyDOLFIN with present swig
>
> I see that my ubuntu 13.04 is equipped with swig 2.0.8. Is there a way to
> resolve this without having to use an older version of swig?

It looks like DOLFIN was compiled with SWIG 2.0.7, which is the
version from the previous Ubuntu release (12.10). You should always
make sure that you recompile everything that was manually compiled
after you upgrade your distribution. It is also important that you
remove any compiler cache (like dorsal_build_dir). The easiest is
probably to remove everything built and installed by Dorsal and do a
complete rebuild. This can be done simply by removing the
$HOME/Work/FEniCS folder if you didn't change the default settings in
dorsal.cfg.

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to