On Wed, 20 May 2015 22:47:55 +0200
Håkan Carlsson <[email protected]> wrote:

> Hi,
> 
> I Installed fenics on a Lubuntu system:
> 
> Linux  3.19.0-16-generic #16-Ubuntu SMP Thu Apr 30 16:09:58 UTC 2015
> x86_64 x86_64 x86_64 GNU/Linux
> 
> And when I executed the d1_p2D.py from the tutorial examples, I got
> this error message:
> 
> $ python d1_p2D.py

Don't bother with FEniCS tutorial which is outdated. Start over with
documented demos which can be found in <prefix>/share/dolfin/demos or
http://fenicsproject.org/documentation/dolfin/1.5.0/python/demo/index.html

The problem is that there is deprecated value for
"refinement_algorithm" in dolfin_parameters.xml which is exactly what
error message says.

Jan

> Reading DOLFIN parameters from file "dolfin_parameters.xml".
> terminate called after throwing an instance of 'std::runtime_error'
>   what():
> 
> ***
> -------------------------------------------------------------------------
> *** DOLFIN encountered an error. If you are not able to resolve this
> issue *** using the information listed below, you can ask for help at
> ***
> ***     [email protected]
> ***
> *** Remember to include the error message listed below and, if
> possible, *** include a *minimal* running example to reproduce the
> error. ***
> ***
> -------------------------------------------------------------------------
> *** Error:   Unable to assign parameter value.
> *** Reason:  Illegal value for parameter "refinement_algorithm".
> Allowed values are: [plaza, plaza_with_parent_facets, regular_cut].
> *** Where:   This error was encountered inside Parameter.cpp.
> *** Process: unknown
> ***
> *** DOLFIN version: 1.5.0
> *** Git changeset:  unknown
> ***
> -------------------------------------------------------------------------
> 

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

Reply via email to