[Dune] how to force a rebuild from scratch with cmake build system ?
Markus Blatt
markus at dr-blatt.de
Thu Apr 24 16:52:18 CEST 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140424/e4a40405/attachment.sig>
More information about the Dune
mailing list