Computing Library › HPC & Compute
HPC & Compute

Workflow Managers

Workflow managers describe a computation as a graph of dependent tasks and orchestrate their execution, retries, and data flow across a cluster.

From single jobs to pipelines

Real scientific studies are rarely one program run once. They chain steps: generate meshes, run simulations, post-process, analyze, and plot, often as a sweep over hundreds of parameter sets. A workflow manager represents this as a directed acyclic graph (DAG) of tasks with dependencies, then schedules the tasks, moves data between them, retries failures, and records what ran. It turns a fragile pile of scripts into a reproducible, restartable pipeline.

What they provide

Kronos motion — burner power flow

Two styles

Some managers are file-driven and rule-based, in the spirit of a build system: you declare how to produce each output from its inputs, and the tool figures out the order and what is stale. Others are programmatic, letting you build the task graph in code with explicit parallel primitives. Many integrate with schedulers like Slurm, submitting each task as a job or packing many small tasks into one allocation to avoid scheduler overhead.

Ensembles and sweeps

A frequent pattern is the ensemble: run the same simulation across a grid of parameters, then aggregate. Workflow managers excel here, launching the runs in parallel, tracking which combinations completed, and resuming only the missing ones after an interruption. This is far more robust than a shell loop that loses its place on failure.

In practice

A Hyperion sensitivity study over plasma and blanket parameters is expressed as a workflow: each parameter set is a task producing a result file, a downstream task aggregates them, and the whole DAG is restartable. If a node fails mid-campaign, only the incomplete tasks re-run, and the provenance log ties every output back to its exact inputs.