stilt.execution.run_simulations#
- stilt.execution.run_simulations(model, sim_ids, *, n_cores=1, skip_existing=None)[source]#
Run a list of simulation ids for model, inline or in a process pool.
Pool workers rebuild the model from
model.project.root, so the project’s inputs must already be persisted (Model.register()does this;Model.run()calls it). A SIGTERM (Slurm preemption or wall-time) is turned into aninterruptedresult and stops the batch.- Parameters:
- Returns:
One result per id, in input order (truncated after an interruption).
- Return type: