Execution#
Most users only need model.run() or stilt run
(Where To Run). The functions below do the work
underneath.
run_simulation()runs oneSimulationand saves its outputs.run_receptor()runs every variant of one receptor. Workers are always handed receptors.run_receptors()runs a list of receptors, in this process or in a process pool.pull_receptors()takes receptors from the PostgreSQL work queue until it is empty.
The executors start that work on this machine, on Slurm, or on Kubernetes.
Worker functions#
Run one simulation and copy its outputs into the project. |
|
Run every simulation of one receptor. |
|
Run a list of receptors, in this process or in a process pool. |
|
Run receptors from the model's work queue until it is empty. |
|
Outcome of one simulation run by a worker. |
|
Outcome of running every simulation of one receptor. |
Executors#
Run receptors on this machine, in one process or a process pool. |
|
Run receptors as a Slurm job array submitted with |
|
Run pull workers as a Kubernetes Job. |