This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

installation

0 votes

I try to install FEnics for the first foiset have some problems.
I test and make a demonstration run obtain me the following error.
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
*** -------------------------------------------------------------------------
*** Warning: Automatic determination of degree for Expressions has been deprecated in FEniCS version 2016.1.
*** It will (likely) be removed in the next FEniCS release.
*** Specify the polynomial degree for interpolation of Expression, or provide a FiniteElement
*** -------------------------------------------------------------------------

*** -------------------------------------------------------------------------
*** Warning: 'FunctionSpace.cell()' has been deprecated in FEniCS version 2016.1.
*** It will (likely) be removed in the next FEniCS release.
*** Use 'FunctionSpace.ufl_cell()' instead.
*** -------------------------------------------------------------------------

Traceback (most recent call last):
File "demo_hyperelasticity.py", line 65, in
I = Identity(V.cell().d) # Identity tensor
AttributeError: 'Cell' object has no attribute 'd'
Aborted (core dumped)

All do the ideas what I can do to obtain my install work?
It is on the ubunto 14.04.

asked Dec 8, 2016 by maro FEniCS Novice (220 points)

Where did you get that file demo_hyperelasticity.py from? It looks old - I = Identity(V.cell().d) has been I = Identity(d) in that file since version 1.3.0 of FEniCS. Make sure that the demo files you use comes from the same version as the FEniCS you use.

...