Skip to content

Commit fb8426a

Browse files
committed
#613: cherry picked changes where the memory error was serendipitously detected with a configuration non even feasible to begin with and therefore not part of the test harness)
1 parent ee43344 commit fb8426a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

config/synthetic-blocks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ work_model:
1414
gamma: 0.0
1515
delta: 0.0
1616
upper_bounds:
17-
max_memory_usage: 45.0
17+
max_memory_usage: 10.0
1818

1919
# Specify algorithm
2020
algorithm:
@@ -45,7 +45,7 @@ visualization:
4545
y_ranks: 2
4646
z_ranks: 1
4747
object_jitter: 0.5
48-
rank_qoi: homing
48+
rank_qoi: max_memory_usage
4949
object_qoi: shared_id
5050
save_meshes: true
5151
force_continuous_object_qoi: true

src/lbaf/Execution/lbsTemperedWithUpdatesCriterion.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ def compute(self, r_src: Rank, o_src: list, r_dst: Rank, o_dst: Optional[list]=N
8484

8585
# Sanity check
8686
if w_max_new != w_max_up:
87-
self._logger.error(f"Discrepancy in post update works: {w_max_new} <> {w_max_up}")
88-
print(w1, w3)
89-
print(w2, w4)
87+
self._logger.error(f"Updated work: max({w1},{w2}) <> computed: max({w3},{w4})")
9088
raise SystemExit(1)
9189

9290
# Return criterion value

0 commit comments

Comments
 (0)