Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
dorie
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • dorie
  • dorie
  • Issues
  • #105

Closed
Open
Opened Sep 05, 2018 by Santiago Ospina De Los Ríos@sospinarMaintainer

Allow mini files in unit tests

Summary

In past issues, we agreed that unit tests and system tests have to be done separately. Also agreed that unit tests have to be done in the folder dune/dorie/test and system tests in test/. However, if one wants to add a unit test with a mini file in the folder dune/dorie/test CMake complains because can't configure them.

Although I am not completely sure what is the problem, I found out that it is solved if CMake includes doc/ before dune/.

Steps to reproduce

Just adding a metaini test in the folder dune/dorie/test:

dorie_add_metaini_test(UNIT_TEST
	SOURCE test-simulation-dummy-transport.cc
	BASENAME test-simulation-dummy-transport
	CREATED_TARGETS test-simulation-dummy-transport
	METAINI test-simulation-dummy-transport.mini.in
	SCRIPT
)

add_custom_target(test-simulation-dummy-transport
	COMMAND ctest --output-on-failure --tests-regex ^.+test-simulation-dummy-transport_.+$
)

What is the current bug behaviour?

Falure of configuration.

What is the expected correct behaviour?

Succes on configuration of Dorie and minifilies.

Relevant logs, screenshots, files...?

Expand to see logs
----- using default flags $CMAKE_FLAGS from /home/saospina/Codes/DUNE_SRC/install_debug.opts -----
--- going to build dorie  ---
--- calling all for dorie ---
--- calling vcsetup for dorie ---
--- calling configure for dorie ---
WARNING: could not find module 'dune-python',
       module is also unknown to pkg-config.
       Maybe you need to adjust PKG_CONFIG_PATH!
       'dune-python' is suggested by dune-alugrid
Skipping 'dune-python'!
WARNING: could not find module 'dune-corepy',
       module is also unknown to pkg-config.
       Maybe you need to adjust PKG_CONFIG_PATH!
       'dune-corepy' is suggested by dune-alugrid
Skipping 'dune-corepy'!
cmake   -DDUNE_BUILD_DIRECTORY_ROOT_PATH='/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug/'  "-Ddune-common_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-common" "-Ddune-geometry_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-geometry" "-Ddune-uggrid_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-uggrid" "-Ddune-grid_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-grid" "-Ddune-localfunctions_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-localfunctions" "-Ddune-istl_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-istl" "-Ddune-typetree_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-typetree" "-Ddune-functions_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-functions" "-Ddune-alugrid_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-alugrid" "-Ddune-pdelab_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-pdelab" "-Ddune-randomfield_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-randomfield" "-Ddune-testtools_DIR=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-testtools" -DCMAKE_BUILD_TYPE=Debug -DDUNE_PYTHON_VIRTUALENV_SETUP=1 -DDUNE_PYTHON_ALLOW_GET_PIP=1 -DDUNE_PYTHON_INSTALL_EDITABLE=1 "/home/saospina/Codes/DUNE_SRC/dorie"
-- The CXX compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Dependencies for dorie: dune-pdelab;dune-uggrid;dune-randomfield
-- Suggestions for dorie: dune-testtools
-- Dependencies for dune-pdelab: dune-grid (>= 2.6);dune-localfunctions (>= 2.6);dune-istl (>= 2.6);dune-typetree (>= 2.6);dune-functions (>= 2.6)
-- Suggestions for dune-pdelab: dune-alugrid
-- Dependencies for dune-uggrid: dune-common
-- Dependencies for dune-randomfield: dune-common
-- Suggestions for dune-randomfield: dune-grid;dune-pdelab
-- Dependencies for dune-testtools: dune-common
-- Suggestions for dune-testtools: dune-grid;dune-alugrid
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.6)
-- Dependencies for dune-istl: dune-common (>= 2.6)
-- Dependencies for dune-typetree: dune-common (>= 2.6)
-- Dependencies for dune-functions: dune-geometry (>= 2.6);dune-localfunctions (>= 2.6);dune-grid (>= 2.6);dune-istl (>= 2.6);dune-typetree
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-alugrid: dune-grid (>= 2.5)
-- Suggestions for dune-alugrid: dune-python;dune-corepy
-- Dependencies for dune-pdelab: dune-grid (>= 2.6);dune-localfunctions (>= 2.6);dune-istl (>= 2.6);dune-typetree (>= 2.6);dune-functions (>= 2.6)
-- Suggestions for dune-pdelab: dune-alugrid
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.6)
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-istl: dune-common (>= 2.6)
-- Dependencies for dune-typetree: dune-common (>= 2.6)
-- Dependencies for dune-alugrid: dune-grid (>= 2.5)
-- Suggestions for dune-alugrid: dune-python;dune-corepy
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.6)
-- Dependencies for dune-istl: dune-common (>= 2.6)
-- Dependencies for dune-typetree: dune-common (>= 2.6)
-- Dependencies for dune-functions: dune-geometry (>= 2.6);dune-localfunctions (>= 2.6);dune-grid (>= 2.6);dune-istl (>= 2.6);dune-typetree
-- Could NOT find dune-python (missing: dune-python_DIR)
-- No full CMake package configuration support available. Falling back to pkg-config.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'dune-python '
--   No package 'dune-python' found
-- Could NOT find dune-corepy (missing: dune-corepy_DIR)
-- No full CMake package configuration support available. Falling back to pkg-config.
-- Checking for module 'dune-corepy '
--   No package 'dune-corepy' found
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-uggrid: dune-common
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- Dependencies for dune-uggrid: dune-common
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.6)
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-istl: dune-common (>= 2.6)
-- Dependencies for dune-typetree: dune-common (>= 2.6)
-- Could NOT find dune-python (missing: dune-python_DIR)
-- No full CMake package configuration support available. Falling back to pkg-config.
-- Checking for module 'dune-python '
--   No package 'dune-python' found
-- Could NOT find dune-corepy (missing: dune-corepy_DIR)
-- No full CMake package configuration support available. Falling back to pkg-config.
-- Checking for module 'dune-corepy '
--   No package 'dune-corepy' found
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-uggrid: dune-common
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- The Fortran compiler identification is GNU 7.3.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Performing Test cxx_std_flag_17
-- Performing Test cxx_std_flag_17 - Success
-- Performing Test compiler_supports_cxx17
-- Performing Test compiler_supports_cxx17 - Success
-- Performing Test HAS_ATTRIBUTE_UNUSED
-- Performing Test HAS_ATTRIBUTE_UNUSED - Success
-- Performing Test HAS_ATTRIBUTE_DEPRECATED
-- Performing Test HAS_ATTRIBUTE_DEPRECATED - Success
-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG
-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG - Success
-- Performing Test HAVE_IS_INDEXABLE_SUPPORT
-- Performing Test HAVE_IS_INDEXABLE_SUPPORT - Success
-- Performing Test DUNE_HAVE_CXX_CLASS_TEMPLATE_ARGUMENT_DEDUCTION
-- Performing Test DUNE_HAVE_CXX_CLASS_TEMPLATE_ARGUMENT_DEDUCTION - Success
-- Performing Test DUNE_HAVE_CXX_OPTIONAL
-- Performing Test DUNE_HAVE_CXX_OPTIONAL - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Performing Test STDTHREAD_WORKS
-- Performing Test STDTHREAD_WORKS - Success
-- Performing Test DUNE_SUPPORTS_CXX_THROW_IN_CONSTEXPR
-- Performing Test DUNE_SUPPORTS_CXX_THROW_IN_CONSTEXPR - Success
-- Looking for C++ include experimental/type_traits
-- Looking for C++ include experimental/type_traits - found
-- Looking for std::make_unique
-- Looking for std::make_unique - found
-- Looking for std::move>
-- Looking for std::move> - found
-- Looking for std::apply,std::tuple>
-- Looking for std::apply,std::tuple> - found
-- Looking for std::experimental::make_array
-- Looking for std::experimental::make_array - found
-- Looking for std::move>
-- Looking for std::move> - found
-- Performing Test HAVE_CXA_DEMANGLE
-- Performing Test HAVE_CXA_DEMANGLE - Success
-- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1") 
-- Found MPI_Fortran: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempif08.so (found version "3.1") 
-- Found MPI: TRUE (found version "3.1")  
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
-- Found LATEX: /usr/bin/latex   
-- Found UnixCommands: /bin/bash  
-- I could not find the biber command.
-- Found Sphinx: /usr/bin/sphinx-build  
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen missing components:  dot
-- Searching for macro file 'DuneCommonMacros' for module 'dune-common'.
-- Performing tests specific to dune-common from file /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneCommonMacros.cmake.
CMake Warning (dev) at /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneStreams.cmake:18 (elseif):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

Quoted variables like "info" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneCommonMacros.cmake:10 (dune_set_minimal_debug_level) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros) CMakeLists.txt:39 (dune_project) This warning is for project developers. Use -Wno-dev to suppress it. -- Set Minimal Debug Level to 4

-- Looking for Fortran dgemm -- Looking for Fortran dgemm - found -- A library with BLAS API found. -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- A library with LAPACK API found. -- Looking for C++ include gmpxx.h -- Looking for C++ include gmpxx.h - not found -- Could NOT find GMP (missing: GMPXX_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS) -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Performing Test HAVE_MPROTECT -- Performing Test HAVE_MPROTECT - Success -- Library dir: TBB_LIBRARY_DIR-NOTFOUND -- Performing Test TBB_COMPILE_TEST -- Performing Test TBB_COMPILE_TEST - Failed -- Could NOT find TBB (missing: TBB_INCLUDE_DIRS TBB_LIBRARIES TBB_COMPILE_TEST) -- Could NOT find Vc (missing: Vc_DIR) -- Found PythonInterp: /usr/bin/python3.6 (found version "3.6.5") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.5") -- Found pip_/usr/bin/python3.6: TRUE
-- Using existing virtualenv in /home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-common/dune-env -- Found pip_/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug//dune-common/dune-env/bin/python: TRUE
-- Setting dune-common_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-common -- Setting dune-common_LIBRARIES=dunecommon -- Searching for macro file 'DuneGeometryMacros' for module 'dune-geometry'. -- No module specific tests perfomed for module 'dune-geometry' because macro file 'DuneGeometryMacros.cmake' not found in /home/saospina/Codes/DUNE_SRC/dorie/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-testtools/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-alugrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-localfunctions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-geometry/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules. -- Setting dune-geometry_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-geometry -- Setting dune-geometry_LIBRARIES=dunegeometry -- Searching for macro file 'DuneUggridMacros' for module 'dune-uggrid'. -- Performing tests specific to dune-uggrid from file /home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules/DuneUggridMacros.cmake. -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Setting dune-uggrid_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-uggrid -- Setting dune-uggrid_LIBRARIES=ugL;ugS2;ugS3 -- Searching for macro file 'DuneGridMacros' for module 'dune-grid'. -- Performing tests specific to dune-grid from file /home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules/DuneGridMacros.cmake. -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for metis.h -- Looking for metis.h - not found -- Could NOT find METIS (missing: METIS_INCLUDE_DIR METIS_LIBRARY HAVE_METIS_PARTGRAPHKWAY) -- Looking for parmetis.h -- Looking for parmetis.h - not found CMake Warning at /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/FindParMETIS.cmake:82 (message): metis.h is missing, you have to copy it manually next to parmetis.h Call Stack (most recent call first): /home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules/DuneGridMacros.cmake:15 (find_package) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros) CMakeLists.txt:39 (dune_project)

-- Could NOT find ParMETIS (missing: PARMETIS_INCLUDE_DIR PARMETIS_LIBRARY HAVE_PARMETIS) -- Checking for one of the modules 'psurface' -- Checking for module 'psurface' -- No package 'psurface' 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/saospina/Codes/DUNE_SRC/dune-grid -- Setting dune-grid_LIBRARIES=dunegrid -- Searching for macro file 'DuneCorepyMacros' for module 'dune-corepy'. -- No module specific tests perfomed for module 'dune-corepy' because macro file 'DuneCorepyMacros.cmake' not found in /home/saospina/Codes/DUNE_SRC/dorie/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-testtools/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-alugrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-localfunctions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-geometry/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules. -- Searching for macro file 'DunePythonMacros' for module 'dune-python'. -- No module specific tests perfomed for module 'dune-python' because macro file 'DunePythonMacros.cmake' not found in /home/saospina/Codes/DUNE_SRC/dorie/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-testtools/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-alugrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-localfunctions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-geometry/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules. -- Searching for macro file 'DuneTypetreeMacros' for module 'dune-typetree'. -- Performing tests specific to dune-typetree from file /home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules/DuneTypetreeMacros.cmake. -- Setting dune-typetree_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-typetree -- Searching for macro file 'DuneIstlMacros' for module 'dune-istl'. -- Performing tests specific to dune-istl from file /home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/DuneIstlMacros.cmake. -- Could NOT find METIS (missing: METIS_INCLUDE_DIR METIS_LIBRARY HAVE_METIS_PARTGRAPHKWAY) CMake Warning at /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/FindParMETIS.cmake:82 (message): metis.h is missing, you have to copy it manually next to parmetis.h Call Stack (most recent call first): /home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/DuneIstlMacros.cmake:7 (find_package) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros) CMakeLists.txt:39 (dune_project)

-- Could NOT find ParMETIS (missing: PARMETIS_INCLUDE_DIR PARMETIS_LIBRARY HAVE_PARMETIS) -- Performing Test SUPERLU_MIN_VERSION_4 -- Performing Test SUPERLU_MIN_VERSION_4 - Success -- Performing Test SUPERLU_MIN_VERSION_4_3 -- Performing Test SUPERLU_MIN_VERSION_4_3 - Success -- Performing Test SUPERLU_MIN_VERSION_5 -- Performing Test SUPERLU_MIN_VERSION_5 - Success -- Looking for include file slu_sdefs.h -- Looking for include file slu_sdefs.h - found -- Looking for include file slu_cdefs.h -- Looking for include file slu_cdefs.h - found -- Looking for include file slu_zdefs.h -- Looking for include file slu_zdefs.h - found -- Found SuperLU: TRUE
CMake Deprecation Warning at /usr/share/cmake-3.10/Modules/FeatureSummary.cmake:671 (message): SET_PACKAGE_INFO is deprecated. Use SET_PACKAGE_PROPERTIES instead. Call Stack (most recent call first): /home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/FindSuperLU.cmake:171 (set_package_info) /home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/DuneIstlMacros.cmake:9 (find_package) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros) CMakeLists.txt:39 (dune_project)

-- Could NOT find ARPACK (missing: ARPACK_LIBRARY) -- Could NOT find ARPACKPP (missing: ARPACK_FOUND ARPACKPP_INCLUDE_DIR) -- Performing Test SUITESPARSE_MIN_VERSION_4_3 -- Performing Test SUITESPARSE_MIN_VERSION_4_3 - Success -- Found SuiteSparse: TRUE found components: LDL SPQR UMFPACK -- Setting dune-istl_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-istl -- Searching for macro file 'DuneLocalfunctionsMacros' for module 'dune-localfunctions'. -- No module specific tests perfomed for module 'dune-localfunctions' because macro file 'DuneLocalfunctionsMacros.cmake' not found in /home/saospina/Codes/DUNE_SRC/dorie/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-testtools/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-alugrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-localfunctions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-geometry/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules. -- Setting dune-localfunctions_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-localfunctions -- Searching for macro file 'DuneFunctionsMacros' for module 'dune-functions'. -- Performing tests specific to dune-functions from file /home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules/DuneFunctionsMacros.cmake. -- Setting dune-functions_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-functions -- Searching for macro file 'DuneAlugridMacros' for module 'dune-alugrid'. -- Performing tests specific to dune-alugrid from file /home/saospina/Codes/DUNE_SRC/dune-alugrid/cmake/modules/DuneAlugridMacros.cmake. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Looking for include file sion.h -- Looking for include file sion.h - not found -- 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_INCLUDE) -- Could NOT find PTScotch (missing: PTSCOTCH_INCLUDE_DIR PTSCOTCH_LIBRARY SCOTCH_LIBRARY PTSCOTCHERR_LIBRARY) -- Could NOT find METIS (missing: METIS_INCLUDE_DIR METIS_LIBRARY HAVE_METIS_PARTGRAPHKWAY) -- Performing Test DUNE_CV_PTHREAD_TLS_COMPILES -- Performing Test DUNE_CV_PTHREAD_TLS_COMPILES - Failed -- Setting dune-alugrid_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-alugrid -- Setting dune-alugrid_LIBRARIES=dunealugrid -- Searching for macro file 'DunePdelabMacros' for module 'dune-pdelab'. -- Performing tests specific to dune-pdelab from file /home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules/DunePdelabMacros.cmake. -- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH. (missing: PETSC_INCLUDES PETSC_LIBRARIES PETSC_EXECUTABLE_RUNS) CMake Warning at /home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules/UseEigen.cmake:1 (find_package): By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one.

Could not find a package configuration file provided by "Eigen3" with any of the following names:

Eigen3Config.cmake
eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules/DunePdelabMacros.cmake:2 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros) CMakeLists.txt:39 (dune_project)

-- Setting dune-pdelab_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-pdelab -- Setting dune-pdelab_LIBRARIES=dunepdelab -- Searching for macro file 'DuneTesttoolsMacros' for module 'dune-testtools'. -- Performing tests specific to dune-testtools from file /home/saospina/Codes/DUNE_SRC/dune-testtools/cmake/modules/DuneTesttoolsMacros.cmake. -- Setting dune-testtools_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-testtools -- Searching for macro file 'DuneRandomfieldMacros' for module 'dune-randomfield'. -- Performing tests specific to dune-randomfield from file /home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules/DuneRandomfieldMacros.cmake. -- Found FFTW3: /usr/lib/x86_64-linux-gnu/libfftw3_mpi.so
-- HDF5: Using hdf5 compiler wrapper to determine C configuration -- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.0.1")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34") -- Found GSL: /usr/include (found version "2.4") -- Setting dune-randomfield_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-randomfield -- Searching for macro file 'DorieMacros' for module 'dorie'. -- Performing tests specific to dorie from file /home/saospina/Codes/DUNE_SRC/dorie/cmake/modules/DorieMacros.cmake. -- Found FFTW library: /usr/lib/x86_64-linux-gnu/libfftw3l.so;/usr/lib/x86_64-linux-gnu/libfftw3_mpi.so;/usr/lib/x86_64-linux-gnu/libfftw3.so -- Found FFTW: /usr/include
CMake Deprecation Warning at /usr/share/cmake-3.10/Modules/FeatureSummary.cmake:671 (message): SET_PACKAGE_INFO is deprecated. Use SET_PACKAGE_PROPERTIES instead. Call Stack (most recent call first): /home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/FindSuperLU.cmake:171 (set_package_info) cmake/modules/DorieMacros.cmake:9 (FIND_PACKAGE) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros) CMakeLists.txt:39 (dune_project)

-- Could NOT find METIS (missing: METIS_INCLUDE_DIR METIS_LIBRARY HAVE_METIS_PARTGRAPHKWAY) CMake Warning at /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/FindParMETIS.cmake:82 (message): metis.h is missing, you have to copy it manually next to parmetis.h Call Stack (most recent call first): cmake/modules/DorieMacros.cmake:14 (FIND_PACKAGE) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include) /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros) CMakeLists.txt:39 (dune_project)

-- Could NOT find ParMETIS (missing: PARMETIS_INCLUDE_DIR PARMETIS_LIBRARY HAVE_PARMETIS) -- DUNE Libraries: dunepdelab;dunealugrid;dunegrid;ugS3;ugS2;ugL;dunegeometry;dunecommon;/usr/lib/x86_64-linux-gnu/libfftw3l.so;/usr/lib/x86_64-linux-gnu/libfftw3_mpi.so;/usr/lib/x86_64-linux-gnu/libfftw3.so;/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;yaml-cpp CMake Error at /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneExecuteProcess.cmake:44 (message): Error extracting static info from /home/saospina/Codes/DUNE_INSTALL/Debug/dorie/dune/dorie/test/test-simulation-dummy-transport.mini.in

Run command:/home/saospina/Codes/DUNE_INSTALL/Debug/dorie/run-in-dune-env;dune_extract_static.py;--ini;/home/saospina/Codes/DUNE_INSTALL/Debug/dorie/dune/dorie/test/test-simulation-dummy-transport.mini.in;WORKING_DIRECTORY;/home/saospina/Codes/DUNE_INSTALL/Debug/dorie/dune/dorie/test

Return code: 1

Detailed log:

Traceback (most recent call last):

File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/bin/dune_extract_static.py", line 7, in <module>
  exec(compile(f.read(), __file__, 'exec'))
File "/home/saospina/Codes/DUNE_SRC/dune-testtools/python/scripts/dune_extract_static.py", line 26, in <module>
  static = extract_static_info(args["ini"], args['section'], add_guards=True)
File "/home/saospina/Codes/DUNE_SRC/dune-testtools/python/dune/testtools/static_metaini.py", line 11, in extract_static_info
  static_section = expand_meta_ini(metaini, whiteFilter=(section, "__exec_suffix", "__cmake_guards"), addNameKey=False)
File "/home/saospina/Codes/DUNE_SRC/dune-testtools/python/dune/testtools/metaini.py", line 161, in expand_meta_ini
  parse, cmds = parse_ini_file(filename, assignment=assignment, commentChar=commentChar, returnCommands=True)
File "/home/saospina/Codes/DUNE_SRC/dune-testtools/python/dune/testtools/parser.py", line 116, in parse_ini_file
  parser.apply(line)
File "/home/saospina/Codes/DUNE_SRC/dune-testtools/python/dune/testtools/parser.py", line 104, in apply
  self._parser.parseString(line)
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 1622, in parseString
  loc, tokens = self._parse( instring, 0 )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache
  loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 3378, in parseImpl
  loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache
  loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 3983, in parseImpl
  loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache
  loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl
  ret = e._parse( instring, loc, doActions )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache
  loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 3395, in parseImpl
  loc, exprtokens = e._parse( instring, loc, doActions )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 1405, in _parseNoCache
  tokens = fn( instring, tokensStart, retTokens )
File "/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/lib/python3.6/site-packages/pyparsing.py", line 1049, in wrapper
  ret = func(*args[limit[0]:])
File "/home/saospina/Codes/DUNE_SRC/dune-testtools/python/dune/testtools/parser.py", line 96, in processInclude
  incfile = open(os.path.join(self._path, tokens[0]), "r")

FileNotFoundError: [Errno 2] No such file or directory: '/home/saospina/Codes/DUNE_INSTALL/Debug/dorie/doc/default_files/config.ini'

Call Stack (most recent call first): /home/saospina/Codes/DUNE_SRC/dune-testtools/cmake/modules/DuneSystemtests.cmake:160 (dune_execute_process) /home/saospina/Codes/DUNE_SRC/dune-testtools/cmake/modules/DuneSystemtests.cmake:376 (add_static_variants) cmake/modules/DorieTesting.cmake:165 (dune_add_system_test) dune/dorie/test/CMakeLists.txt:3 (dorie_add_metaini_test)

-- Configuring incomplete, errors occurred! See also "/home/saospina/Codes/DUNE_INSTALL/Debug/dorie/CMakeFiles/CMakeOutput.log". See also "/home/saospina/Codes/DUNE_INSTALL/Debug/dorie/CMakeFiles/CMakeError.log". --- Failed to build dorie --- Terminating dunecontrol due to previous errors! [Finished in 12.0s with exit code 1] [shell_cmd: /home/saospina/Codes/DUNE_SRC/dune-common/bin/dunecontrol --opts=/home/saospina/Codes/DUNE_SRC/install_debug.opts --builddir=/home/saospina/Codes/DUNE_SRC/../DUNE_INSTALL/Debug/ --only=dorie all] [dir: /home/saospina/Codes/DUNE_SRC] [path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]

Ideas how to fix this?

As I said, just calling add_subdirectory("dune") after add_subdirectory("doc") in CMakeLists.txt

Edited Sep 06, 2018 by Santiago Ospina De Los Ríos
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dorie/dorie#105