Posts Tagged: slurm

Resetting Drained Slurm Node

After barking up the wrong tree for a while I discovered via StackExchange how to reset a Slurm Node reporting as drained. Run the scontrol command then update the node as shown in the following example commands (amend the word jacob here to the name of your node):

 

Slurm & Environment Modules Bash Error

I had the following error message when trying to assign a job via Slurm (with Environment Modules installed). Since this has come up a few times for me I thought I would detail the solution:

This appears to be a problem related to the version of bash (pre shellshock?) so updating bash and/or the… Read more »

Local Ubuntu Repository

I wanted to set up a local repository for DEB packages I create to be installed among a number of cluster nodes. After building the deb package I added it to my home folder as follows and created the Packages.gz file:

I can now add a new line to my apt sources.list file as… Read more »

Building Slurm Scheduler RPM Packages

centos logo

Download the slurm tarball from http://www.schedmd.com/#repos Install dependencies:

Build the RPM:

After 5 minutes compiling this will create RPMs in the directory: ~/rpmbuild/RPMS/x86_64/ for me this was /root/rpmbuild/RPMS/x86_64/ The created RPMs were as follows: slurm-14.03.10-1.el6.x86_64.rpm slurm-pam_slurm-14.03.10-1.el6.x86_64.rpm slurm-sjobexit-14.03.10-1.el6.x86_64.rpm slurm-slurmdb-direct-14.03.10-1.el6.x86_64.rpm slurm-devel-14.03.10-1.el6.x86_64.rpm slurm-perlapi-14.03.10-1.el6.x86_64.rpm slurm-sjstat-14.03.10-1.el6.x86_64.rpm slurm-sql-14.03.10-1.el6.x86_64.rpm slurm-munge-14.03.10-1.el6.x86_64.rpm slurm-plugins-14.03.10-1.el6.x86_64.rpm slurm-slurmdbd-14.03.10-1.el6.x86_64.rpm slurm-torque-14.03.10-1.el6.x86_64.rpm I then added these RPM files to… Read more »