Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
# This can improve scheduling when tasks may run across multiple nodes
libE_specs["scheduler_opts"] = {"match_slots": False}

exit_criteria = {"sim_max": 40, "wallclock_max": 300}
exit_criteria = {"sim_max": 12, "wallclock_max": 300}

if libE_specs["comms"] == "local":
iterations = 4
Expand Down Expand Up @@ -122,4 +122,6 @@

if is_manager:
assert flag == 0
assert np.count_nonzero(H["sim_ended"]) >= exit_criteria["sim_max"]
assert len(np.unique(H["resource_sets"])) > 1
save_libE_output(H, persis_info, __file__, nworkers)
2 changes: 1 addition & 1 deletion libensemble/tests/regression_tests/test_mfkg_branin.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
UB = np.array([1.0, 1.0])
N_INIT_SAMPLES = 4 # Each initial point gets a high- and a low-fidelity evaluation
Q = 4 # Batch size per MFKG iteration (keeps up to q sim workers busy)
SIM_MAX = 16 # Exit after running this many simulations
SIM_MAX = 12 # Initial sample plus one MFKG acquisition batch


def run_mfkg(async_return, nworkers, is_manager, libE_specs):
Expand Down
Loading