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
  • Surrogate Modeling with gpCAM
  • Optimization with APOSMM
  • Calibration with Simulation Cancellation

Examples:

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

Additional References:

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

Developer Guide:

  • Release Management
  • Internal Modules
libEnsemble
  • Overview of Examples
  • View page source

Overview of Examples

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

The examples come from the libEnsemble repository and the libEnsemble Community Repository.

libEnsemble Example Functions:

  • Generator Functions
    • Sampling
    • Optimization
    • Modeling and Approximation
  • Simulation Functions
    • Simple simulation functions
    • Functions that run user applications
    • Special simulation functions
  • Allocation Functions
    • give_sim_work_first
    • fast_alloc
    • start_only_persistent
    • start_persistent_local_opt_gens
    • fast_alloc_and_pausing
    • only_one_gen_alloc
    • start_fd_persistent
    • persistent_aposmm_alloc
    • give_pregenerated_work
    • inverse_bayes_allocf
  • Calling Scripts
    • Local Sine Tutorial
    • Electrostatic Forces with Executor
    • Persistent APOSMM with Gradients

© Copyright 2025 Argonne National Laboratory.

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