Slurm-web Installation
Back to Job Scheduler Slurm
Contents
Slurm-web installation
First, let's review the prerequisites:
- python
- pyslurm (python module)
- Flask (python module)
- clusterShell (python module)
- bootstrap (javascript library)
- jQuery
- Flot (jQuery extension for graph drawing)
all python modules and javascript libraries ought to be installed via apt packages for the slurm-web installation to work
Installing prerequisites
Some previous packages:
Flask:
Test it by the procedure detailed in http://flask.pocoo.org/
ClusterShell:
Check the project page for more info http://cea-hpc.github.io/clustershell/
PySlurm:
The slurm-web package require pyslurm to be provided by a package called python-pyslurm. In the debian release where this procedure was tested that package didn't exist, so it had to be provided by a dummy package.
First, install the real pyslurm using pip
Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/
Then create a dummy package using equivs. First, install equivs if your system doesn't have it: