I am having the same problem as the person below.

I am using Ubuntu 14.01 and have tried installing fenics from the
fenics-packages/fenics and fenics-packages/fenics-dev ppas to no avail.

I have also tried compiling using dorsal (fails with an error from
Teuchos_CommHelpers.hpp) and compiling from the various sources (fails with
an error saying I have to enable -fPIC, I tried to enable that flag on
everything, but couldn't shake the error).

Any ideas on how to get a running version of fenics going?

--Christopher



On Mon, Mar 03, 2014 at 01:45:35PM +0100, Bård Røseth Karlsen wrote:
> Hello I get this error:
>
> karlsen@ubuntu:~/Downloads$ python demo_poisson.py
> Traceback (most recent call last):
>   File "demo_poisson.py", line 41, in <module>
>     V = FunctionSpace(mesh, "Lagrange", 1)
>   File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py",
> line 403, in __init__
>     FunctionSpaceBase.__init__(self, mesh, element, constrained_domain)
>   File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py",
> line 84, in __init__
>     ufc_element, ufc_dofmap = jit(self._ufl_element)
>   File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line
> 60, in mpi_jit
>     return local_jit(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line
> 122, in jit
>     return jit_compile(form, parameters=p, common_cell=common_cell)
> TypeError: jit() got an unexpected keyword argument 'common_cell'
>
> do you have any solution?

Looks like one of your packages needs to be updated. Make sure you
have the latest version of DOLFIN, UFL and FFC.

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

Reply via email to