|
From: | Marco Vassallo |
Subject: | Re: Building fem-fenics on Ubuntu |
Date: | Wed, 26 Feb 2014 10:40:30 +0000 |
Hi!
Thanks for your prompt reply! I have to admit that I did some
On 2014-02-26 10:01, Marco Vassallo wrote:
> mkoctfile -I/usr/include/eigen3 -I/usr/lib/openmpi/include
> -I/usr/lib/openmpi/include/openmpi -pthread -c plot_mesh.cc -o
> plot_mesh.o -I.
> In file included from plot_mesh.cc:20:0:
> Plot_2d.h:68:24: error: conflicting return type specified for ‘virtual
> unsigned int plot_2d_finite_element_0::topological_dimension() const’
> In file included from /usr/include/dolfin/ale/MeshDisplacement.h:25:0,
> from /usr/include/dolfin/mesh/Mesh.h:40,
> from /usr/include/dolfin/mesh/dolfin_mesh.h:11,
> from /usr/include/dolfin.h:11,
> from function.h:23,
> from plot_mesh.cc:18:
> /usr/include/ufc.h:127:25: error: overriding ‘virtual std::size_t
> ufc::finite_element::topological_dimension() const’
> In file included from plot_mesh.cc:20:0:
> Plot_2d.h:74:24: error: conflicting return type specified for ‘virtual
> unsigned int plot_2d_finite_element_0::geometric_dimension() const’
> In file included from /usr/include/dolfin/ale/MeshDisplacement.h:25:0,
> from /usr/include/dolfin/mesh/Mesh.h:40,
> from /usr/include/dolfin/mesh/dolfin_mesh.h:11,
> from /usr/include/dolfin.h:11,
> from function.h:23,
> from plot_mesh.cc:18:
>
> I've installed libdolfin1.3-dev from the FEniCS Ubuntu repository,
> presumably that's the correct library -- or not? Is this an error
> related to the interface changes in libdolfin, or is it a completely
> different problem with my system?
>
>
> The problem should be that you are using an older version of ffc, the
> compiler for the
> variational form. If you use dolfin 1.3.0 you should also use ffc 1.3.0
> and not ffc 1.2.0
> However you can install FeniCs 1.3.0 (which includes dolfin 1.3.0 and
> ffc 1.3.0)
> directly from their repository.
>
> Please check what version of ffc you are using.
installing/uninstalling of different packages experimenting a bit, but
ffc --version
returns
This is FFC, the FEniCS Form Compiler, version 1.3.0.
For further information, visit http://www.fenics.org/ffc/.
for me, and I seemingly have installed "python-ffc 1.3.0" according to
the package manager. Is this correct?
Yours,
Daniel
--
http://www.domob.eu/
OpenPGP: 901C 5216 0537 1D2A F071 5A0E 4D94 6EED 04F7 CF52
Namecoin: id/domob -> https://nameid.org/?name=domob
--
Done: Arc-Bar-Cav-Hea-Kni-Ran-Rog-Sam-Tou-Val-Wiz
To go: Mon-Pri
[Prev in Thread] | Current Thread | [Next in Thread] |