← Back to team overview

dolfin team mailing list archive

Re: Buildbot errors

 



Ilmar Wilbers wrote:
As the buildbot does not issue an error message if the previous build failed already, some changes may go by unoticed. The following errors are seen:

c++ -o demo/nls/cahn-hilliard/cpp/demo demo/nls/cahn-hilliard/cpp/main.o -Ldolfin -L/usr/lib/atlas -ldolfin -lxml2 -llapack -lblas -lcholmod -lamd -lcolamd
c++ -o demo/mesh/subdomains/cpp/demo demo/mesh/subdomains/cpp/main.o -Ldolfin -L/usr/lib/atlas -ldolfin -lxml2 -llapack -lblas -lcholmod -lamd -lcolamd
c++ -o demo/nls/nonlinearpoisson/cpp/demo demo/nls/nonlinearpoisson/cpp/main.o -Ldolfin -L/usr/lib/atlas -ldolfin -lxml2 -llapack -lblas -lcholmod -lamd -lcolamd
demo/nls/cahn-hilliard/cpp/main.o: In function `~CahnHilliard2DLinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4039: undefined reference to `UFC_CahnHilliard2DLinearForm::~UFC_CahnHilliard2DLinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `~CahnHilliard3DBilinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4004: undefined reference to `UFC_CahnHilliard3DBilinearForm::~UFC_CahnHilliard3DBilinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `~CahnHilliard2DBilinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4004: undefined reference to `UFC_CahnHilliard2DBilinearForm::~UFC_CahnHilliard2DBilinearForm()'
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4004: undefined reference to `UFC_CahnHilliard2DBilinearForm::~UFC_CahnHilliard2DBilinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `~CahnHilliard2DLinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4039: undefined reference to `UFC_CahnHilliard2DLinearForm::~UFC_CahnHilliard2DLinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `~CahnHilliard3DLinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4039: undefined reference to `UFC_CahnHilliard3DLinearForm::~UFC_CahnHilliard3DLinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `~CahnHilliard3DBilinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4004: undefined reference to `UFC_CahnHilliard3DBilinearForm::~UFC_CahnHilliard3DBilinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `~CahnHilliard3DLinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4039: undefined reference to `UFC_CahnHilliard3DLinearForm::~UFC_CahnHilliard3DLinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `CahnHilliard3DBilinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4007: undefined reference to `UFC_CahnHilliard3DBilinearForm::UFC_CahnHilliard3DBilinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `CahnHilliard3DLinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4042: undefined reference to `UFC_CahnHilliard3DLinearForm::UFC_CahnHilliard3DLinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `CahnHilliard2DBilinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4007: undefined reference to `UFC_CahnHilliard2DBilinearForm::UFC_CahnHilliard2DBilinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `CahnHilliard2DLinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4042: undefined reference to `UFC_CahnHilliard2DLinearForm::UFC_CahnHilliard2DLinearForm()'
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4050: undefined reference to `UFC_CahnHilliard2DLinearForm::~UFC_CahnHilliard2DLinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `CahnHilliard2DBilinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h:4014: undefined reference to `UFC_CahnHilliard2DBilinearForm::~UFC_CahnHilliard2DBilinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `CahnHilliard3DLinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4050: undefined reference to `UFC_CahnHilliard3DLinearForm::~UFC_CahnHilliard3DLinearForm()'
demo/nls/cahn-hilliard/cpp/main.o: In function `CahnHilliard3DBilinearForm':
/scratch2/ilmarw/buildbot/slaves/dolfin/linux_64/build/demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h:4014: undefined reference to `UFC_CahnHilliard3DBilinearForm::~UFC_CahnHilliard3DBilinearForm()'
collect2: ld returned 1 exit status
c++ -o demo/ode/aliev-panfilov/cpp/main.o -c -Wall -pipe -ansi -DDEBUG -g -Werror -DNDEBUG -O2 -DPACKAGE_VERSION=\"0.8.0\" -DHAS_CHOLMOD=1 -fno-strict-aliasing -I. -I. -Idolfin -I/scratch/buildbot/local/include -I/usr/include/libxml2 -I/usr/include/suitesparse demo/ode/aliev-panfilov/cpp/main.cpp
scons: *** [demo/nls/cahn-hilliard/cpp/demo] Error 1
dolfin/log/Table.h:103: Warning(503): Can't wrap 'operator dolfin::real' unless renamed to a valid identifier.
dolfin/la/Scalar.h:86: Warning(503): Can't wrap 'operator dolfin::real' unless renamed to a valid identifier.


This is a build system problem. In demo/nls/cahn-hilliard, there is more than one source file which the build system doesn't pick up. Running scons in demo/nls/cahn-hilliard, it cuild without problems.

Perhaps we should just add a SConstruct file for each of the demos and the build system should just call the local SConstruct file.


Also, the buildbot without cholmod exits with the following error:

dolfin/la/CholmodCholeskySolver.cpp: In member function 'virtual dolfin::uint dolfin::CholmodCholeskySolver::solve(const dolfin::GenericMatrix&, dolfin::GenericVector&, const dolfin::GenericVector&)':
dolfin/la/CholmodCholeskySolver.cpp:95: error: 'UmfpackLUSolver' was not declared in this scope
dolfin/la/CholmodCholeskySolver.cpp:95: error: expected `;' before 'solver'
dolfin/la/CholmodCholeskySolver.cpp:96: error: 'solver' was not declared in this scope
scons: *** [dolfin/la/CholmodCholeskySolver.os] Error 1
scons: building terminated because of errors.


Fixed.

Garth

ilmar
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References