Skip to content

Installing PySlurm

Giovanni Torres edited this page Aug 26, 2017 · 2 revisions

Install Cython

PySlurm requires Cython to compile. There are a few ways to get Cython on your system:

Install Cython from the package repositories

On RedHat/CentOS:

sudo yum install Cython

On Fedora:

sudo dnf install Cython

On Debian/Ubuntu:

sudo apt-get install Cython

Install in a Python Virtual Environment

Install PySlurm

Installing Globally

Assuming Slurm libraries and headers are installed in the usual locations (/usr/include/, /usr/lib64):

python setup.py build
sudo python setup.py install