[Dune] cake meets inconsistency between freshly checked out dune-common and dune-geometry ?

Benedikt Oswald benedikt.oswald at lspr.ch
Tue Jan 28 16:36:30 CET 2014


Hello Christoph,

thanks, in fact have now deactivated the BUILD_DIR environment variable and use this opts file:

## Tell cmake the subdirectory to use for building
##BUILDDIR="$HOME/build/b2"
# Use CMAKE_PREFIX_PATH to tell CMake where to find external libraries
CMAKE_FLAGS="--enable-experimental-grid-extensions -DCMAKE_CXX_COMPILER=/Users/oswald/extlib/gcc/4.8.1/gcc/4.8.1/bin/g++ -DCMAKE_C_COMPILER=/Users/oswald/extlib/gcc/4.8.1/gcc/4.8.1/bin/gcc -DCMAKE_PREFIX_PATH=\"$HOME/extlib/alugrid/1.96/openmpi/1.6.5/gcc/4.8.1;$HOME/extlib/metis/5.1.0/gcc/4.8.1;$HOME/extlib/parmetis/4.0.3/openmpi/1.6.5/gcc/4.8.1\" " 
# Just in case that some modules do not support CMake
#CONFIGURE_FLAGS="--enable-dunedevel --enable-parallel --enable-documentation --with-alugrid=/home/mblatt/src/dune/3rdParty/grids//home/mblatt/src/dune/3rdParty/grids/alugrid50-install --with-alberta=/home/mblatt/src/dune/3rdParty/grids/alberta3-install --with-ug=/home/mblatt/src/dune/3rdParty/grids/ug-install --enable-fieldvector-size-is-method --prefix=/home/mblatt/dune_install --disable-shared --enable-static CXX=g++ CC=gcc CXXFLAGS=\"-O0 -g -DDUNE_ISTL_WITH_CHECKING -Wall\" CFLAGS=\"-O0 -g -Wall\"" 
MAKE_FLAGS="-Wall"
USE_CMAKE="yes"



Then, the build process runs through until dune-grid, where it crashes at link phase,
cf. attached log file.






I have checked the CMakeCache.txt to see if I use the correct C++ and C compilers, which is
the case.


It seems that the library libdunegrid.dylib  
is not built. I can also not understand why ALUgrid is not found.

Greetings, Benedikt





--------------------------------------------------------------------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74
Technoparkstrasse 1, CH-8005 Zürich, benedikt.oswald at lspr.ch - 'Ambition is a dream with a V8 engine', The KING
--------------------------------------------------------------------------------------------------------------------------------------------------------------

On 28 Jan 2014, at 13:40, Christoph Grüninger <christoph.grueninger at iws.uni-stuttgart.de> wrote:

> Hi Benedikt,
> hmm, I have never seen such a behavior.
> 
>> CMake Error: The source
>> "/Users/oswald/gitwork/hades-github/dune-geometry/CMakeLists.txt" does
>> not match the source
>> "/Users/oswald/gitwork/hades-github/dune-common/CMakeLists.txt" used to
>> generate cache.  Re-run cmake with a different source directory.
> 
> and
> 
>> -- Build files have been written to: /Users/oswald/build
> 
> I think your build directory is the same for all modules. That's not
> allowed. Check your opts file or try without. By default it is
> "build-cmake/" in the root of each module.
> 
> Bye
> Christoph
> 
> -- 
> Une science n'était vraiment développée que quand elle
> pouvait utiliser les mathématiques.    (Paul Lafargue)
> *********************************************
> CMWR 2014: 10th - 13th June 2014 in Stuttgart
>         Please visit www.cmwr14.de
> *********************************************
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140128/4f55e170/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cmake-log.txt
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140128/4f55e170/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140128/4f55e170/attachment-0001.htm>


More information about the Dune mailing list