Python Interface for Slurm
Project description
Overview
Currently PySlurm is under development to move from it’s thin layer on top of the Slurm C API to an object orientated interface.
This release is based on Slurm 18.08.
Prerequisites
This PySlurm branch has been tested with:
Cython 0.15.1*, 0.19.2, and the latest stable
Python 2.6, 2.7, and 3.4
Slurm 18.08.0 thru 18.08.1
Note: Cython 0.15.1 is only tested on Python 2.7.
Installation
You will need to instruct the setup.py script where either the Slurm install root directory or where the Slurm libraries and Slurm include files are :
Slurm default directory (/usr):
python setup.py build
python setup.py install
Indicate Blue Gene type Q on build line:
–bgq
Slurm root directory (Alternate installation directory):
python setup.py build –slurm=PATH_TO_SLURM_DIR
python setup.py install
Separate Slurm library and include directory paths:
python setup.py build –slurm-lib=PATH_TO_SLURM_LIB –slurm-inc=PATH_TO_SLURM_INC
python setup.py install
The build will automatically call a cleanup procedure to remove temporary build files but this can be called directly if needed as well with :
python setup.py clean
Documentation
The API documentation is hosted at https://pyslurm.github.io.
To build the docs locally, use Sphinx to generate the documentation from the reStructuredText based docstrings found in the pyslurm module once it is built:
cd doc
make clean
make html
Help
Ask questions on the pyslurm group.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyslurm-18.8.1.1.tar.gz
.
File metadata
- Download URL: pyslurm-18.8.1.1.tar.gz
- Upload date:
- Size: 535.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121cd4b08e65f218ec60c7ab9d6bdd81f7098ca0b0e6cded54f13e4943306595 |
|
MD5 | dbe349ffabf6c6a45fadca6ccc22b8f9 |
|
BLAKE2b-256 | a6c15c998931cf075be7426907d975499085d78c3d43b541ee1946d19dc6ee14 |