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)
| File | Size | Uploaded | |
|---|---|---|---|
| slurm_watchdog-0.1.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|