Poisson1D.h: No such file or directory

Bug #1160033 reported by Nico Schlömer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
New
Undecided
Unassigned

Bug Description

A clean Dolfin dev build gives

[ 0%] Building CXX object dolfin/CMakeFiles/dolfin.dir/ale/HarmonicSmoothing.cpp.o
/home/nschloe/software/fenics/dolfin/dev/source-launchpad/dolfin/ale/HarmonicSmoothing.cpp:32:23: fatal error: Poisson1D.h: No such file or directory
compilation terminated.

for me at the moment.

Revision history for this message
Mikael Mortensen (mikael-mortensen) wrote :

I recently had the same problem, see https://bugs.launchpad.net/dolfin/+bug/1158504

Basically, generated files like Poisson1D.h are being removed from the repository. The problem disappeared for me using trunk yesterday though...?

Mikael

Revision history for this message
Anders Logg (logg) wrote : Re: [Bug 1160033] Re: Poisson1D.h: No such file or directory

You need to run

  cmake/scripts/generate-all

--
Anders

On Mon, Mar 25, 2013 at 09:31:06PM -0000, Mikael Mortensen wrote:
> I recently had the same problem, see
> https://bugs.launchpad.net/dolfin/+bug/1158504
>
> Basically, generated files like Poisson1D.h are being removed from the
> repository. The problem disappeared for me using trunk yesterday
> though...?
>
> Mikael
>

Revision history for this message
Garth Wells (garth-wells) wrote :

On 26 March 2013 07:08, Anders Logg <email address hidden> wrote:
> You need to run
>
> cmake/scripts/generate-all
>

I commented this out in cmake.local because I got tired of it running
ffc every time (I needed to run cmake to make test code changes
update).

Garth

> --
> Anders
>
>
> On Mon, Mar 25, 2013 at 09:31:06PM -0000, Mikael Mortensen wrote:
>> I recently had the same problem, see
>> https://bugs.launchpad.net/dolfin/+bug/1158504
>>
>> Basically, generated files like Poisson1D.h are being removed from the
>> repository. The problem disappeared for me using trunk yesterday
>> though...?
>>
>> Mikael
>>
>
> --
> You received this bug notification because you are a member of DOLFIN
> Core Team, which is subscribed to DOLFIN.
> https://bugs.launchpad.net/bugs/1160033
>
> Title:
> Poisson1D.h: No such file or directory
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dolfin/+bug/1160033/+subscriptions

Revision history for this message
Anders Logg (logg) wrote :

B1;3400;0cOn Tue, Mar 26, 2013 at 01:33:48AM -0000, Garth Wells wrote:
> On 26 March 2013 07:08, Anders Logg <email address hidden> wrote:
> > You need to run
> >
> > cmake/scripts/generate-all
> >
>
> I commented this out in cmake.local because I got tired of it running
> ffc every time (I needed to run cmake to make test code changes
> update).

Maybe it is possible to have it generated only the first time it is
run. Should be simple enough to add a check whether it has been run
in the cmake.local script (by just checking for the existence of some
file). But in the long run it needs to somehow be integrated into the
build system.

--
Anders

Revision history for this message
Andrew McRae (andymc) wrote :

Getting the same bug on trunk, even after generate-all is run.

<snip>
[ 39%] Building CXX object dolfin/CMakeFiles/dolfin.dir/la/uBLASLinearOperator.cpp.o
[ 39%] Building CXX object dolfin/CMakeFiles/dolfin.dir/la/PETScCuspFactory.cpp.o
[ 41%] Building CXX object dolfin/CMakeFiles/dolfin.dir/ale/HarmonicSmoothing.cpp.o
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/HarmonicSmoothing.cpp:32:23: fatal error: Poisson1D.h: No such file or directory
compilation terminated.
[ 41%] make[2]: *** [dolfin/CMakeFiles/dolfin.dir/ale/HarmonicSmoothing.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Building CXX object dolfin/CMakeFiles/dolfin.dir/ale/ALE.cpp.o
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
Andrew McRae (andymc) wrote :
Download full text (23.0 KiB)

If I do more sourcing, I get something more like this:

[ 40%] Building CXX object dolfin/CMakeFiles/dolfin.dir/ale/HarmonicSmoothing.cpp.o
[ 40%] Building CXX object dolfin/CMakeFiles/dolfin.dir/ale/ALE.cpp.o
In file included from /home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/HarmonicSmoothing.cpp:32:0:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h: In member function ‘virtual ufc::dofmap* poisson1d_dofmap_0::create() const’:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:867:35: error: cannot allocate an object of abstract type ‘poisson1d_dofmap_0’
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:673:7: note: because the following virtual functions are pure within ‘poisson1d_dofmap_0’:
/home/atm112/local2/fenics/include/ufc.h:249:25: note: virtual std::size_t ufc::dofmap::local_dimension() const
In file included from /home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/HarmonicSmoothing.cpp:32:0:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h: In member function ‘virtual ufc::dofmap* poisson1d_form_0::create_dofmap(std::size_t) const’:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:1051:39: error: cannot allocate an object of abstract type ‘poisson1d_dofmap_0’
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:673:7: note: since type ‘poisson1d_dofmap_0’ has pure virtual functions
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:1056:39: error: cannot allocate an object of abstract type ‘poisson1d_dofmap_0’
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:673:7: note: since type ‘poisson1d_dofmap_0’ has pure virtual functions
In file included from /home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/HarmonicSmoothing.cpp:32:0:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h: In constructor ‘Poisson1D::Form_a_FunctionSpace_0::Form_a_FunctionSpace_0(const dolfin::Mesh&)’:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:1144:140: error: cannot allocate an object of abstract type ‘poisson1d_dofmap_0’
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:673:7: note: since type ‘poisson1d_dofmap_0’ has pure virtual functions
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h: In constructor ‘Poisson1D::Form_a_FunctionSpace_0::Form_a_FunctionSpace_0(boost::shared_ptr<const dolfin::Mesh>)’:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:1153:140: error: cannot allocate an object of abstract type ‘poisson1d_dofmap_0’
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:673:7: note: since type ‘poisson1d_dofmap_0’ has pure virtual functions
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h: In constructor ‘Poisson1D::Form_a_FunctionSpace_0::Form_a_FunctionSpace_0(const dolfin::Mesh&, const dolfin::SubDomain&)’:
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:1164:140: error: cannot allocate an object of abstract type ‘poisson1d_dofmap_0’
/home/atm112/local2/fenics/src/dolfin/current/dolfin/ale/Poisson1D.h:...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.