From 23ee21269ef523b31717868ceae023ea903e692d Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Thu, 11 Oct 2012 13:16:54 +0000 Subject: [PATCH] update INSTALL files git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9277 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- INSTALL | 6 +++++- INSTALL.cmake | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 1a70b4c9fe..534aa907f3 100644 --- a/INSTALL +++ b/INSTALL @@ -18,11 +18,12 @@ In order to compile DuMuX, you first have to download and extract the following DUNE modules into your source directory: - dune-common from [1] + - dune-geometry from [1] - dune-grid from [1] - dune-istl from [1] - dune-localfuctions from [1] -Use the 2.1.1 release of the DUNE core modules. +Use either the 2.2 release or the 2.3-svn trunk. With option files you can enable options, set compiler flags and define paths to external libraries. Exemplary option files are located @@ -30,6 +31,9 @@ in $DUMUX_ROOT/optim.opts and $DUMUX_ROOT/debug.opts respectively. ($DUMUX_ROOT is the directory where the unpacked files of the DuMuX distribution are located.) +A mandatory option to be included in CONFIGURE_FLAGS is: +--enable-fieldvector-size-is-method + Now compile everything with ./dune-common/bin/dunecontrol --opts=$(DUMUX_ROOT)/optim.opts --module=dumux all diff --git a/INSTALL.cmake b/INSTALL.cmake index 8195c0a099..baef31b626 100644 --- a/INSTALL.cmake +++ b/INSTALL.cmake @@ -21,7 +21,7 @@ But alas, it comes with a cost: problems. - Dependencies between DUNE modules are not yet handled, i.e. all DUNE modules on which DuMuX depends (-> common, grid, istl, - localfunctions, pdelab) need to be installed already. + geometry, localfunctions) need to be installed already. Preparing the installation -------------------------- @@ -75,7 +75,7 @@ cmake -DCMAKE_BUILD_TYPE=debug \ -DMETIS_DIR=/usr/local/metis \ path/to/DUMUX/source/directory -With gcc >= 4.5.0, compilation might fail due to an internal compiler +With gcc 4.5.x, compilation might fail due to an internal compiler error. In this case, you might want to specify the compiler explicitly -by using the cmake options -DCMAKE_CXX_COMPILER and -DCMAKE_CC_COMPILER. +by using the cmake options -DCMAKE_CXX_COMPILER and -DCMAKE_C_COMPILER. -- GitLab