solprop.driver.executors#

Execute independent scan points under an explicit resource policy.

Executor is the protocol: run(points, work) yields one result per point, possibly in completion order, each carrying its global index. Four policies satisfy it, one per module: Local (sequential, in the calling process), Pool (spawned workers sized by CPUs and memory), Queue (a durable file queue drained by controllers sharing a filesystem) and Slurm (an array job of queue controllers). The design is docs/dev/scans.md.

Modules

local

Execute scan points sequentially in the calling process.

pool

Run bounded spawned workers with explicit threads and memory admission control.

queue

Drain durable point work across controllers sharing a filesystem.

slurm

Emit and submit quoted Slurm array jobs with explicit controller resources.