← Back to team overview

fenics team mailing list archive

Re: Ubuntu packages broken?

 

Hi Douglas,

Which version of Ubuntu do you have? Could you also give me the output
of these two commands:

  dpkg -s libdolfin0
  dpkg -s python-ufc

Thanks,

Johannes

On Saturday, June 26, 2010, Douglas N Arnold <arnold@xxxxxxx> wrote:
> The Ubuntu packages don't seem to work anymore.  After a fresh
> download with "apt-get install fenics" following the instructions at the
> top of http://www.fenics.org/wiki/Download
> the packages seem to install OK, but when I try to run, e.g., the poisson demo.py, I get a complaint about a swig version mismatch.
>
> python /usr/share/doc/dolfin-doc/demo/pde/poisson/python/demo.py
> Calling FFC just-in-time (JIT) compiler, this may take some time.
> Traceback (most recent call last):
>   File "/usr/share/doc/dolfin-doc/demo/pde/poisson/python/demo.py", line 24, in <module>
>     V = FunctionSpace(mesh, "CG", 1)
>   File "/usr/lib/python2.6/dist-packages/dolfin/function/functionspace.py", line 226, in __init__
>     FunctionSpaceBase.__init__(self, mesh, element)
>   File "/usr/lib/python2.6/dist-packages/dolfin/function/functionspace.py", line 44, in __init__
>     ufc_element, ufc_dofmap = jit(self._ufl_element)
>   File "/usr/lib/python2.6/dist-packages/dolfin/compilemodules/jit.py", line 44, in mpi_jit
>     return local_jit(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/dolfin/compilemodules/jit.py", line 103, in jit
>     return jit_compile(form, parameters=p, common_cell=common_cell)
>   File "/usr/lib/python2.6/dist-packages/ffc/jitcompiler.py", line 56, in jit
>     return jit_element(object, parameters)
>   File "/usr/lib/python2.6/dist-packages/ffc/jitcompiler.py", line 135, in jit_element
>     (compiled_form, module, form_data) = jit_form(form, parameters)
>   File "/usr/lib/python2.6/dist-packages/ffc/jitcompiler.py", line 107, in jit_form
>     cache_dir = cache_dir)
>   File "/usr/lib/python2.6/dist-packages/ufc_utils/build.py", line 53, in build_ufc_module
>     (cpp_path, swig_path) = configure_instant()
>   File "/usr/lib/python2.6/dist-packages/ufc_utils/build.py", line 96, in configure_instant
>     """ % ufc.__swigversion__
> OSError: The python extension module of UFC was not compiled with the present version of swig.
> Install swig version 1.3.36 or recompiled UFC with present swig
>
> _______________________________________________
> Mailing list: https://launchpad.net/~fenics
> Post to     : fenics@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fenics
> More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References