Skip to content

Commit 48ac49b

Browse files
committed
funny interaction, worker 0 being a gen worker that runs a non-persistent gen is always available to receive gen work. so to prevent worker 0 from generating extra, set sim max. another way to prevent extra non-persistent gen calls is set gen_on_worker=True
1 parent aaf5f0f commit 48ac49b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

libensemble/tests/functionality_tests/test_executor_hworld_timeout.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
nworkers, is_manager, libE_specs, _ = parse_args()
3838

3939
libE_specs["disable_resource_manager"] = True
40-
libE_specs["gen_on_worker"] = True
4140

4241
cores_per_task = 1
4342
logical_cores = multiprocessing.cpu_count()
@@ -93,7 +92,7 @@
9392

9493
persis_info = add_unique_random_streams({}, nworkers + 1)
9594

96-
exit_criteria = {"wallclock_max": 10}
95+
exit_criteria = {"wallclock_max": 10, "sim_max": nworkers}
9796

9897
# TCP does not support multiple libE calls
9998
if libE_specs["comms"] == "tcp":

0 commit comments

Comments
 (0)