Skip to main content

Usage

Include slurm-watchdog in your slurm script to monitor the job progress and kill the job if it gets stuck.

#!/bin/bash
#SBATCH -J watchdog_example
#SBATCH -N 1
#SBATCH -n 1
#SBATCH --output stdout.txt
#SBATCH --time 1-00:00:00

source .venv/bin/activate
slurm-watchdog stdout.txt &
srun python src/slurm_watchdog/dummyjob.py &
wait $! # wait for srun to finish, but do not wait for the watchdog to finish

Metadata

Release files for slurm-watchdog 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slurm-watchdog 0.1.0
File Size Uploaded
slurm_watchdog-0.1.0.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slurm-watchdog 0.1.0
File Interpreter ABI Platform
slurm_watchdog-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 kB

Release files / slurm_watchdog-0.1.0.tar.gz

Download URL slurm_watchdog-0.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ea2060be650374f95c4392d8ef0f75f1c2312f61d1ee6e6f91d74e3450061ddb
BLAKE2b-256 checksum
How to use checksums
e280a81680473fa244863e72439710e18cf301469ebacf9431a04d79b40d8a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.18

Release files / slurm_watchdog-0.1.0-py3-none-any.whl

Download URL slurm_watchdog-0.1.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52fbd6cae1c7e727a556aed1ec39d13d9e9139a8c5e8516348afe141e8e492cf
BLAKE2b-256 checksum
How to use checksums
9419d000ef4f3da41f17d64ea7b671ae8abcec2e259be99d019ca324f1ffefc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.18

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page