Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (35 sloc) 1.587 kB

PySLURM: SLURM interface for Python

Authors: Mark Roberts <> and Stephan Gorget <>


Currently PySLURM is under development to move from it's thin layer on top of the SLURM C API to an object orientated interface.

The current branch is based on the SLURM 2.2.7 API


This version has been tested with SLURM 2.2.7, Cython 0.15.1 and Python 2.7.2, 2.7.3 and 3.2.3


You will need to instruct the script where either the SLURM install root directory or where the SLURM libraries and SLURM include files are :

  1. Slurm default directory (/usr):

    • python build
    • python install
  2. Indicate Blue Gene type (L/P/Q) on build line:

    • --bgl or --bgp or --bgq
  3. Slurm root directory (Alternate installation directory):

    • python build --slurm=PATH_TO_SLURM_DIR
    • python install
  4. Separate Slurm library and include directory paths:

    • python build --slurm-lib=PATH_TO_SLURM_LIB --slurm-inc=PATH_TO_SLURM_INC
    • python install

If you still have issues then you could code this directly into the


Prebuilt documentation for the module can be reviewed online, and the source code is available on GitHub.

Jump to Line
Something went wrong with that request. Please try again.