Logo

User Guide:

  • Quickstart
  • Advanced Installation
  • Understanding libEnsemble
  • Constructing Workflows
  • Running libEnsemble
  • Running on HPC Systems

Tutorials:

  • Simple Introduction
  • Ensemble with an MPI Application
  • Executor - Assign GPUs
  • Optimization with APOSMM
  • Calibration with Simulation Cancellation

Examples:

  • Generator Functions
  • Simulation Functions
  • Allocation Functions
  • Calling Scripts

Additional References:

  • Frequently Asked Questions
  • Known Issues
  • Release Notes
  • Contributing to libEnsemble
  • Posters and Presentations

Developer Guide:

  • Release Management
  • Internal Modules
libEnsemble
  • Example User Functions and Calling Scripts
  • View page source

Example User Functions and Calling Scripts

Here we give example generation, simulation, and allocation functions for libEnsemble, as well as example calling scripts.

Additional examples from libEnsemble’s users are available in the libEnsemble Community Repository, with corresponding generator documentation available here.

libEnsemble Example Functions:

  • Generator Functions
    • sampling
    • persistent_sampling
    • persistent_sampling_var_resources
    • APOSMM
    • uniform_or_localopt
    • persistent_tasmanian
    • persistent_fd_param_finder
    • persistent_surmise
    • persistent_ax_multitask
  • Simulation Functions
    • six_hump_camel
    • chwirut
    • noisy_vector_mapping
    • periodic_func
    • borehole
    • executor_hworld
  • Allocation Functions
    • give_sim_work_first
    • fast_alloc
    • start_only_persistent
    • start_persistent_local_opt_gens
  • Calling Scripts
    • Local Sine Tutorial
    • Electrostatic Forces with Executor
    • Persistent APOSMM with Gradients

© Copyright 2024 Argonne National Laboratory.

Built with Sphinx using a theme provided by Read the Docs.