INSTALL 1.67 KB
Newer Older
Bernd Flemisch's avatar
Bernd Flemisch committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Installation Instructions
=========================

This file describes how to compile and install DuMuX using DUNE's
standard autotools based build system. If you would like to use the
alternative CMake based build system, please read the file
INSTALL.cmake.

DuMuX is a implemented as an ordinary DUNE module. For a full
explanation of the DUNE installation process, please read the
installation notes on the internet [0]. The following introduction is
meant for the impatient.

Getting started
---------------

In order to compile DuMuX, you first have to download and extract the
following DUNE modules into your source directory:
 
20
21
22
23
24
  - dune-common        from [1]
  - dune-grid          from [1]
  - dune-istl          from [1]
  - dune-localfuctions from [1]
  - dune-pdelab        from [2]
Bernd Flemisch's avatar
Bernd Flemisch committed
25

26
27
Use the 2.0 release of the DUNE core modules and the 2.0 snapshot of 
dune-pdelab. 
Bernd Flemisch's avatar
Bernd Flemisch committed
28
29

Next, you need to decide whether you want to compile in debug or in
30
31
32
33
34
35
optimized mode. Example files are located 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.) 

Next, compile everything with
Bernd Flemisch's avatar
Bernd Flemisch committed
36
37
38

  ./dune-common/bin/dunecontrol --opts=$(DUMUX_ROOT)/optim.opts --module=dumux all

39
Finally, install DUNE and DuMuX headers to your system by
Bernd Flemisch's avatar
Bernd Flemisch committed
40
41
42
43

  ./dune-common/bin/dunecontrol --module=dumux make install

A more comprehensive introduction to the DUNE build system can be
44
found in [3].
Bernd Flemisch's avatar
Bernd Flemisch committed
45
46
47
48
49
50

Links
-----

0. http://www.dune-project.org/doc/installation-notes.html
1. http://www.dune-project.org/download.html
51
52
53
2. http://www.dune-project.org/downloadext.html
3. http://www.dune-project.org/doc/buildsystem/buildsystem.pdf