Skip to content
Snippets Groups Projects
Commit 23ee2126 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

update INSTALL files

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9277 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 712b4675
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment