[Dune] Problem with linking Boost
Aleksejs Fomins
aleksejs.fomins at lspr.ch
Tue Apr 28 17:42:44 CEST 2015
Dear Dune,
I am trying to compile our finite element EM code Hades3d with the new Boost 1.58.0, and unfortunately I get the error
----------------------------------------------------------------------------------------------------------------
Linking CXX executable hades3ddgfd
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `__static_initialization_and_destruction_0(int, int)':
hades3ddgfd.cc:(.text+0x8454): undefined reference to `boost::system::generic_category()'
----------------------------------------------------------------------------------------------------------------
Note:
* Boost is found by the dunecontrol.
* add_dune_boost_flags(hades3ddgfd) is done for this file in the CMake file
* Finding Boost is performed in the lowest-level CMake file
find_package(Boost)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
else(Boost_FOUND)
* -lboost_system is specified in the opts file.
I am sending the opts file, the two corresponding cmake files, and the output log of the dunecontrol
Please help,
Aleksejs
-------------- next part --------------
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
--- going to build dune-common dune-istl dune-geometry dune-localfunctions dune-curvilineargeometry dune-grid dune-curvilineargrid dune-alugrid hades dune-grid-howto ---
--- calling all for dune-common ---
--- calling vcsetup for dune-common ---
--- calling autogen for dune-common ---
Skipping dune-autogen because of CMake
--- calling configure for dune-common ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-common"
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Using scripts from /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/scripts for creating doxygen stuff.
-- Not adding custom target for config.h generation
--
-- The following OPTIONAL packages have been found:
* PkgConfig
* BLAS
* LAPACK
* Inkscape
* MPI
* Threads
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake
--- calling make for dune-common ---
build directory: build-cmake
cmake --build . --
[ 69%] Built target dunecommon
[ 76%] Built target indexset
[ 84%] Built target poosc08
[100%] Built target poosc08_test
--- dune-common done ---
--- calling all for dune-istl ---
--- calling vcsetup for dune-istl ---
--- calling autogen for dune-istl ---
Skipping dune-autogen because of CMake
--- calling configure for dune-istl ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-istl"
-- Dependencies for dune-istl: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Performing tests specific to dune-istl from file /home/fomins/gitwork/hades-github-lspr-ag/dune-istl/cmake/modules/DuneIstlMacros.cmake.
-- Boost version: 1.58.0
-- Boost version: 1.58.0
-- Skipping check for Boost::FUSION as Boost is not available.
-- Could NOT find SuperLU (missing: SUPERLU_INCLUDE_DIR SUPERLU_LIBRARY)
CMake Warning at /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/FindUMFPack.cmake:32 (message):
UMFPack requires AMD (approximate minimum degree ordering) which was not
found, skipping the test.
Call Stack (most recent call first):
cmake/modules/DuneIstlMacros.cmake:8 (find_package)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:24 (dune_project)
-- Using scripts from /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/scripts for creating doxygen stuff.
-- Adding custom target for config.h generation
--
-- The following OPTIONAL packages have been found:
* PkgConfig
* LAPACK
* Inkscape
* Boost
* METIS
* ParMETIS
* MPI
* Threads
-- The following REQUIRED packages have been found:
* dune-common
* BLAS
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
* BoostFusion
* SuperLU
* UMFPack
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-istl/build-cmake
--- calling make for dune-istl ---
build directory: build-cmake
cmake --build . --
[100%] Built target example
--- dune-istl done ---
--- calling all for dune-geometry ---
--- calling vcsetup for dune-geometry ---
--- calling autogen for dune-geometry ---
Skipping dune-autogen because of CMake
--- calling configure for dune-geometry ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/lib/dunegeometryam2cmake.lib for converting options does not exist
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry"
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Using scripts from /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/scripts for creating doxygen stuff.
-- Adding custom target for config.h generation
--
-- The following OPTIONAL packages have been found:
* MPI
* PkgConfig
* BLAS
* Threads
* LAPACK
* Inkscape
-- The following REQUIRED packages have been found:
* dune-common
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/build-cmake
--- calling make for dune-geometry ---
build directory: build-cmake
cmake --build . --
[100%] Built target dunegeometry
--- dune-geometry done ---
--- calling all for dune-localfunctions ---
--- calling vcsetup for dune-localfunctions ---
--- calling autogen for dune-localfunctions ---
Skipping dune-autogen because of CMake
--- calling configure for dune-localfunctions ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/lib/dunegeometryam2cmake.lib for converting options does not exist
/home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions/lib/dunelocalfunctionsam2cmake.lib for converting options does not exist
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" "-Ddune-geometry_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/build-cmake" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions"
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting dune-geometry_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests specific to dune-localfunctions from file /home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions/cmake/modules/DuneLocalfunctionsMacros.cmake.
-- Using scripts from /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/scripts for creating doxygen stuff.
-- Adding custom target for config.h generation
--
-- The following OPTIONAL packages have been found:
* MPI
* PkgConfig
* BLAS
* Threads
* LAPACK
* Inkscape
-- The following REQUIRED packages have been found:
* dune-common
* dune-geometry
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions/build-cmake
--- calling make for dune-localfunctions ---
build directory: build-cmake
cmake --build . --
--- dune-localfunctions done ---
--- calling all for dune-curvilineargeometry ---
--- calling vcsetup for dune-curvilineargeometry ---
--- calling autogen for dune-curvilineargeometry ---
Skipping dune-autogen because of CMake
--- calling configure for dune-curvilineargeometry ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/lib/dunegeometryam2cmake.lib for converting options does not exist
/home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry/lib/dunecurvilineargeometryam2cmake.lib for converting options does not exist
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" "-Ddune-geometry_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/build-cmake" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry"
-- Dependencies for dune-curvilineargeometry: dune-common;dune-geometry
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting dune-geometry_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests specific to dune-curvilineargeometry from file /home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry/cmake/modules/DuneCurvilineargeometryMacros.cmake.
-- Using scripts from /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/scripts for creating doxygen stuff.
-- Adding custom target for config.h generation
--
-- The following OPTIONAL packages have been found:
* MPI
* PkgConfig
* BLAS
* Threads
* LAPACK
* Inkscape
-- The following REQUIRED packages have been found:
* dune-common
* dune-geometry
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry/build-cmake
--- calling make for dune-curvilineargeometry ---
build directory: build-cmake
cmake --build . --
[ 16%] Built target dune_curvilineargeometry
[ 33%] Built target test_curvilinearelementinterpolation
[ 50%] Built target test_curvilineargeometry
[ 66%] Built target test_polynomial
[ 83%] Built target test_quadratureintegration
[100%] Built target test_recursiveinterpolationintegration
--- dune-curvilineargeometry done ---
--- calling all for dune-grid ---
--- calling vcsetup for dune-grid ---
--- calling autogen for dune-grid ---
Skipping dune-autogen because of CMake
--- calling configure for dune-grid ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/lib/dunegeometryam2cmake.lib for converting options does not exist
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" "-Ddune-geometry_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/build-cmake" -DENABLE_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-grid"
-- Dependencies for dune-grid: dune-common (>= 2.4);dune-geometry (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting dune-geometry_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests specific to dune-grid from file /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/DuneGridMacros.cmake.
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- Could NOT find ALUGrid (missing: ALUGRID_VERSION ALUGRID_INCLUDE_PATH ALUGRID_LIB ALUGRID_LIB_PATH ALULIB_FUNCTIONAL HAVE_ALUGRID_SERIAL_H)
CMake Warning at cmake/modules/UseUG.cmake:27 (find_package):
Could not find a package configuration file provided by "UG" (requested
version 3.11.0) with any of the following names:
UGConfig.cmake
ug-config.cmake
Add the installation prefix of "UG" to CMAKE_PREFIX_PATH or set "UG_DIR" to
a directory containing one of the above files. If "UG" provides a separate
development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
cmake/modules/DuneGridMacros.cmake:14 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:22 (dune_project)
-- Could NOT find UG (missing: UG_DIR HAVE_UG)
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
-- Could NOT find Grape (missing: X11_FOUND OPENGL_FOUND GRAPE_INCLUDE_DIR GRAPE_LIBRARY _GRAPE_LIB_FUNCTIONAL _GRAPE_HEADER_USABLE)
-- checking for one of the modules 'psurface'
-- checking for module 'psurface'
-- package 'psurface' not found
-- Could NOT find psurface (missing: PSURFACE_INCLUDE_DIR PSURFACE_LIBRARY)
-- Could NOT find AmiraMesh (missing: AMIRAMESH_INCLUDE_DIR AMIRAMESH_LIBRARY)
-- Using scripts from /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/scripts for creating doxygen stuff.
-- Adding custom target for config.h generation
--
-- The following features have been enabled:
* Experimental grid extensions , Enables additional grid features.
-- The following OPTIONAL packages have been found:
* MPI
* PkgConfig
* BLAS
* Threads
* LAPACK
* Inkscape
* METIS
* ParMETIS
-- The following REQUIRED packages have been found:
* dune-common
* dune-geometry
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
* ALUGrid
* Alberta
* UG (required version >= 3.11.0)
* X11
* OpenGL
* Grape
* Psurface
* AmiraMesh
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/build-cmake
--- calling make for dune-grid ---
build directory: build-cmake
cmake --build . --
[100%] Built target dunegrid
--- dune-grid done ---
--- calling all for dune-curvilineargrid ---
--- calling vcsetup for dune-curvilineargrid ---
--- calling autogen for dune-curvilineargrid ---
Skipping dune-autogen because of CMake
--- calling configure for dune-curvilineargrid ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/lib/dunegeometryam2cmake.lib for converting options does not exist
/home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry/lib/dunecurvilineargeometryam2cmake.lib for converting options does not exist
/home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargrid/lib/dunecurvilineargridam2cmake.lib for converting options does not exist
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" "-Ddune-geometry_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/build-cmake" "-Ddune-curvilineargeometry_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry/build-cmake" -DENABLE_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE "-Ddune-grid_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-grid/build-cmake" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargrid"
CMake Warning at CMakeLists.txt:5 (find_package):
By not providing "FindParMETIS.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ParMETIS",
but CMake did not find one.
Could not find a package configuration file provided by "ParMETIS" with any
of the following names:
ParMETISConfig.cmake
parmetis-config.cmake
Add the installation prefix of "ParMETIS" to CMAKE_PREFIX_PATH or set
"ParMETIS_DIR" to a directory containing one of the above files. If
"ParMETIS" provides a separate development package or SDK, be sure it has
been installed.
-- Dependencies for dune-curvilineargrid: dune-common;dune-geometry;dune-curvilineargeometry;dune-grid
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- Dependencies for dune-curvilineargeometry: dune-common;dune-geometry
-- Dependencies for dune-grid: dune-common (>= 2.4);dune-geometry (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting dune-geometry_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests specific to dune-grid from file /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/DuneGridMacros.cmake.
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- Could NOT find ALUGrid (missing: ALUGRID_VERSION ALUGRID_INCLUDE_PATH ALUGRID_LIB ALUGRID_LIB_PATH ALULIB_FUNCTIONAL HAVE_ALUGRID_SERIAL_H)
CMake Warning at /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/UseUG.cmake:27 (find_package):
Could not find a package configuration file provided by "UG" (requested
version 3.11.0) with any of the following names:
UGConfig.cmake
ug-config.cmake
Add the installation prefix of "UG" to CMAKE_PREFIX_PATH or set "UG_DIR" to
a directory containing one of the above files. If "UG" provides a separate
development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
/home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/DuneGridMacros.cmake:14 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:25 (dune_project)
-- Could NOT find UG (missing: UG_DIR HAVE_UG)
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
-- Could NOT find Grape (missing: X11_FOUND OPENGL_FOUND GRAPE_INCLUDE_DIR GRAPE_LIBRARY _GRAPE_LIB_FUNCTIONAL _GRAPE_HEADER_USABLE)
-- checking for one of the modules 'psurface'
-- checking for module 'psurface'
-- package 'psurface' not found
-- Could NOT find psurface (missing: PSURFACE_INCLUDE_DIR PSURFACE_LIBRARY)
-- Could NOT find AmiraMesh (missing: AMIRAMESH_INCLUDE_DIR AMIRAMESH_LIBRARY)
-- Setting dune-grid_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-grid
-- Setting dune-grid_LIBRARIES=dunegrid
-- Performing tests specific to dune-curvilineargeometry from file /home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry/cmake/modules/DuneCurvilineargeometryMacros.cmake.
-- Setting dune-curvilineargeometry_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargeometry
-- Performing tests specific to dune-curvilineargrid from file /home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargrid/cmake/modules/DuneCurvilineargridMacros.cmake.
-- Boost version: 1.58.0
-- Using scripts from /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/scripts for creating doxygen stuff.
-- Adding custom target for config.h generation
--
-- The following features have been enabled:
* Experimental grid extensions , Enables additional grid features.
-- The following OPTIONAL packages have been found:
* MPI
* PkgConfig
* BLAS
* Threads
* LAPACK
* Inkscape
* METIS
* ParMETIS
* Boost
-- The following REQUIRED packages have been found:
* dune-common
* dune-geometry
* dune-curvilineargeometry
* dune-grid
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
* ALUGrid
* Alberta
* UG (required version >= 3.11.0)
* X11
* OpenGL
* Grape
* Psurface
* AmiraMesh
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-curvilineargrid/build-cmake
--- calling make for dune-curvilineargrid ---
build directory: build-cmake
cmake --build . --
[ 7%] Built target dune_curvilineargrid
[ 14%] Built target tutorial1gettingstarted
[ 21%] Built target tutorial2traversal
[ 28%] Built target tutorial3visualisation
[ 35%] Built target tutorial4IntegrationGauss
[ 42%] Built target tutorial4IntegrationNormal
[ 50%] Built target tutorial6CommunicationConstant
[ 57%] Built target tutorial6CommunicationGlobalIndex
[ 64%] Built target curvilineargmshtest
[ 71%] Built target test-allcommunicate
[ 78%] Built target test-curvgrid
[ 85%] Built target test-diagnostics
[ 92%] Built target test-diagnostics-base
[100%] Built target test-vectorhelper
--- dune-curvilineargrid done ---
--- calling all for dune-alugrid ---
--- calling vcsetup for dune-alugrid ---
--- calling autogen for dune-alugrid ---
Skipping dune-autogen because of CMake
--- calling configure for dune-alugrid ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/lib/dunegeometryam2cmake.lib for converting options does not exist
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" "-Ddune-geometry_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/build-cmake" -DENABLE_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE "-Ddune-grid_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-grid/build-cmake" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/dune-alugrid"
-- Dependencies for dune-alugrid: dune-grid (>= 2.3)
-- Dependencies for dune-grid: dune-common (>= 2.4);dune-geometry (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting dune-geometry_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests specific to dune-grid from file /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/DuneGridMacros.cmake.
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- Could NOT find ALUGrid (missing: ALUGRID_VERSION ALUGRID_INCLUDE_PATH ALUGRID_LIB ALUGRID_LIB_PATH ALULIB_FUNCTIONAL HAVE_ALUGRID_SERIAL_H)
CMake Warning at /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/UseUG.cmake:27 (find_package):
Could not find a package configuration file provided by "UG" (requested
version 3.11.0) with any of the following names:
UGConfig.cmake
ug-config.cmake
Add the installation prefix of "UG" to CMAKE_PREFIX_PATH or set "UG_DIR" to
a directory containing one of the above files. If "UG" provides a separate
development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
/home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/DuneGridMacros.cmake:14 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:26 (dune_project)
-- Could NOT find UG (missing: UG_DIR HAVE_UG)
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
-- Could NOT find Grape (missing: X11_FOUND OPENGL_FOUND GRAPE_INCLUDE_DIR GRAPE_LIBRARY _GRAPE_LIB_FUNCTIONAL _GRAPE_HEADER_USABLE)
-- checking for one of the modules 'psurface'
-- checking for module 'psurface'
-- package 'psurface' not found
-- Could NOT find psurface (missing: PSURFACE_INCLUDE_DIR PSURFACE_LIBRARY)
-- Could NOT find AmiraMesh (missing: AMIRAMESH_INCLUDE_DIR AMIRAMESH_LIBRARY)
-- Setting dune-grid_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-grid
-- Setting dune-grid_LIBRARIES=dunegrid
-- Performing tests specific to dune-alugrid from file /home/fomins/gitwork/hades-github-lspr-ag/dune-alugrid/cmake/modules/DuneAlugridMacros.cmake.
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find SIONlib (missing: SIONLIB_INCLUDE_DIR SIONLIB_LIBRARY SIONLIB_HEADER_USABLE SIONLIB_LIB_WORKS SIONLIB_LIB_SIONSER_WORKS)
-- Could NOT find DLMalloc (missing: DLMALLOC_INCLUDE_DIR DLMALLOC_SOURCE_USABLE)
-- Could NOT find PTScotch (missing: PTSCOTCH_INCLUDE_DIR PTSCOTCH_LIBRARY PTSCOTCHERR_LIBRARY)
Zoltan Dir: ZOLTAN_INCLUDE_DIR-NOTFOUND
-- Could NOT find ZOLTAN (missing: ZOLTAN_INCLUDE_DIR ZOLTAN_LIBRARY ZOLTAN_HEADER_USABLE)
CMake Warning (dev) at cmake/modules/DuneAlugridMacros.cmake:49 (message):
TODO: Improve module test.
Call Stack (most recent call first):
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:26 (dune_project)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Adding custom target for config.h generation
--
-- The following features have been enabled:
* Experimental grid extensions , Enables additional grid features.
-- The following OPTIONAL packages have been found:
* PkgConfig
* BLAS
* LAPACK
* Inkscape
* METIS
* MPI
* Threads
* ParMETIS
-- The following REQUIRED packages have been found:
* dune-common
* dune-grid
* dune-geometry
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
* ALUGrid
* Alberta
* UG (required version >= 3.11.0)
* X11
* OpenGL
* Grape
* Psurface
* AmiraMesh
* ZLIB
* SIONlib
* DLMalloc
* PTScotch
* ZOLTAN
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/dune-alugrid/build-cmake
--- calling make for dune-alugrid ---
build directory: build-cmake
cmake --build . --
[100%] Built target dunealugrid
--- dune-alugrid done ---
--- calling all for hades ---
--- calling vcsetup for hades ---
--- calling autogen for hades ---
Skipping dune-autogen because of CMake
--- calling configure for hades ---
----- using default flags $CONFIGURE_FLAGS from /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts -----
/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/lib/dunegeometryam2cmake.lib for converting options does not exist
/home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions/lib/dunelocalfunctionsam2cmake.lib for converting options does not exist
/home/fomins/gitwork/hades-github-lspr-ag/hades/lib/hadesam2cmake.lib for converting options does not exist
CXX=mpicxx CC=mpicc cmake -DCMAKE_MODULE_PATH="" "-Ddune-common_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-common/build-cmake" "-Ddune-geometry_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry/build-cmake" -DENABLE_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE "-Ddune-grid_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-grid/build-cmake" "-Ddune-istl_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-istl/build-cmake" "-Ddune-localfunctions_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions/build-cmake" "-Ddune-alugrid_DIR=/home/fomins/gitwork/hades-github-lspr-ag/dune-alugrid/build-cmake" CXXFLAGS="-Wall -pedantic -O0 -g2" -DPARMETIS_ROOT=/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0 -DCMAKE_LIBRARY_PATH:RELEASE="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_LIBRARY_PATH:DEBUG="/opt/extlib/boost/1.58.0/gcc/4.9.0/lib" -DCMAKE_STANDARD_LIBRARIES:RELEASE="-lboost_system" -DCMAKE_STANDARD_LIBRARIES:DEBUG="-lboost_system" -DCMAKE_PREFIX_PATH="/opt/extlib/boost/1.58.0/gcc/4.9.0;/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;/opt/extlib/metis/5.1.0/gcc/4.9.0;" -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -lboost_system "/home/fomins/gitwork/hades-github-lspr-ag/hades"
-- Dependencies for hades: dune-common;dune-geometry;dune-grid;dune-istl;dune-localfunctions;dune-alugrid
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- Dependencies for dune-grid: dune-common (>= 2.4);dune-geometry (>= 2.4)
-- Dependencies for dune-istl: dune-common (>= 2.4)
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.4)
-- Dependencies for dune-alugrid: dune-grid (>= 2.3)
-- Dependencies for dune-grid: dune-common (>= 2.4);dune-geometry (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- Dependencies for dune-geometry: dune-common (>= 2.4)
-- I could not find the latex2html command.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing tests specific to dune-common from file /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Setting dune-common_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting dune-geometry_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests specific to dune-grid from file /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/DuneGridMacros.cmake.
-- Found METIS: /opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0/include
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- checking for module 'alugrid'
-- package 'alugrid' not found
-- Could NOT find ALUGrid (missing: ALUGRID_VERSION ALUGRID_INCLUDE_PATH ALUGRID_LIB ALUGRID_LIB_PATH ALULIB_FUNCTIONAL HAVE_ALUGRID_SERIAL_H)
CMake Warning at /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/UseUG.cmake:27 (find_package):
Could not find a package configuration file provided by "UG" (requested
version 3.11.0) with any of the following names:
UGConfig.cmake
ug-config.cmake
Add the installation prefix of "UG" to CMAKE_PREFIX_PATH or set "UG_DIR" to
a directory containing one of the above files. If "UG" provides a separate
development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
/home/fomins/gitwork/hades-github-lspr-ag/dune-grid/cmake/modules/DuneGridMacros.cmake:14 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:30 (dune_project)
-- Could NOT find UG (missing: UG_DIR HAVE_UG)
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
-- Could NOT find Grape (missing: X11_FOUND OPENGL_FOUND GRAPE_INCLUDE_DIR GRAPE_LIBRARY _GRAPE_LIB_FUNCTIONAL _GRAPE_HEADER_USABLE)
-- checking for one of the modules 'psurface'
-- checking for module 'psurface'
-- package 'psurface' not found
-- Could NOT find psurface (missing: PSURFACE_INCLUDE_DIR PSURFACE_LIBRARY)
-- Could NOT find AmiraMesh (missing: AMIRAMESH_INCLUDE_DIR AMIRAMESH_LIBRARY)
-- Setting dune-grid_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-grid
-- Setting dune-grid_LIBRARIES=dunegrid
-- Performing tests specific to dune-alugrid from file /home/fomins/gitwork/hades-github-lspr-ag/dune-alugrid/cmake/modules/DuneAlugridMacros.cmake.
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find SIONlib (missing: SIONLIB_INCLUDE_DIR SIONLIB_LIBRARY SIONLIB_HEADER_USABLE SIONLIB_LIB_WORKS SIONLIB_LIB_SIONSER_WORKS)
-- Could NOT find DLMalloc (missing: DLMALLOC_INCLUDE_DIR DLMALLOC_SOURCE_USABLE)
-- Could NOT find PTScotch (missing: PTSCOTCH_INCLUDE_DIR PTSCOTCH_LIBRARY PTSCOTCHERR_LIBRARY)
Zoltan Dir: ZOLTAN_INCLUDE_DIR-NOTFOUND
-- Could NOT find ZOLTAN (missing: ZOLTAN_INCLUDE_DIR ZOLTAN_LIBRARY ZOLTAN_HEADER_USABLE)
CMake Warning (dev) at /home/fomins/gitwork/hades-github-lspr-ag/dune-alugrid/cmake/modules/DuneAlugridMacros.cmake:49 (message):
TODO: Improve module test.
Call Stack (most recent call first):
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:30 (dune_project)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Setting dune-alugrid_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-alugrid
-- Setting dune-alugrid_LIBRARIES=dunealugrid
-- Performing tests specific to dune-localfunctions from file /home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions/cmake/modules/DuneLocalfunctionsMacros.cmake.
-- Setting dune-localfunctions_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-localfunctions
-- Performing tests specific to dune-istl from file /home/fomins/gitwork/hades-github-lspr-ag/dune-istl/cmake/modules/DuneIstlMacros.cmake.
-- Boost version: 1.58.0
-- Boost version: 1.58.0
-- Skipping check for Boost::FUSION as Boost is not available.
-- Found METIS: /opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0/include
-- Could NOT find SuperLU (missing: SUPERLU_INCLUDE_DIR SUPERLU_LIBRARY)
CMake Warning at /home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/FindUMFPack.cmake:32 (message):
UMFPack requires AMD (approximate minimum degree ordering) which was not
found, skipping the test.
Call Stack (most recent call first):
/home/fomins/gitwork/hades-github-lspr-ag/dune-istl/cmake/modules/DuneIstlMacros.cmake:8 (find_package)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:512 (include)
/home/fomins/gitwork/hades-github-lspr-ag/dune-common/cmake/modules/DuneMacros.cmake:640 (dune_process_dependency_macros)
CMakeLists.txt:30 (dune_project)
-- Setting dune-istl_INCLUDE_DIRS=/home/fomins/gitwork/hades-github-lspr-ag/dune-istl
-- Boost version: 1.58.0
-- Adding custom target for config.h generation
--
-- The following features have been enabled:
* Experimental grid extensions , Enables additional grid features.
-- The following OPTIONAL packages have been found:
* PkgConfig
* LAPACK
* Inkscape
* MPI
* METIS
* ParMETIS
* Threads
* Boost
-- The following REQUIRED packages have been found:
* dune-common
* dune-geometry
* dune-grid
* dune-istl
* dune-localfunctions
* dune-alugrid
* BLAS
-- The following OPTIONAL packages have not been found:
* LATEX
* UnixCommands
* Doxygen
* GMP
* ALUGrid
* Alberta
* UG (required version >= 3.11.0)
* X11
* OpenGL
* Grape
* Psurface
* AmiraMesh
* ZLIB
* SIONlib
* DLMalloc
* PTScotch
* ZOLTAN
* BoostFusion
* SuperLU
* UMFPack
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fomins/gitwork/hades-github-lspr-ag/hades/build-cmake
--- calling make for hades ---
build directory: build-cmake
cmake --build . --
Linking CXX executable hades3ddgfd
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `__static_initialization_and_destruction_0(int, int)':
hades3ddgfd.cc:(.text+0x8454): undefined reference to `boost::system::generic_category()'
hades3ddgfd.cc:(.text+0x8460): undefined reference to `boost::system::generic_category()'
hades3ddgfd.cc:(.text+0x846c): undefined reference to `boost::system::system_category()'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::value_semantic_codecvt_helper<char>::value_semantic_codecvt_helper()':
hades3ddgfd.cc:(.text._ZN5boost15program_options29value_semantic_codecvt_helperIcEC2Ev[_ZN5boost15program_options29value_semantic_codecvt_helperIcEC5Ev]+0x1f): undefined reference to `vtable for boost::program_options::value_semantic_codecvt_helper<char>'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::value_semantic_codecvt_helper<char>::~value_semantic_codecvt_helper()':
hades3ddgfd.cc:(.text._ZN5boost15program_options29value_semantic_codecvt_helperIcED2Ev[_ZN5boost15program_options29value_semantic_codecvt_helperIcED5Ev]+0x13): undefined reference to `vtable for boost::program_options::value_semantic_codecvt_helper<char>'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::variables_map::operator[](std::string const&) const':
hades3ddgfd.cc:(.text._ZNK5boost15program_options13variables_mapixERKSs[_ZNK5boost15program_options13variables_mapixERKSs]+0x1f): undefined reference to `boost::program_options::abstract_variables_map::operator[](std::string const&) const'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `Hades3d::handleCmdLineParameter(int, char**, Hades3d::Emparam*, std::string&)':
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x3a): undefined reference to `boost::program_options::options_description::m_default_line_length'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x45): undefined reference to `boost::program_options::options_description::m_default_line_length'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x8a): undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0xbf): undefined reference to `boost::program_options::options_description::add_options()'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0xdf): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0xf1): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x106): undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x10c): undefined reference to `boost::program_options::options_description::m_default_line_length'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x116): undefined reference to `boost::program_options::options_description::m_default_line_length'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x127): undefined reference to `boost::program_options::options_description::options_description(unsigned int, unsigned int)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x140): undefined reference to `boost::program_options::options_description::add(boost::program_options::options_description const&)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x14f): undefined reference to `boost::program_options::variables_map::variables_map()'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x1af): undefined reference to `boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x1dc): undefined reference to `boost::program_options::notify(boost::program_options::variables_map&)'
hades3ddgfd.cc:(.text._ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs[_ZN7Hades3d22handleCmdLineParameterEiPPcPNS_7EmparamERSs]+0x25f): undefined reference to `boost::program_options::operator<<(std::ostream&, boost::program_options::options_description const&)'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*)':
hades3ddgfd.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x76): undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector<std::string, std::allocator<std::string> > const&)'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::basic_command_line_parser<char>::options(boost::program_options::options_description const&)':
hades3ddgfd.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE7optionsERKNS0_19options_descriptionE[_ZN5boost15program_options25basic_command_line_parserIcE7optionsERKNS0_19options_descriptionE]+0x1f): undefined reference to `boost::program_options::detail::cmdline::set_options_description(boost::program_options::options_description const&)'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::basic_command_line_parser<char>::style(int)':
hades3ddgfd.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE5styleEi[_ZN5boost15program_options25basic_command_line_parserIcE5styleEi]+0x1c): undefined reference to `boost::program_options::detail::cmdline::style(int)'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::basic_command_line_parser<char>::extra_parser(boost::function1<std::pair<std::string, std::string>, std::string const&>)':
hades3ddgfd.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_9function1ISt4pairISsSsERKSsEE[_ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_9function1ISt4pairISsSsERKSsEE]+0x33): undefined reference to `boost::program_options::detail::cmdline::set_additional_parser(boost::function1<std::pair<std::string, std::string>, std::string const&>)'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::basic_command_line_parser<char>::run()':
hades3ddgfd.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE3runEv[_ZN5boost15program_options25basic_command_line_parserIcE3runEv]+0x19): undefined reference to `boost::program_options::detail::cmdline::get_canonical_option_prefix()'
hades3ddgfd.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE3runEv[_ZN5boost15program_options25basic_command_line_parserIcE3runEv]+0x45): undefined reference to `boost::program_options::detail::cmdline::run()'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `std::vector<std::string, std::allocator<std::string> > boost::program_options::to_internal<std::string>(std::vector<std::string, std::allocator<std::string> > const&)':
hades3ddgfd.cc:(.text._ZN5boost15program_options11to_internalISsEESt6vectorISsSaISsEERKS2_IT_SaIS5_EE[_ZN5boost15program_options11to_internalISsEESt6vectorISsSaISsEERKS2_IT_SaIS5_EE]+0x46): undefined reference to `boost::program_options::to_internal(std::string const&)'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::date_time::month_formatter<boost::gregorian::greg_month, boost::date_time::simple_format<char>, char>::format_month(boost::gregorian::greg_month const&, std::ostream&)':
hades3ddgfd.cc:(.text._ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_13simple_formatIcEEcE12format_monthERKS3_RSo[_ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_13simple_formatIcEEcE12format_monthERKS3_RSo]+0x33): undefined reference to `boost::gregorian::greg_month::as_short_string() const'
hades3ddgfd.cc:(.text._ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_13simple_formatIcEEcE12format_monthERKS3_RSo[_ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_13simple_formatIcEEcE12format_monthERKS3_RSo]+0x56): undefined reference to `boost::gregorian::greg_month::as_long_string() const'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o:(.rodata._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o:(.rodata._ZTIN5boost15program_options11typed_valueISscEE[_ZTIN5boost15program_options11typed_valueISscEE]+0x18): undefined reference to `typeinfo for boost::program_options::value_semantic_codecvt_helper<char>'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::variables_map::~variables_map()':
hades3ddgfd.cc:(.text._ZN5boost15program_options13variables_mapD2Ev[_ZN5boost15program_options13variables_mapD5Ev]+0x13): undefined reference to `vtable for boost::program_options::variables_map'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::typed_value<std::string, char>::name() const':
hades3ddgfd.cc:(.text._ZNK5boost15program_options11typed_valueISscE4nameEv[_ZNK5boost15program_options11typed_valueISscE4nameEv]+0x32): undefined reference to `boost::program_options::arg'
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o: In function `boost::program_options::typed_value<std::string, char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&) const':
hades3ddgfd.cc:(.text._ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE[_ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE]+0x7a): undefined reference to `boost::program_options::validate(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, std::string*, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [hades/3ddgfd/hades3ddgfd] Error 1
make[1]: *** [hades/3ddgfd/CMakeFiles/hades3ddgfd.dir/all] Error 2
make: *** [all] Error 2
--- Failed to build hades ---
Terminating dunecontrol due to previous errors!
-------------- next part --------------
#################################################################
## HADES3D. All rights reserved for and by Benedikt Oswald, 2002-
#################################################################
# set up project
project("hades" C CXX)
#circumvent not building docs
set(BUILD_DOCS 1)
# general stuff
cmake_minimum_required(VERSION 2.8.6)
# guess build tree of dune-common
if(NOT (dune-common_DIR OR dune-common_ROOT OR
"${CMAKE_PREFIX_PATH}" MATCHES ".*dune-common.*"))
string(REPLACE ${CMAKE_PROJECT_NAME} dune-common dune-common_DIR
${PROJECT_BINARY_DIR})
endif()
#find dune-common and set the module path
find_package(dune-common REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH}
"${PROJECT_SOURCE_DIR}/cmake/modules")
#include the dune macros
include(DuneMacros)
# start a dune project with information from dune.module
dune_project()
add_subdirectory("cmake/modules")
########################################################
# retrieve HADES repository information through querying
########################################################
execute_process (
COMMAND git show -s --format=%H
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE HADES_REPOSITORY_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
)
execute_process (
COMMAND git show -s --format=%cn
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE HADES_REPOSITORY_COMMITTER
OUTPUT_STRIP_TRAILING_WHITESPACE
)
execute_process (
COMMAND git show -s --format=%cd
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE HADES_REPOSITORY_COMMIT_DATE
OUTPUT_STRIP_TRAILING_WHITESPACE
)
execute_process (
COMMAND git show -s --format=%ce
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE HADES_REPOSITORY_COMMITTER_EMAIL
OUTPUT_STRIP_TRAILING_WHITESPACE
)
#########################################
## define header to pass version settings
#########################################
configure_file (
"${PROJECT_SOURCE_DIR}/version/version.hh.in"
"${PROJECT_BINARY_DIR}/version/version.hh"
)
######################################
## include search module for boost
######################################
# Avoid using deprecated boost filesystem code
set (BOOST_FILESYSTEM_NO_DEPRECATED)
set (BOOST_ERROR_CODE_HEADER_ONLY)
# search for boost
find_package(Boost)
if(Boost_FOUND)
# check for all boost libraries
# find_package(Boost COMPONENTS regex filesystem system thread date_time program_options log_setup log REQUIRED regex filesystem system thread date_time program_options log_setup log)
# find_package(Boost COMPONENTS regex filesystem system thread date_time program_options log_setup log REQUIRED regex filesystem system thread date_time program_options log_setup log)
include_directories(${Boost_INCLUDE_DIRS})
else(Boost_FOUND)
message(STATUS "HADES requires boost, and will not be compiled without it.")
endif(Boost_FOUND)
###########################################################################
## add global paths that are searched by the linker
###########################################################################
link_directories(${PROJECT_BINARY_DIR}/hadesgeo/parser)
link_directories(${PROJECT_BINARY_DIR}/hadesgeo/exporter)
#########################################
## define header to pass version settings
#########################################
configure_file (
"${PROJECT_SOURCE_DIR}/stdincl/version.hh.in"
"${PROJECT_BINARY_DIR}/stdincl/version.hh"
)
###########################################################################
## add subdirectories of the HADES3D solve family
###########################################################################
# add directory that contains the core solver executables
add_subdirectory("hades")
add_subdirectory("hadesx")
add_subdirectory("hadesgeo")
# finalize the dune project, e.g. generating config.h etc.
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
-------------- next part --------------
# objective - implement CMakeLists.txt
# author - benedikt oswald, all rights reserved, 2014.
# hades3ddgfd
##add_definitions(-DHAVE_PARALOG)
# specify the executable
add_executable(hades3ddgfd "hades3ddgfd.cc")
add_dune_mpi_flags(hades3ddgfd)
add_dune_boost_flags(hades3ddgfd)
target_link_libraries("hades3ddgfd" ${DUNE_LIBS} ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${MY_WEIRD_LIBS})
#set_property(TARGET hades3ddgfd APPEND PROPERTY COMPILE_FLAGS ${MY_WEIRD_FLAGS})
#set_property(TARGET hades3ddgfd APPEND PROPERTY LINK_FLAGS ${MY_WEIRD_LIB_PATH} )
# specify libraries
#link_libraries(${DUNE_Boost_LIBRARIES})
#include_directories(${Boost_INCLUDE_DIR})
#add_definitions(-DENABLE_BOOST)
#"-L/opt/extlib/superludist/3.3/openmpi/1.8.4/gcc/4.9.2/lib -L/opt/extlib/parmetis/4.0.3/openmpi/1.8.4/gcc/4.9.2/lib -L/opt/extlib/metis/5.1.0/gcc/4.9.2/lib"
-------------- next part --------------
#################################################################################################################
## objective - opts file for building curvilineargrid, based on Dune, with cmake
##
## history - 2014 apr 16, created
##
## usage - time ./dune-common/bin/dunecontrol --use-cmake --opts=af.debian7.lsprag.cmakebuild.minimalistic.opts all
##
##################################################################################################################
USE_CMAKE=yes
CONFIGURE_FLAGS="--enable-parallel --enable-experimental-grid-extensions CC=mpicc CXX=mpicxx"
CMAKE_PREFIX_PATH="\
/opt/extlib/boost/1.58.0/gcc/4.9.0;\
/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0;\
/opt/extlib/metis/5.1.0/gcc/4.9.0;\
"
GXX_WARNING_OPTS="-Wall -pedantic"
GXX_OPTS="-O0 -g2"
CMAKE_FLAGS="\
CXXFLAGS=\"$GXX_WARNING_OPTS $GXX_OPTS\" \
-DPARMETIS_ROOT="/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0" \
-DCMAKE_LIBRARY_PATH:RELEASE=\"/opt/extlib/boost/1.58.0/gcc/4.9.0/lib\" \
-DCMAKE_LIBRARY_PATH:DEBUG=\"/opt/extlib/boost/1.58.0/gcc/4.9.0/lib\" \
-DCMAKE_STANDARD_LIBRARIES:RELEASE=\"-lboost_system\" \
-DCMAKE_STANDARD_LIBRARIES:DEBUG=\"-lboost_system\" \
-DCMAKE_PREFIX_PATH=\"$CMAKE_PREFIX_PATH\" \
-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE \
-lboost_system \
"
# -DCXXFLAGS=\"-O2 -Wall\" \
More information about the Dune
mailing list