diff --git a/INSTALL b/INSTALL index 1a70b4c9feb2b1d7e567515823e08bfc8ab9515e..534aa907f3d553da3f328269f982005fa873adc5 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 8195c0a099f58b20f7f1c84eb4653bcdae260360..baef31b6262681b7792164e61d57db3cb78b13f2 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.