Skip to content

Commit f73318a

Browse files
Himani Deshpandehanwen-pcluste
authored andcommitted
Upgrade Intel MPI to 2021.13.1.769
1 parent a6b349d commit f73318a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

cookbooks/aws-parallelcluster-platform/recipes/install/intel_mpi.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License.
1717

1818
intelmpi_supported = !arm_instance?
19-
intelmpi_version = '2021.12'
19+
intelmpi_version = '2021.13'
2020

2121
node.default['conditions']['intel_mpi_supported'] = intelmpi_supported
2222
node.default['cluster']['intelmpi']['version'] = intelmpi_version
@@ -25,7 +25,7 @@
2525

2626
return unless intelmpi_supported
2727

28-
intelmpi_full_version = "#{intelmpi_version}.1.8"
28+
intelmpi_full_version = "#{intelmpi_version}.1.769"
2929
intelmpi_installation_path = "/opt/intel/mpi/#{intelmpi_version}"
3030
intelmpi_installer = "l_mpi_oneapi_p_#{intelmpi_full_version}_offline.sh"
3131
intelmpi_installer_path = "#{node['cluster']['sources_dir']}/#{intelmpi_installer}"

cookbooks/aws-parallelcluster-platform/spec/unit/recipes/intel_mpi_spec.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
end
2121

2222
it 'fetches intel mpi installer script' do
23-
is_expected.to create_remote_file("#{source_dir}/l_mpi_oneapi_p_2021.12.1.8_offline.sh").with(
24-
source: "https://#{aws_region}-aws-parallelcluster.s3.#{aws_region}.test_aws_domain/archives/impi/l_mpi_oneapi_p_2021.12.1.8_offline.sh",
23+
is_expected.to create_remote_file("#{source_dir}/l_mpi_oneapi_p_2021.13.1.769_offline.sh").with(
24+
source: "https://#{aws_region}-aws-parallelcluster.s3.#{aws_region}.test_aws_domain/archives/impi/l_mpi_oneapi_p_2021.13.1.769_offline.sh",
2525
mode: '0744',
2626
retries: 3,
2727
retry_delay: 5
@@ -31,25 +31,25 @@
3131
it 'installs intel mpi' do
3232
is_expected.to run_bash('install intel mpi').with(
3333
cwd: source_dir,
34-
creates: '/opt/intel/mpi/2021.12'
35-
).with_code(%r{chmod +x l_mpi_oneapi_p_2021.12.1.8_offline.sh --remove-extracted-files yes -a --silent --eula accept --install-dir /opt/intel})
36-
.with_code(/rm -f l_mpi_oneapi_p_2021.12.1.8_offline.sh/)
34+
creates: '/opt/intel/mpi/2021.13'
35+
).with_code(%r{chmod +x l_mpi_oneapi_p_2021.13.1.769_offline.sh --remove-extracted-files yes -a --silent --eula accept --install-dir /opt/intel})
36+
.with_code(/rm -f l_mpi_oneapi_p_2021.13.1.769_offline.sh/)
3737
end
3838

3939
it 'appends intel module file dir to modules config' do
4040
is_expected.to append_to_config_modules('append intel modules file dir to modules conf')
41-
.with_line('/opt/intel/mpi/2021.12/etc/modulefiles/')
41+
.with_line('/opt/intel/mpi/2021.13/etc/modulefiles/')
4242
end
4343

4444
it 'renames intel mpi module' do
4545
is_expected.to run_execute('rename intel mpi modules file name').with(
46-
command: "mv /opt/intel/mpi/2021.12/etc/modulefiles/mpi /opt/intel/mpi/2021.12/etc/modulefiles/intelmpi",
47-
creates: '/opt/intel/mpi/2021.12/etc/modulefiles/intelmpi'
46+
command: "mv /opt/intel/mpi/2021.13/etc/modulefiles/mpi /opt/intel/mpi/2021.13/etc/modulefiles/intelmpi",
47+
creates: '/opt/intel/mpi/2021.13/etc/modulefiles/intelmpi'
4848
)
4949
end
5050

5151
it 'adds Qt source file' do
52-
is_expected.to create_template("/opt/intel/mpi/2021.12/qt_source_code.txt").with(
52+
is_expected.to create_template("/opt/intel/mpi/2021.13/qt_source_code.txt").with(
5353
source: 'intel_mpi/qt_source_code.erb',
5454
owner: 'root',
5555
group: 'root',

0 commit comments

Comments
 (0)