Hi,
when running the code demo_biharmonic.py from http://fenicsproject.org/documentation/dolfin/dev/python/demo/documented/biharmonic/python/documentation.html I get the following error:
KeyError: "'ghost_mode' is not a parameter"
so the error comes from the line parameters["ghost_mode"] = "shared_facet"
Any idea what the problem could be? thanks
What version are you using? This option is not available in 1.4.0
Indeed I am using version 1.4.0. So is there any alternative?
You can get the latest source code from: git clone https://git@bitbucket.org/fenics-project/dolfin
git clone https://git@bitbucket.org/fenics-project/dolfin
But you might be better to wait for 1.5.0, which is due out in January
On the other hand, it is only important in parallel, so if you are not using MPI you can just comment out that line
You need to update to the development version.
The parameter will be available in 1.5, but will still be an 'undocumented' feature, i.e. subject to change at any time.