Skip to content

Commit 0c9d221

Browse files
committed
added README
1 parent ac046c6 commit 0c9d221

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

examples/fault_tolerance/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Emulating node failure with pySDC
2+
=================================
3+
4+
This example has different scripts to emulate node failures in PFASST and evaluate the outcome of different recovery
5+
strategies. This example folder has all the scripts to produce the figures/results from the corresponding paper, namely:
6+
7+
* hard_faults_test.py: generate data to check iteration counts for node failures at different steps and iterations,
8+
can do HEAT and ADVECTION example and all the different strategies described in the paper.
9+
The script postproc_hard_faults_test.py produces the corresponding heatmaps.
10+
* hard_faults_detail.py: generate data to check residuals for a node failure at a specified step and iteration, can do
11+
HEAT and ADVECTION example and all the different strategies described in the paper.
12+
The script postproc_hard_faults_detail.py produces the corresponding plots.
13+
* grayscott_example.py: runs the 1D gray-scott example using FEniCS, emulates random node failures and dumps the residuals.
14+
The script postproc_grayscott.py produces the corresponding plots, the script animate_convergence.py gives some nice movies
15+
(very specific, not suitable for general purpose).
16+
17+
Warning: the are many global variables and hard-implemented numbers floating around in the code
18+
(e.g. random node failures for the gray-scott example are not allowed to occure beyond iteration 6,
19+
since the original example only takes 6 iterations). Also, to run the gray-scott example, FEniCS must be installed.

0 commit comments

Comments
 (0)