[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building fem-fenics on Ubuntu
From: |
Daniel Kraft |
Subject: |
Re: Building fem-fenics on Ubuntu |
Date: |
Wed, 26 Feb 2014 09:51:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hi!
On 2014-02-25 16:46, Daniel Kraft wrote:
> fem-fenics 0.0.1 already supports FeniCS 1.3.0, and thus you should be
> able to install it right now
>
> be sure that you are installing the last release and that you are linking
> correctly to dolfin 1.3.0.
I'm not sure about the version, but I'm using the current version from
the hg repository at http://hg.code.sf.net/p/octave/fem-fenics. Is this
ok or should I download a particular release archive from somewhere?
With
export CPPFLAGS="-I/usr/include/eigen3 $(mpicxx -showme:compile)"
it configures fine and builds some files, but fails later on with the
attached error message. The first few errors are these:
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?
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
log
Description: Text document
- Building fem-fenics on Ubuntu, Daniel Kraft, 2014/02/25
- Re: Building fem-fenics on Ubuntu, Juan Pablo Carbajal, 2014/02/25
- Re: Building fem-fenics on Ubuntu, Daniel Kraft, 2014/02/25
- Re: Building fem-fenics on Ubuntu, Marco Vassallo, 2014/02/25
- Message not available
- Re: Building fem-fenics on Ubuntu,
Daniel Kraft <=
- Re: Building fem-fenics on Ubuntu, Marco Vassallo, 2014/02/26
- Re: Building fem-fenics on Ubuntu, Daniel Kraft, 2014/02/26
- Re: Building fem-fenics on Ubuntu, Marco Vassallo, 2014/02/26
- Re: Building fem-fenics on Ubuntu, Daniel Kraft, 2014/02/26
- Re: Building fem-fenics on Ubuntu, Marco Vassallo, 2014/02/26
- Re: Building fem-fenics on Ubuntu, Daniel Kraft, 2014/02/26