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 - 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 my personal CentOS repo.