Neil Hopcroft

A digital misfit


Build break – of-fem-fenics build #156

Build #156 of of-fem-fenics is giving this error: CPPFLAGS=”-std=c++11 -fopenmp -DDOLFIN_VERSION=\”1.7.0dev\” -DNDEBUG -DDOLFIN_SIZE_T=8 -DDOLFIN_LA_INDEX_SIZE=4 -DHAS_PETSC -DENABLE_PETSC_TAO -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_PARMETIS -DHAS_ZLIB -DHAS_CPPUNIT -DHAS_MPI -DHAS_OPENMP -DHAS_QT4 -DHAS_VTK -DHAS_QVTK -I/usr/local/include -I/usr/local/include/vtk-6.3 -I/usr/local/Trolltech/Qt-4.8.6/include -I/usr/local/include/eigen3 -DLATEST_DOLFIN” /usr/local/bin/mkoctfile -c -o Mesh.o In file included from /usr/local/include/dolfin/function/FunctionSpace.h:37:0, from /usr/local/include/dolfin/function/dolfin_function.h:10, from /usr/local/include/dolfin.h:26, from mesh.h:21, from /usr/local/include/dolfin/fem/FiniteElement.h: In member function ‘void dolfin::FiniteElement::map_from_reference_cell(double*, […]

More on the dolfin build breaks

Time to roll up my sleeves and get my hands dirty in the code following my previous chasing of various build errors. The build error I am seeing now is /usr/share/tomcat7/.jenkins/workspace/dolfin/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: In function ‘PyObject* _wrap_MeshGeometry_set(PyObject*, PyObject*)’: /usr/share/tomcat7/.jenkins/workspace/dolfin/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:18767:60: error: no matching function for call to ‘dolfin::MeshGeometry::set(std::size_t&, const std::vector&)’ (arg1)->set(arg2,(std::vector< double > const &)*arg3); ^ This is […]

Build break – dolfin build #338

Build #338 of dolfin failed with this error: [ 98%] Building CXX object dolfin/swig/modules/function/CMakeFiles/_function.dir/modulePYTHON_wrap.cxx.o /usr/share/tomcat7/.jenkins/workspace/dolfin/build/dolfin/swig/modules/function/modulePYTHON_wrap.cxx: In function ‘PyObject* _wrap_Function_non_matching_eval(PyObject*, PyObject*)’: /usr/share/tomcat7/.jenkins/workspace/dolfin/build/dolfin/swig/modules/function/modulePYTHON_wrap.cxx:11623:41: error: ‘const class dolfin::Function’ has no member named ‘non_matching_eval’ ((dolfin::Function const *)arg1)->non_matching_eval(*arg2,(dolfin::Array< double > const &)*arg3,(ufc::cell const &)*arg4); ^ Which seems like it is probably caused by this commit: Commit 88a38a716b887b9d8d7ba0d5ce9e33a410907bbf by gnw20 Remove […]

Build break in dolfin – build 202

This break started with CMake Error at CMakeLists.txt:889 (message): Generation of form files failed: sh: ffc: command not found …in build 202, but then a change was made to update the dependencies, requiring ffc version 1.7.0. However the ffc version on the master branch is still 1.6.0, a little searching around shows that the ‘next’ […]

Build break in freeglut – build 7

There was a build break in the freeglut build: [ 38%] Built target freeglut Linking C executable bin/CallbackMaker lib/ undefined reference to `sball_initialized’ collect2: error: ld returned 1 exit status make[2]: *** [bin/CallbackMaker] Error 1 make[1]: *** [CMakeFiles/CallbackMaker.dir/all] Error 2 There were a significant number of changes included in build 7 as it was originally […]

Octave build break: SuiteSparse version – revisited

So it seems like my fix for the SuiteSparse build break only partially fixes the problem. It does get octave building again, but it is now complaining about a couple of missing libraries, cholmod and umfpack, which I think should be included in SuiteSparse. I have used the autoconf-er for SuiteSparse build to make it […]

Dolfin success

It has taken a bit of wrangling but I’ve finally gotten dolfin to build. The final set of adjustments I have made to the build are: mv dolfin/la/PETScKrylovSolver.cpp dolfin/la/PETScKrylovSolver.cpp.orig sed ‘s/^.*KSPSetNull/\/\/ Line removed to fix build problem/’ < dolfin/la/PETScKrylovSolver.cpp.orig > dolfin/la/PETScKrylovSolver.cpp mv dolfin/la/CholmodCholeskySolver.cpp dolfin/la/CholmodCholeskySolver.cpp.orig echo ‘#include “SuiteSparse_config.h”‘ > dolfin/la/CholmodCholeskySolver.cpp cat dolfin/la/CholmodCholeskySolver.cpp.orig >> dolfin/la/CholmodCholeskySolver.cpp mv dolfin/la/UmfpackLUSolver.cpp […]