[Dune] problem compiling dune-grid from git repository
Markus Blatt
markus at dr-blatt.de
Mon Nov 14 18:41:16 CET 2016
Hi,
thanks that helps a lot. Seem dune-uggrid ruins it for you.
On Mon, Nov 14, 2016 at 09:06:32AM -0600, Edscott Wilson wrote:
> [100%] Linking CXX static library libugL2.a
>
> [100%] Built target ugL2
>
> --- dune-uggrid done ---
dune-uggrid builds fine.
>
> CMake Warning at
> /archive/src/dune-git/dune-common/cmake/modules/DuneMacros.cmake:174
> (find_package):
>
> Found package configuration file:
>
>
>
> /archive/src/dune-git/dune-uggrid/build-cmake/dune-uggrid-config.cmake
>
> but it set dune-uggrid_FOUND to FALSE so package "dune-uggrid" is
>
> considered to be NOT FOUND.
This one is really weired. Would you please post
dune-uggrid-config.cmake and
/archive/src/dune-git/dune-uggrid/build-cmake/CMakeCache.txt
dune-uggrid_FOUND should be true. Did you perhapse run configure in
dune-grid before without having dune-uggrid? To be sure you could
delete dune-uggrid/build-cmake and try again.
The weired includes
> -I/low -I/gm -I/dev -I/dom -I/np -I/ui -I/np/algebra -I/np/udm
> --I/parallel
> -I/parallel/ddd -I/parallel/ppif -I/parallel/dddif -I/parallel/util
> -I/parallel/ddd/include
come from this. First of all dune-uggrid should be found. Second of
all if it is not, then we should the includes.
If you are not dependent on dune-uggrid you could set
-DCMAKE_DISABLE_FIND_PACKAGE_dune-uggrid=OFF when running CMake,
e.g. by putting it in the CMAKE_FLAGS of your opts file.
In any case we highly appreciate your and want/need to fix these bugs.
Markus
--
Using PT-Scotch with DUNE https://t.co/hZH8lxf5ZF
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