Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[develop] Upgrade slurm to 23.02.05 and also PMIx and libjwt #2454

Merged
merged 7 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste

3.7.1
------

**CHANGES**
- Upgrade Slurm to 23.02.5 (from 23.02.4).
- Upgrade Pmix to 4.2.6 (from 3.2.3).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Slurm attributes shared between install_slurm and configure_slurm_accounting
default['cluster']['slurm']['commit'] = ''
default['cluster']['slurm']['sha256'] = '7290143a71ce2797d0df3423f08396fd5c0ae4504749ff372d6860b2d6a3a1b0'
default['cluster']['slurm']['sha256'] = '4fee743a34514d8fe487080048256f5ee032374ed5f42d0eae342110dcd59edf'
default['cluster']['slurm']['install_dir'] = '/opt/slurm'

default['cluster']['dns_domain'] = nil
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Slurm
default['cluster']['slurm']['version'] = '23-02-4-1'
default['cluster']['slurm']['version'] = '23-02-5-1'
# Munge
default['cluster']['munge']['munge_version'] = '0.5.15'
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
# limitations under the License.

jwt_version = '1.12.0'
jwt_version = '1.15.3'
jwt_url = "https://github.com/benmcollins/libjwt/archive/refs/tags/v#{jwt_version}.tar.gz"
jwt_tarball = "#{node['cluster']['sources_dir']}/libjwt-#{jwt_version}.tar.gz"
jwt_sha256 = 'eaf5d8b31d867c02dde767efa2cf494840885a415a3c9a62680bf870a4511bee'
jwt_sha256 = 'cb2fd95123689e7d209a3a8c060e02f68341c9a5ded524c0cd881a8cd20d711f'

remote_file jwt_tarball do
source jwt_url
Expand All @@ -37,7 +37,7 @@
cwd Chef::Config[:file_cache_path]
code <<-LIBJWT
set -e
tar xf #{jwt_tarball}
tar xf #{jwt_tarball} --no-same-owner
cd libjwt-#{jwt_version}
autoreconf --force --install
./configure --prefix=/opt/libjwt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
# limitations under the License.

# PMIx software
pmix_version = '3.2.3'
pmix_version = '4.2.6'
pmix_url = "https://github.com/openpmix/openpmix/releases/download/v#{pmix_version}/pmix-#{pmix_version}.tar.gz"
pmix_sha256 = '1325a1355d0794196bb47665053fdbc588f9183aa5385f3581b668427316306e'
pmix_sha256 = '2085615d1b8d72d944b4580cfd0ec958ce9050f9c7585081351ddaf1d63fe201'
pmix_tarball = "#{node['cluster']['sources_dir']}/pmix-#{pmix_version}.tar.gz"

remote_file pmix_tarball do
Expand All @@ -36,7 +36,7 @@
cwd Chef::Config[:file_cache_path]
code <<-PMIX
set -e
tar xf #{pmix_tarball}
tar xf #{pmix_tarball} --no-same-owner
cd pmix-#{pmix_version}
./autogen.pl
./configure --prefix=/opt/pmix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
its('group') { should eq 'root' }
end

describe file("#{slurm_library_folder}/mpi_pmix_v3.so") do
describe file("#{slurm_library_folder}/mpi_pmix_v4.so") do
it { should exist }
its('mode') { should cmp '0755' }
its('owner') { should eq 'root' }
Expand Down
Loading