futures_util
Utilities for futures modules.
- ema_workbench.em_framework.futures_util.determine_rootdir(msis: Collection[AbstractModel]) str | None
Determine common root directory for all models.
- ema_workbench.em_framework.futures_util.finalizer(experiment_runner: AbstractModel) callable
Cleanup.
- ema_workbench.em_framework.futures_util.setup_working_directories(models: Collection[AbstractModel], root_dir: str) str | None
Setup working directories when running in parallel.
Copies the working directory of each model to a process specific temporary directory and update the working directory of the model.
- Parameters:
models (list)
root_dir (str)