[Dune] Dune-grid installation problem

Markus Blatt markus at dr-blatt.de
Thu Jun 29 11:06:30 CEST 2017


Dear Claudia,

did you solve this?

On Thu, Jun 22, 2017 at 05:37:12PM +0200, claudia.bortolussi at uzh.ch wrote:
> dear all,
> 
> I'm trying to install dune-grid but I get this error:
> 
> 
> cborto at ws300003:~/Downloads/DUNE$ ./dune-common-2.5.0/bin/dunecontrol --only=dune-grid all
> --- going to build dune-grid  ---
> --- calling all for dune-grid ---
> --- calling vcsetup for dune-grid ---
> --- calling configure for dune-grid ---
> find: `dune': No such file or directory
>  cmake -DCMAKE_MODULE_PATH=""  "-Ddune-common_DIR=/home/cborto/Downloads/DUNE/dune-common-2.5.0/build-cmake" "-Ddune-geometry_DIR=/home/cborto/Downloads/DUNE/dune-geometry-2.5.0/build-cmake" "-Ddune-uggrid_DIR=/home/cborto/Downloads/DUNE/dune-uggrid-2.5.0/build-cmake"  "/home/cborto/Downloads/DUNE/dune-grid-2.5.0"
> -- Dependencies for dune-grid: dune-geometry (>= 2.5.0)
> -- Suggestions for dune-grid: dune-uggrid
> CMake Warning at /usr/local/share/dune/cmake/modules/DuneMacros.cmake:174 (find_package):
>   Found package configuration file:
> 
>     /home/cborto/Downloads/DUNE/dune-geometry-2.5.0/build-cmake/dune-geometry-config.cmake
> 
>   but it set dune-geometry_FOUND to FALSE so package "dune-geometry" is
>   considered to be NOT FOUND.
> [...]


I came across this problem in one of the modules myself
yesterday. dune-typetree produced the same error in my module while it
worked fine in the upstream dune-pdelab module. I am not really sure how I
caused it. I did mess up one of my CMakeLists.txt in that
project. Once I undid the bogus changes, removed the build directory
(or was it merely the CMakeCache.txt file, not sure), and reran CMake
it worked fine.

I tried to reproduce the problem later but to no avail. Strange.

Anyway, whoever comes across this problem should check the
CMakeLists.txt file for error or/and do a clean rebuild.

Cheers,

Markus
-- 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858




More information about the Dune mailing list