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): [root@machine]# scontrol scontrol: update NodeName=jacob State=DOWN Reason=”undraining”… Read more »
Posts Tagged: slurm
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: bash: BASH_FUNC_module(): line 0: syntax error near unexpected token `)’ bash: BASH_FUNC_module(): line 0: `BASH_FUNC_module() () { eval `/usr/bin/modulecmd bash… 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: apt-get install dpkg-dev mkdir -p /home/jonnymcc/ubuntu_repo cp slurm-14.03.3_14.03.3-1_armhf.deb /home/jonnymcc/ubuntu_repo cd /home/jonnymcc/ubuntu_repo dpkg-scanpackages . /dev/null… Read more »
Building Slurm Scheduler RPM Packages
Download the slurm tarball from http://www.schedmd.com/#repos Install dependencies: yum install munge-devel munge-libs readline-devel perl-ExtUtils-MakeMaker openssl-devel pam-devel rpm-build Build the RPM: rpmbuild -ta ./slurm-14.03.10.tar.bz2 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… Read more »