Skip to content

Commit

Permalink
Fix tcp runs
Browse files Browse the repository at this point in the history
  • Loading branch information
shuds13 committed Sep 22, 2021
1 parent cb47567 commit acddaef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libensemble/libE.py
Expand Up @@ -228,9 +228,9 @@ def libE(sim_specs, gen_specs, exit_criteria,

assert comms_type in libE_funcs, "Unknown comms type: {}".format(comms_type)

# Not supported with TCP
# Resource management not supported with TCP
if comms_type == 'tcp':
libE_specs['auto_resources'] = False
libE_specs['disable_resource_manager'] = True

Resources.init_resources(libE_specs)

Expand Down Expand Up @@ -492,7 +492,7 @@ def libE_tcp(sim_specs, gen_specs, exit_criteria,

exctr = Executor.executor
if exctr is not None:
# TCP does not currently support auto_resources but when does, assume
# TCP does not currently support resource_management but when does, assume
# each TCP worker is in a different resource pool (only knowing local_host)
if not is_worker:
exctr.serial_setup()
Expand Down

0 comments on commit acddaef

Please sign in to comment.