runhealth¶
runhealth analyzes a directory of HPC batch job logs and produces a report on the outcome and the performance of each run: whether the job completed, whether and where it hung, how fast it ran and whether it slowed down, how evenly the work was distributed across ranks, and whether the underlying machine was healthy.
For any questions, please contact Michael Jähn .
Features¶
- Model-agnostic core: code-specific patterns are defined in YAML profiles, with profiles for ICON and Cray MPICH included
- Reads logs directly from a cluster via
host:/path(usingrsyncover SSH) and writes the report locally - HTML report with a run timeline showing phases, silent periods in the log and output writes
- Optional diagnostics of NetCDF model output, checked per component for coupled runs
- Can run as a SLURM job after each model job or as a task in a Sirocco workflow
Installation¶
runhealth is published on PyPI and requires Python 3.11 or newer:
uv tool install runhealth # or: pip install runhealth
Add the output extra, runhealth[output], to diagnose NetCDF model output and the pdf extra to write PDF reports.
Usage¶
Analyze logs on Säntis from a local machine and open the report in a browser:
runhealth santis:/path/to/logs -o report/ --open