Dear DuMux developers,
Hope you are doing well. I'm Jianwen, a PhD student from the University of Arizona. I'm trying to install DuMux and met some errors. Would you be able to help me with the installation? The following are the relevant information. Let me know if you need more details. I appreciate it if you could help me solve this installation problem. *Operating system*: Ubuntu bash on Windows (WSL) *DuMux version*: master Obtained using git clone https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git *Dune version*: master Obtained by manually downloading from https://gitlab.dune-project.org/core *Configure and build*: cd dumux chmod +x ./dune-common/bin/dunecontrol sudo ./dune-common/bin/dunecontrol --opts=cmake.opts all *Error *see below. The whole *log file* is attached. cmake -DCMAKE_MODULE_PATH="/home/janewendu/dumux/dune-common/cmake/modules;/home/janewendu/dumux/dune-geometry/cmake/modules;/home/janewendu/dumux/dune-grid/cmake/modules;/home/janewendu/dumux/dune-istl/cmake/modules;/home/janewendu/dumux/dune-localfunctions/cmake/modules" -DCMAKE_CXX_FLAGS_RELEASE=' -fdiagnostics-color=always -fno-strict-aliasing -fstrict-overflow -fno-finite-math-only -DNDEBUG=1 -O3 -march=native -funroll-loops -g0 -Wall -Wunused -Wmissing-include-dirs -Wcast-align -Wno-missing-braces -Wmissing-field-initializers -Wno-sign-compare' -DCMAKE_CXX_FLAGS_DEBUG='-O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare' -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=' -fdiagnostics-color=always -fno-strict-aliasing -fstrict-overflow -fno-finite-math-only -DNDEBUG=1 -O3 -march=native -funroll-loops -g0 -Wall -Wunused -Wmissing-include-dirs -Wcast-align -Wno-missing-braces -Wmissing-field-initializers -Wno-sign-compare -g -ggdb -Wall' -DCMAKE_BUILD_TYPE=Release -DENABLE_HEADERCHECK=OFF -DSuiteSparse_INCLUDE_DIR=/usr/include/suitesparse -DSuiteSparse_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DUNE_PYTHON_ALLOW_GET_PIP=ON -DDUNE_ENABLE_PYTHONBINDINGS=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON "-Ddune-common_DIR=/home/janewendu/dumux/dune-common/build-cmake" "-Ddune-geometry_DIR=/home/janewendu/dumux/dune-geometry/build-cmake" "-Ddune-grid_DIR=/home/janewendu/dumux/dune-grid/build-cmake" "-Dopm-common_DIR=/usr/lib/dunecontrol/opm-common/build-cmake" "-Ddune-istl_DIR=/home/janewendu/dumux/dune-istl/build-cmake" -DCMAKE_CXX_FLAGS_RELEASE=' -fdiagnostics-color=always -fno-strict-aliasing -fstrict-overflow -fno-finite-math-only -DNDEBUG=1 -O3 -march=native -funroll-loops -g0 -Wall -Wunused -Wmissing-include-dirs -Wcast-align -Wno-missing-braces -Wmissing-field-initializers -Wno-sign-compare' -DCMAKE_CXX_FLAGS_DEBUG='-O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare' -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=' -fdiagnostics-color=always -fno-strict-aliasing -fstrict-overflow -fno-finite-math-only -DNDEBUG=1 -O3 -march=native -funroll-loops -g0 -Wall -Wunused -Wmissing-include-dirs -Wcast-align -Wno-missing-braces -Wmissing-field-initializers -Wno-sign-compare -g -ggdb -Wall' -DCMAKE_BUILD_TYPE=Release -DENABLE_HEADERCHECK=OFF -DSuiteSparse_INCLUDE_DIR=/usr/include/suitesparse -DSuiteSparse_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DUNE_PYTHON_ALLOW_GET_PIP=ON -DDUNE_ENABLE_PYTHONBINDINGS=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DDUNE_OPTS_FILE="/home/janewendu/dumux/cmake.opts" "/usr/lib/dunecontrol/opm-grid" -- Could NOT find Valgrind (missing: VALGRIND_INCLUDE_DIR VALGRIND_PROGRAM) CMake Deprecation Warning at /usr/lib/dunecontrol/opm-common/cmake/Modules/OpmInit.cmake:26 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:61 (OpmSetPolicies) -- Found MPI: TRUE (found version "3.1") -- Setting dune-common_LIBRARIES=Dune::Common -- Found TBB: using configuration from TBB_DIR=/usr/lib/x86_64-linux-gnu/cmake/TBB (found version "2021.5.0") -- Version 2.10.0 of dune-common from /home/janewendu/dumux/dune-common/build-cmake -- Setting dune-geometry_LIBRARIES=Dune::Geometry -- Version 2.10.0 of dune-geometry from /home/janewendu/dumux/dune-geometry/build-cmake -- Dependencies for dune-geometry: dune-common (>= 2.10) -- Setting dune-grid_LIBRARIES=Dune::Grid -- Version 2.9.0 of dune-uggrid from /usr/lib/x86_64-linux-gnu/cmake/dune-uggrid -- Could not find UG. It seems to be not installed. -- Version 2.10.0 of dune-grid from /home/janewendu/dumux/dune-grid/build-cmake -- Setting dune-istl_LIBRARIES=Dune::ISTL -- Found MPI: TRUE (found version "3.1") found components: C CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find SuiteSparse (missing: umfpack) (found version "5.10.1") Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /home/janewendu/dumux/dune-common/cmake/modules/FindSuiteSparse.cmake:211 (find_package_handle_standard_args) /usr/lib/dunecontrol/opm-common/cmake/Modules/OpmFind.cmake:142 (find_package) /usr/lib/dunecontrol/opm-common/cmake/Modules/OpmPackage.cmake:192 (find_and_append_package_to) /usr/lib/dunecontrol/opm-common/cmake/Modules/OpmPackage.cmake:87 (find_package_deps) /usr/lib/dunecontrol/opm-common/cmake/Modules/Finddune-istl.cmake:14 (find_opm_package) /usr/lib/dunecontrol/opm-common/cmake/Modules/OpmFind.cmake:142 (find_package) /usr/lib/dunecontrol/opm-common/cmake/Modules/OpmPackage.cmake:192 (find_and_append_package_to) opm-grid-prereqs.cmake:32 (find_package_deps) CMakeLists.txt:70 (include) -- Configuring incomplete, errors occurred! See also "/usr/lib/dunecontrol/opm-grid/build-cmake/CMakeFiles/CMakeOutput.log". See also "/usr/lib/dunecontrol/opm-grid/build-cmake/CMakeFiles/CMakeError.log". --- Failed to build opm-grid --- Terminating dunecontrol due to previous errors! *Tried to solve by*: Adding the following to the cmake.opts to specifying the paths to the SuiteSparse libraries and include files, *but it doesn't help with solving the issue.* -DSuiteSparse_INCLUDE_DIR=/usr/include/suitesparse -DSuiteSparse_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu Many thanks for taking the time to look into this problem. Looking forward to your reply. Sincerely, Jianwen -- Ph.D. student Hydrology and Atmospheric Sciences University of Arizona [email protected]
log_file.docx
Description: MS-Word 2007 document
_______________________________________________ DuMux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
