Manager Module

libEnsemble manager routines

manager.manager_main(hist, libE_specs, alloc_specs, sim_specs, gen_specs, exit_criteria, persis_info, wcomms=[])

Manager routine to coordinate the generation and simulation evaluations

Parameters
  • hist (History) – A libEnsemble history type object.

  • libE_specs (dict) – Specifications for libEnsemble

  • alloc_specs (dict) – Specifications for the allocation function

  • sim_specs (dict) – Specifications for the simulation function

  • gen_specs (dict) – Specifications for the generator function

  • exit_criteria (dict) – Criteria for libEnsemble to stop a run

  • persis_info (dict) – Persistent information to be passed between user functions

  • wcomms (list, optional) – A list of comm type objects for each worker. Default is an empty list.

class manager.Manager(hist, libE_specs, alloc_specs, sim_specs, gen_specs, exit_criteria, wcomms=[])

Manager class for libensemble.

__init__(hist, libE_specs, alloc_specs, sim_specs, gen_specs, exit_criteria, wcomms=[])

Initializes the manager

term_test_wallclock(max_elapsed)

Checks against wallclock timeout

term_test_sim_max(sim_max)

Checks against max simulations

term_test_gen_max(gen_max)

Checks against max generator calls

term_test_stop_val(stop_val)

Checks against stop value criterion

term_test(logged=True)

Checks termination criteria

run(persis_info)

Runs the manager