Skip to content

Commit 0633656

Browse files
committed
prepared BQ runs
1 parent a7e9116 commit 0633656

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
Binary file not shown.

examples/fault_tolerance/boussinesq_example.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,19 @@
7676
ft.hard_random = 0.03
7777

7878
# strategies = ['NOFAULT']
79-
strategies = ['INTERP']
80-
# strategies = ['NOFAULT','SPREAD','INTERP','INTERP_PREDICT','SPREAD_PREDICT']
79+
# strategies = ['INTERP']
80+
strategies = ['SPREAD','INTERP','INTERP_PREDICT','SPREAD_PREDICT']
8181

8282
for strategy in strategies:
8383

8484
print('------------------------------------------ working on strategy ',strategy)
8585
ft.strategy = strategy
8686

87+
# read in reference data from clean run, will provide reproducable locations for faults
88+
if not strategy is 'NOFAULT':
89+
reffile = np.load('PFASST_BOUSSINESQ_stats_hf_NOFAULT_P16.npz')
90+
ft.refdata = reffile['hard_stats']
91+
8792
# quickly generate block of steps
8893
MS = mp.generate_steps(num_procs,sparams,description)
8994

examples/fault_tolerance/postproc_grayscott.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import numpy as np
2-
import math
32
import os
43
import matplotlib.pyplot as plt
54
from pylab import rcParams

0 commit comments

Comments
 (0)