[Dune] how to force a rebuild from scratch with cmake build system ?

Benedikt Oswald benedikt.oswald at lspr.ch
Thu Apr 24 17:00:53 CEST 2014


Thanks, works nicely!

regarding MPI, why would cmake build system say something like:


CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_EXPERIMENTAL_GRID_EXTENSIONS
    USE_MPI

even though I specify -enable-parallel --enable-experimental-grid-extensions

The idea is of course to compile dune with mpi

thanks, 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 - labor vincit omnia improbus
--------------------------------------------------------------------------------------------------------------------------------------------------------------

On 24 Apr 2014, at 16:52, Markus Blatt <markus at dr-blatt.de> wrote:

> On Thu, Apr 24, 2014 at 04:40:24PM +0200, Benedikt Oswald wrote:
>> which is the cmake variable to specify the right compilers ? I use:
>> 
>> 
>> CMAKE_FLAGS="-DCMAKE_CXX_FLAGS=\"-O2\" -DBOOST_ROOT=\"$HOME/extlib/boost/1.55.0/gcc/4.8.1\"   -DCMAKE_PREFIX_PATH=\"$HOME/extlib/boost/1.55.0/gcc/4.8.1;$HOME/extlib/alugrid/1.52/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\" " 
>> 
>> CONFIGURE_FLAGS="--enable-parallel --enable-experimental-grid-extensions --enable-shared --enable-static”
>> 
> 
> 
> Either use CXX=<compiler> in the CONFIGURE_FLAGS or
> -DCMAKE_CXX_COMPILER=<compile> in the CMAKE_FLAGS (you might need to
> provide the full path for the latter)
> 
> Markus
> 
> -- 
> Do you need more support with DUNE or HPC in general? 
> 
> 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
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140424/21696deb/attachment.sig>


More information about the Dune mailing list