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 libEnsemblealloc_specs (
dict
) – Specifications for the allocation functionsim_specs (
dict
) – Specifications for the simulation functiongen_specs (
dict
) – Specifications for the generator functionexit_criteria (
dict
) – Criteria for libEnsemble to stop a runpersis_info (
dict
) – Persistent information to be passed between user functionswcomms (
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