Difference between revisions of "Slurm-web Installation"

From Supercomputación y Cálculo Científico UIS
Line 23: Line 23:
 
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
 
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
<p>Then create a dummy package using equivs.  First, install equivs if your system doesn't have it: {{Command|aptitude install equivs}} then create a configuration file for our new package {{Command|equivs-control python-pyslurm}}.&nbsp; Now, we should edit the configuration file to</p>
+
<p>Then create a dummy package using equivs.  First, install equivs if your system doesn't have it: {{Command|aptitude install equivs}} then create a configuration file for our new package {{Command|equivs-control python-pyslurm}}.&nbsp; Now, we should edit the configuration file for the package to provide python-pyslurm.&nbsp; The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:</p>
 +
<p>{{File|nano python-pyslurm|<br />&lt;pre&gt;Section: misc<br />Priority: optional<br />Standards-Version: 3.5.10<br /><br />Package: python-pyslurm<br />Provides: python-pyslurm<br />Architecture: all<br /><br />Description: Dummy package whichs only purpose is to provide pyslurm&lt;/pre&gt;<br />}}</p>
 +
<p>Now, build the package: {{Command|equivs-build python-pyslurm}}</p>
 +
<p>And, install it: {{Command|</p>
 +
<p><code>__NOTOC__</code></p>
 +
<p>Back to [[Job Scheduler Slurm]]</p>
 +
<h1>Slurm-web installation</h1>
 +
<p>First, let's review the prerequisites:</p>
 +
<ul>
 +
<li>python</li>
 +
<li>pyslurm (python module)</li>
 +
<li>Flask (python module)</li>
 +
<li>clusterShell (python module)</li>
 +
<li>bootstrap (javascript library)</li>
 +
<li>jQuery</li>
 +
<li>Flot (jQuery extension for graph drawing)</li>
 +
</ul>
 +
<p>all python modules and javascript libraries ought to be installed via apt packages for the slurm-web installation to work</p>
 +
<h2>Installing prerequisites</h2>
 +
<p>Some previous packages:  {{Command|aptitude install apache2-dev}}  {{Command|aptitude install libapache2-mod-wsgi}} {{Command|apt-get  install debuild}}</p>
 +
<h4><strong>Flask:</strong></h4>
 +
<p>{{Command|aptitude install python-flask}}  Test it by the procedure detailed in http://flask.pocoo.org/</p>
 +
<h4>ClusterShell:</h4>
 +
<p>{{Command|aptitude install clustershell}}  Check the project page for more info http://cea-hpc.github.io/clustershell/</p>
 +
<h3>PySlurm:</h3>
 +
<p>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.</p>
 +
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 +
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
 +
<p>Then create a dummy package using equivs.  First, install equivs if  your system doesn't have it: {{Command|aptitude install equivs}} then  create a configuration file for our new package {{Command|equivs-control  python-pyslurm}}.&nbsp; Now, we should edit the configuration file for the  package to provide python-pyslurm.&nbsp; The package will provide nothing in  reality, but the package management system will be fooled into thinking  that the package is present. The actual functionality is going to be  provided by the pyslurm pip package. The important options are presented  below:</p>
 +
<p>{{File|nano python-pyslurm|<br />&lt;pre&gt;Section: misc<br />Priority: optional<br />Standards-Version: 3.5.10<br /><br />Package: python-pyslurm<br />Provides: python-pyslurm<br />Architecture: all<br /><br />Description: Dummy package whichs only purpose is to provide pyslurm&lt;/pre&gt;<br />}}</p>
 +
<p>Now, build the package: {{Command|equivs-build python-pyslurm}}</p>
 +
<p>And, install it: {{Command|</p>
 +
<p><code>__NOTOC__</code></p>
 +
<p>Back to [[Job Scheduler Slurm]]</p>
 +
<h1>Slurm-web installation</h1>
 +
<p>First, let's review the prerequisites:</p>
 +
<ul>
 +
<li>python</li>
 +
<li>pyslurm (python module)</li>
 +
<li>Flask (python module)</li>
 +
<li>clusterShell (python module)</li>
 +
<li>bootstrap (javascript library)</li>
 +
<li>jQuery</li>
 +
<li>Flot (jQuery extension for graph drawing)</li>
 +
</ul>
 +
<p>all python modules and javascript libraries ought to be installed via apt packages for the slurm-web installation to work</p>
 +
<h2>Installing prerequisites</h2>
 +
<p>Some previous packages:  {{Command|aptitude install apache2-dev}}  {{Command|aptitude install libapache2-mod-wsgi}} {{Command|apt-get  install debuild}}</p>
 +
<h4><strong>Flask:</strong></h4>
 +
<p>{{Command|aptitude install python-flask}}  Test it by the procedure detailed in http://flask.pocoo.org/</p>
 +
<h4>ClusterShell:</h4>
 +
<p>{{Command|aptitude install clustershell}}  Check the project page for more info http://cea-hpc.github.io/clustershell/</p>
 +
<h3>PySlurm:</h3>
 +
<p>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.</p>
 +
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 +
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
 +
<p>Then create a dummy package using equivs.  First, install equivs if  your system doesn't have it: {{Command|aptitude install equivs}} then  create a configuration file for our new package {{Command|equivs-control  python-pyslurm}}.&nbsp; Now, we should edit the configuration file for the  package to provide python-pyslurm.&nbsp; The package will provide nothing in  reality, but the package management system will be fooled into thinking  that the package is present. The actual functionality is going to be  provided by the pyslurm pip package. The important options are presented  below:</p>
 +
<p>{{File|nano python-pyslurm|<br />&lt;pre&gt;Section: misc<br />Priority: optional<br />Standards-Version: 3.5.10<br /><br />Package: python-pyslurm<br />Provides: python-pyslurm<br />Architecture: all<br /><br />Description: Dummy package whichs only purpose is to provide pyslurm&lt;/pre&gt;<br />}}</p>
 +
<p>Now, build the package: {{Command|equivs-build python-pyslurm}}</p>
 +
<p>And, install it: {{Command|</p>
 +
<p><code>__NOTOC__</code></p>
 +
<p>Back to [[Job Scheduler Slurm]]</p>
 +
<h1>Slurm-web installation</h1>
 +
<p>First, let's review the prerequisites:</p>
 +
<ul>
 +
<li>python</li>
 +
<li>pyslurm (python module)</li>
 +
<li>Flask (python module)</li>
 +
<li>clusterShell (python module)</li>
 +
<li>bootstrap (javascript library)</li>
 +
<li>jQuery</li>
 +
<li>Flot (jQuery extension for graph drawing)</li>
 +
</ul>
 +
<p>all python modules and javascript libraries ought to be installed via apt packages for the slurm-web installation to work</p>
 +
<h2>Installing prerequisites</h2>
 +
<p>Some previous packages:  {{Command|aptitude install apache2-dev}}  {{Command|aptitude install libapache2-mod-wsgi}} {{Command|apt-get  install debuild}}</p>
 +
<h4><strong>Flask:</strong></h4>
 +
<p>{{Command|aptitude install python-flask}}  Test it by the procedure detailed in http://flask.pocoo.org/</p>
 +
<h4>ClusterShell:</h4>
 +
<p>{{Command|aptitude install clustershell}}  Check the project page for more info http://cea-hpc.github.io/clustershell/</p>
 +
<h3>PySlurm:</h3>
 +
<p>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.</p>
 +
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 +
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
 +
<p>Then create a dummy package using equivs.  First, install equivs if  your system doesn't have it: {{Command|aptitude install equivs}} then  create a configuration file for our new package {{Command|equivs-control  python-pyslurm}}.&nbsp; Now, we should edit the configuration file for the  package to provide python-pyslurm.&nbsp; The package will provide nothing in  reality, but the package management system will be fooled into thinking  that the package is present. The actual functionality is going to be  provided by the pyslurm pip package. The important options are presented  below:</p>
 +
<p>{{File|nano python-pyslurm|<br />&lt;pre&gt;Section: misc<br />Priority: optional<br />Standards-Version: 3.5.10<br /><br />Package: python-pyslurm<br />Provides: python-pyslurm<br />Architecture: all<br /><br />Description: Dummy package whichs only purpose is to provide pyslurm&lt;/pre&gt;<br />}}</p>
 +
<p>Now, build the package: {{Command|equivs-build python-pyslurm}}</p>
 +
<p>And, install it: {{Command|</p>
 +
<p><code>__NOTOC__</code></p>
 +
<p>Back to [[Job Scheduler Slurm]]</p>
 +
<h1>Slurm-web installation</h1>
 +
<p>First, let's review the prerequisites:</p>
 +
<ul>
 +
<li>python</li>
 +
<li>pyslurm (python module)</li>
 +
<li>Flask (python module)</li>
 +
<li>clusterShell (python module)</li>
 +
<li>bootstrap (javascript library)</li>
 +
<li>jQuery</li>
 +
<li>Flot (jQuery extension for graph drawing)</li>
 +
</ul>
 +
<p>all python modules and javascript libraries ought to be installed via apt packages for the slurm-web installation to work</p>
 +
<h2>Installing prerequisites</h2>
 +
<p>Some previous packages:  {{Command|aptitude install apache2-dev}}  {{Command|aptitude install libapache2-mod-wsgi}} {{Command|apt-get  install debuild}}</p>
 +
<h4><strong>Flask:</strong></h4>
 +
<p>{{Command|aptitude install python-flask}}  Test it by the procedure detailed in http://flask.pocoo.org/</p>
 +
<h4>ClusterShell:</h4>
 +
<p>{{Command|aptitude install clustershell}}  Check the project page for more info http://cea-hpc.github.io/clustershell/</p>
 +
<h3>PySlurm:</h3>
 +
<p>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.</p>
 +
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 +
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
 +
<p>Then create a dummy package using equivs.  First, install equivs if  your system doesn't have it: {{Command|aptitude install equivs}} then  create a configuration file for our new package {{Command|equivs-control  python-pyslurm}}.&nbsp; Now, we should edit the configuration file for the  package to provide python-pyslurm.&nbsp; The package will provide nothing in  reality, but the package management system will be fooled into thinking  that the package is present. The actual functionality is going to be  provided by the pyslurm pip package. The important options are presented  below:</p>
 +
<p>{{File|nano python-pyslurm|<br />&lt;pre&gt;Section: misc<br />Priority: optional<br />Standards-Version: 3.5.10<br /><br />Package: python-pyslurm<br />Provides: python-pyslurm<br />Architecture: all<br /><br />Description: Dummy package whichs only purpose is to provide pyslurm&lt;/pre&gt;<br />}}</p>
 +
<p>Now, build the package: {{Command|equivs-build python-pyslurm}}</p>
 +
<p>And, install it: {{Command|</p>
 +
<p><code>__NOTOC__</code></p>
 +
<p>Back to [[Job Scheduler Slurm]]</p>
 +
<h1>Slurm-web installation</h1>
 +
<p>First, let's review the prerequisites:</p>
 +
<ul>
 +
<li>python</li>
 +
<li>pyslurm (python module)</li>
 +
<li>Flask (python module)</li>
 +
<li>clusterShell (python module)</li>
 +
<li>bootstrap (javascript library)</li>
 +
<li>jQuery</li>
 +
<li>Flot (jQuery extension for graph drawing)</li>
 +
</ul>
 +
<p>all python modules and javascript libraries ought to be installed via apt packages for the slurm-web installation to work</p>
 +
<h2>Installing prerequisites</h2>
 +
<p>Some previous packages:  {{Command|aptitude install apache2-dev}}  {{Command|aptitude install libapache2-mod-wsgi}} {{Command|apt-get  install debuild}}</p>
 +
<h4><strong>Flask:</strong></h4>
 +
<p>{{Command|aptitude install python-flask}}  Test it by the procedure detailed in http://flask.pocoo.org/</p>
 +
<h4>ClusterShell:</h4>
 +
<p>{{Command|aptitude install clustershell}}  Check the project page for more info http://cea-hpc.github.io/clustershell/</p>
 +
<h3>PySlurm:</h3>
 +
<p>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.</p>
 +
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 +
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
 +
<p>Then create a dummy package using equivs.  First, install equivs if  your system doesn't have it: {{Command|aptitude install equivs}} then  create a configuration file for our new package {{Command|equivs-control  python-pyslurm}}.&nbsp; Now, we should edit the configuration file for the  package to provide python-pyslurm.&nbsp; The package will provide nothing in  reality, but the package management system will be fooled into thinking  that the package is present. The actual functionality is going to be  provided by the pyslurm pip package. The important options are presented  below:</p>
 +
<p>{{File|nano python-pyslurm|<br />&lt;pre&gt;Section: misc<br />Priority: optional<br />Standards-Version: 3.5.10<br /><br />Package: python-pyslurm<br />Provides: python-pyslurm<br />Architecture: all<br /><br />Description: Dummy package whichs only purpose is to provide pyslurm&lt;/pre&gt;<br />}}</p>
 +
<p>Now, build the package: {{Command|equivs-build python-pyslurm}}</p>
 +
<p><code>__NOTOC__</code></p>
 +
<p>Back to [[Job Scheduler Slurm]]</p>
 +
<h1>Slurm-web installation</h1>
 +
<p>First, let's review the prerequisites:</p>
 +
<ul>
 +
<li>python</li>
 +
<li>pyslurm (python module)</li>
 +
<li>Flask (python module)</li>
 +
<li>clusterShell (python module)</li>
 +
<li>bootstrap (javascript library)</li>
 +
<li>jQuery</li>
 +
<li>Flot (jQuery extension for graph drawing)</li>
 +
</ul>
 +
<p>all python modules and javascript libraries ought to be installed via apt packages for the slurm-web installation to work</p>
 +
<h2>Installing prerequisites</h2>
 +
<p>Some previous packages:  {{Command|aptitude install apache2-dev}}  {{Command|aptitude install libapache2-mod-wsgi}} {{Command|apt-get  install debuild}}</p>
 +
<h4><strong>Flask:</strong></h4>
 +
<p>{{Command|aptitude install python-flask}}  Test it by the procedure detailed in http://flask.pocoo.org/</p>
 +
<h4>ClusterShell:</h4>
 +
<p>{{Command|aptitude install clustershell}}  Check the project page for more info http://cea-hpc.github.io/clustershell/</p>
 +
<h3>PySlurm:</h3>
 +
<p>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.</p>
 +
<p>First, install the real pyslurm using pip {{Command|pip install pyslurm}}</p>
 +
<p>Test it using the examples shown in http://www.gingergeeks.co.uk/pyslurm/</p>
 +
<p>Then create a dummy package using equivs.  First, install equivs if  your system doesn't have it: {{Command|aptitude install equivs}} then  create a configuration file for our new package {{Command|equivs-control  python-pyslurm}}.&nbsp; Now, we should edit the configuration file for the  package to provide python-pyslurm.&nbsp; The package will provide nothing in  reality, but the package management system will be fooled into thinking  that the package is present. The actual functionality is going to be  provided by the pyslurm pip package. The important options are presented  below:</p>
 +
<p>{{File|nano python-pyslurm|<br />&lt;pre&gt;Section: misc<br />Priority: optional<br />Standards-Version: 3.5.10<br /><br />Package: python-pyslurm<br />Provides: python-pyslurm<br />Architecture: all<br /><br />Description: Dummy package whichs only purpose is to provide pyslurm&lt;/pre&gt;<br />}}</p>
 +
<p>Now, build the package: {{Command|equivs-build python-pyslurm}}</p>
 +
<p>And, install it: {{Command|</p>
 +
<p>And, install it: {{Command|</p>

Revision as of 21:38, 13 October 2015

Back to Job Scheduler Slurm

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:

aptitude install apache2-dev
aptitude install libapache2-mod-wsgi
apt-get install debuild

Flask:

aptitude install python-flask

Test it by the procedure detailed in http://flask.pocoo.org/

ClusterShell:

aptitude install 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

pip install pyslurm

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:

aptitude install equivs

then create a configuration file for our new package

equivs-control python-pyslurm

.  Now, we should edit the configuration file for the package to provide python-pyslurm.  The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:

File: nano python-pyslurm

<pre>Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: python-pyslurm
Provides: python-pyslurm
Architecture: all

Description: Dummy package whichs only purpose is to provide pyslurm</pre>

Now, build the package:

equivs-build python-pyslurm

And, install it: {{Command|

Back to Job Scheduler Slurm

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:

aptitude install apache2-dev
aptitude install libapache2-mod-wsgi
apt-get install debuild

Flask:

aptitude install python-flask

Test it by the procedure detailed in http://flask.pocoo.org/

ClusterShell:

aptitude install 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

pip install pyslurm

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:

aptitude install equivs

then create a configuration file for our new package

equivs-control python-pyslurm

.  Now, we should edit the configuration file for the package to provide python-pyslurm.  The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:

File: nano python-pyslurm

<pre>Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: python-pyslurm
Provides: python-pyslurm
Architecture: all

Description: Dummy package whichs only purpose is to provide pyslurm</pre>

Now, build the package:

equivs-build python-pyslurm

And, install it: {{Command|

Back to Job Scheduler Slurm

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:

aptitude install apache2-dev
aptitude install libapache2-mod-wsgi
apt-get install debuild

Flask:

aptitude install python-flask

Test it by the procedure detailed in http://flask.pocoo.org/

ClusterShell:

aptitude install 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

pip install pyslurm

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:

aptitude install equivs

then create a configuration file for our new package

equivs-control python-pyslurm

.  Now, we should edit the configuration file for the package to provide python-pyslurm.  The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:

File: nano python-pyslurm

<pre>Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: python-pyslurm
Provides: python-pyslurm
Architecture: all

Description: Dummy package whichs only purpose is to provide pyslurm</pre>

Now, build the package:

equivs-build python-pyslurm

And, install it: {{Command|

Back to Job Scheduler Slurm

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:

aptitude install apache2-dev
aptitude install libapache2-mod-wsgi
apt-get install debuild

Flask:

aptitude install python-flask

Test it by the procedure detailed in http://flask.pocoo.org/

ClusterShell:

aptitude install 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

pip install pyslurm

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:

aptitude install equivs

then create a configuration file for our new package

equivs-control python-pyslurm

.  Now, we should edit the configuration file for the package to provide python-pyslurm.  The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:

File: nano python-pyslurm

<pre>Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: python-pyslurm
Provides: python-pyslurm
Architecture: all

Description: Dummy package whichs only purpose is to provide pyslurm</pre>

Now, build the package:

equivs-build python-pyslurm

And, install it: {{Command|

Back to Job Scheduler Slurm

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:

aptitude install apache2-dev
aptitude install libapache2-mod-wsgi
apt-get install debuild

Flask:

aptitude install python-flask

Test it by the procedure detailed in http://flask.pocoo.org/

ClusterShell:

aptitude install 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

pip install pyslurm

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:

aptitude install equivs

then create a configuration file for our new package

equivs-control python-pyslurm

.  Now, we should edit the configuration file for the package to provide python-pyslurm.  The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:

File: nano python-pyslurm

<pre>Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: python-pyslurm
Provides: python-pyslurm
Architecture: all

Description: Dummy package whichs only purpose is to provide pyslurm</pre>

Now, build the package:

equivs-build python-pyslurm

And, install it: {{Command|

Back to Job Scheduler Slurm

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:

aptitude install apache2-dev
aptitude install libapache2-mod-wsgi
apt-get install debuild

Flask:

aptitude install python-flask

Test it by the procedure detailed in http://flask.pocoo.org/

ClusterShell:

aptitude install 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

pip install pyslurm

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:

aptitude install equivs

then create a configuration file for our new package

equivs-control python-pyslurm

.  Now, we should edit the configuration file for the package to provide python-pyslurm.  The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:

File: nano python-pyslurm

<pre>Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: python-pyslurm
Provides: python-pyslurm
Architecture: all

Description: Dummy package whichs only purpose is to provide pyslurm</pre>

Now, build the package:

equivs-build python-pyslurm

Back to Job Scheduler Slurm

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:

aptitude install apache2-dev
aptitude install libapache2-mod-wsgi
apt-get install debuild

Flask:

aptitude install python-flask

Test it by the procedure detailed in http://flask.pocoo.org/

ClusterShell:

aptitude install 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

pip install pyslurm

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:

aptitude install equivs

then create a configuration file for our new package

equivs-control python-pyslurm

.  Now, we should edit the configuration file for the package to provide python-pyslurm.  The package will provide nothing in reality, but the package management system will be fooled into thinking that the package is present. The actual functionality is going to be provided by the pyslurm pip package. The important options are presented below:

File: nano python-pyslurm

<pre>Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: python-pyslurm
Provides: python-pyslurm
Architecture: all

Description: Dummy package whichs only purpose is to provide pyslurm</pre>

Now, build the package:

equivs-build python-pyslurm

And, install it: {{Command|

And, install it: {{Command|