Skip to content

Commit

Permalink
Upgrade Slurm from 20.02.4 to 20.02.7
Browse files Browse the repository at this point in the history
+ Use GitHub as repository to download source code.

Signed-off-by: Enrico Usai <usai@amazon.com>
  • Loading branch information
enrico-usai authored and lukeseawalker committed May 13, 2021
1 parent bb2bf96 commit 2b581c3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ aws-parallelcluster-cookbook CHANGELOG

This file is used to list changes made in each version of the AWS ParallelCluster cookbook.

2.10.4
-----

**CHANGES**
- Upgrade Slurm to version 20.02.7

2.10.3
-----

Expand Down
6 changes: 3 additions & 3 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
default['cfncluster']['torque']['url'] = 'https://github.com/adaptivecomputing/torque/archive/6.1.2.tar.gz'
# Slurm software
default['cfncluster']['slurm_plugin_dir'] = '/etc/parallelcluster/slurm_plugin'
default['cfncluster']['slurm']['version'] = '20.02.4'
default['cfncluster']['slurm']['url'] = 'https://download.schedmd.com/slurm/slurm-20.02.4.tar.bz2'
default['cfncluster']['slurm']['sha1'] = '294de3a2e1410945eb516c40eff5f92087501893'
default['cfncluster']['slurm']['version'] = '20-02-7-1'
default['cfncluster']['slurm']['url'] = "https://github.com/SchedMD/slurm/archive/slurm-#{node['cfncluster']['slurm']['version']}.tar.gz"
default['cfncluster']['slurm']['sha1'] = '36548efab7d19f24b3fef3bd52f75efb664349d9'
# PMIx software
default['cfncluster']['pmix']['version'] = '3.1.5'
default['cfncluster']['pmix']['url'] = "https://github.com/openpmix/openpmix/releases/download/v#{node['cfncluster']['pmix']['version']}/pmix-#{node['cfncluster']['pmix']['version']}.tar.gz"
Expand Down
4 changes: 2 additions & 2 deletions recipes/slurm_install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
source #{node['cfncluster']['cookbook_virtualenv_path']}/bin/activate
tar xf #{slurm_tarball}
cd slurm-#{node['cfncluster']['slurm']['version']}
cd slurm-slurm-#{node['cfncluster']['slurm']['version']}
./configure --prefix=/opt/slurm --with-pmix=/opt/pmix
CORES=$(grep processor /proc/cpuinfo | wc -l)
make -j $CORES
Expand Down Expand Up @@ -89,7 +89,7 @@
cwd Chef::Config[:file_cache_path]
code <<-SLURMLICENSE
set -e
cd slurm-#{node['cfncluster']['slurm']['version']}
cd slurm-slurm-#{node['cfncluster']['slurm']['version']}
cp -v COPYING #{node['cfncluster']['license_dir']}/slurm/COPYING
cp -v DISCLAIMER #{node['cfncluster']['license_dir']}/slurm/DISCLAIMER
cp -v LICENSE.OpenSSL #{node['cfncluster']['license_dir']}/slurm/LICENSE.OpenSSL
Expand Down

0 comments on commit 2b581c3

Please sign in to comment.