Skip to content

Commit

Permalink
Trying to debug borehole kills
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlarson1 committed Nov 17, 2023
1 parent 82e4745 commit cacd1a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions libensemble/sim_funcs/borehole_kills.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def borehole(H, persis_info, sim_specs, libE_info):
else:
# Failure model (excluding observations)
if sim_id > sim_specs["user"]["num_obs"]:
print("JEFF DEBUG", f / borehole_true(H["x"]), flush=True)
if (f / borehole_true(H["x"])) > 1.25:
if (f / borehole_true(H["x"])) > 0.019:
f = np.inf
calc_status = TASK_FAILED
print(f"Failure of sim_id {sim_id}", flush=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}

persis_info = add_unique_random_streams({}, nworkers + 1)
exit_criteria = {"sim_max": 2 * max_evals}
exit_criteria = {"sim_max": max_evals}

# Perform the run
H, persis_info, flag = libE(
Expand Down

0 comments on commit cacd1a9

Please sign in to comment.