pyslurm is the Python client library for the Slurm Workload Manager
PySlurm uses the format X.Y.Z where X.Y tracks the Slurm major release
and Z is PySlurm's own patch increment, reset to 0 on each new Slurm
major release.
| PySlurm | Slurm |
|---|---|
| 25.11.x | 25.11.x |
| 24.05.x | 24.05.x |
| 23.11.x | 23.11.x |
PySlurm requires the Slurm development headers and shared library at build time.
If you have slurm-devel installed in the default paths, skip this section.
By default, PySlurm looks in:
/usr/include— for Slurm header files (slurm/slurm.h)/usr/lib64— for the Slurm shared library (libslurmfull.so)
If your Slurm installation is not in the default paths, set these before installing:
export SLURM_INCLUDE_DIR=/path/to/slurm/include
export SLURM_LIB_DIR=/path/to/slurm/libpip install pyslurmgit clone https://github.com/PySlurm/pyslurm.git && cd pyslurm
scripts/build.shUse -j to build with multiple cores (or set PYSLURM_BUILD_JOBS):
scripts/build.sh -j4pyslurm is made by contributors like you.
Feel free to ask questions in the GitHub Discussions
Found a bug or you are missing a feature? Feel free to open an Issue!
