-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
34 lines (26 loc) · 853 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
1. Initialize submodules
git submodule init
git submodule update
2. Bootstrap
./bootstrap
3. Create folder for execution and switch to it
cd $HOME
mkdir t8dg_build
cd t8dg_build
4. Configure
./configure --enable-mpi
4. a) If configure does not find a blas library
install blas
./configure --enable-mpi --disable-blas LIBS=-lblas LDFLAGS=-L/path/to/blas/library
5. make
make -j V=0
6. make check
make check -j V=0
If any errors occur, please contact the developers
7. Try it out
cd exec
./t8dg -h // Provides an overview of t8dg's options
mpirun -np 3 ./t8dg -m 3 -i6 -r3 -C0.2 -T1 // Runs a 2D simulation on a square with a circular bump initial condition.
t8dg produces the vtu files 't8dg_advection_*.{p}vtu'.
To investigate, you can open the pvtu files in paraview.
We suggest coloring for 'Num. Solution' and enabling 'Surface with edges'.