README.md 1.25 KB
Newer Older
Timo Koch's avatar
Timo Koch committed
1
2
3
4
5
# DuMu<sup>x</sup> course useful scripts

The install script is a shell script that will setup DuMu<sup>x</sup> on your computer
in the version that is required to complete the current course's exercises.

6
7
8
9
10
Installation guide dumux
-------------------------

You can set up dumux using the attached script install.sh.
You need to have the following REQUIREMENTS installed:
Bernd Flemisch's avatar
Bernd Flemisch committed
11
  * gcc >= 7
12
13
14
15
  * cmake >= 3.1
  * git
  * pkg-config
  * paraview (to visualize the results)
16
17
  * gnuplot (to plot some curves)
  * wget (to download some config files during the installation)
18
19

On debian-based system you can use this:
Ned Coltman's avatar
Ned Coltman committed
20
```bash
Bernd Flemisch's avatar
Bernd Flemisch committed
21
  apt-get install build-essential gfortran pkg-config cmake git paraview wget gnuplot libsuitesparse-dev
Ned Coltman's avatar
Ned Coltman committed
22
```
23
24
25

Then, you can the execute the script and it will download the dune repositories and dumux
and configure all modules with CMake
Ned Coltman's avatar
Ned Coltman committed
26
```bash
27
  ./install.sh
Ned Coltman's avatar
Ned Coltman committed
28
```
29
This will clone the necessary repositories (in a subfolder 'dumux'),
30
31
build all libaries.

32
Run the script test_dumux.sh in the newly created dumux folder
33
to test your installation of dumux.
Ned Coltman's avatar
Ned Coltman committed
34
```bash
35
  ./test_dumux.sh
Ned Coltman's avatar
Ned Coltman committed
36
```
37
38
39
It will compile and run a simple one-phase ground water flow example
and visualizes the result using paraview.

Timo Koch's avatar
Timo Koch committed
40
* Click [here](./install.sh) to view and download the install script