Skip to content

Commit 4c4ced0

Browse files
hanwen-clusterhanwen-pcluste
authored andcommitted
Revert "Install Intel OneAPI toolkits and Intel Python"
This reverts commit 9b32ac7 Signed-off-by: Hanwen <[email protected]>
1 parent 747517b commit 4c4ced0

File tree

5 files changed

+2
-146
lines changed

5 files changed

+2
-146
lines changed

CHANGELOG.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste
88

99
**ENHANCEMENTS**
1010
- Add the configuration parameter `DeploymentSettings/DefaultUserHome` to allow users to move the default user's home directory to `/local/home` instead of `/home` (default).
11-
- Add support for installing Intel OneAPI Base Toolkit and HPC Toolkit, and Intel Python.
12-
- Intel OneAPI Base Toolkits: 2023.2.0
13-
- Intel OneAPI HPC Toolkits: 2023.2.0
14-
- Intel Python: 2023.2.0
15-
- Critical Update for Intel oneAPI DPC++/C++ Compiler: 2023.2.1
16-
- Critical Update for Intel Fortran Compiler & Intel Fortran Compiler Classic: 2023.2.1
17-
- Add possibility to choose between Open and Closed Source Nvidia Drivers when building an AMI, through the ```['cluster']['nvidia']['kernel_open']``` cookbook node attribute.
11+
- Add possibility to choose between Open and Closed Source Nvidia Drivers when building an AMI, through the ```['cluster']['nvidia']['kernel_open']``` cookbook node attribute.
1812

1913
**CHANGES**
2014
- Upgrade Slurm to 23.11.3 (from 23.02.7).

cookbooks/aws-parallelcluster-platform/kitchen.platform-config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,13 @@ suites:
9393
verifier:
9494
controls:
9595
- /tag:config_intel_hpc/
96-
- /tag:intel_one_api/
9796
attributes:
9897
resource: intel_hpc:configure
9998
dependencies:
10099
- resource:package_repos:update
101100
- resource:intel_hpc:setup
102101
cluster:
103102
enable_intel_hpc_platform: 'true'
104-
install_intel_base_toolkit: 'true'
105-
install_intel_hpc_toolkit: 'true'
106103
node_type: HeadNode
107104
- name: sticky_bits
108105
run_list:

cookbooks/aws-parallelcluster-platform/resources/intel_hpc/install_intel_software.rb

Lines changed: 0 additions & 41 deletions
This file was deleted.

cookbooks/aws-parallelcluster-platform/resources/intel_hpc/intel_hpc.rb

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -22,71 +22,5 @@
2222
end
2323

2424
action :configure do
25-
return unless intel_hpc_supported? && (node['cluster']['install_intel_base_toolkit'] == "true" || node['cluster']['install_intel_hpc_toolkit'] == "true" || node['cluster']['install_intel_python'] == "true")
26-
27-
base_toolkit_version = "2023.2.0.49397"
28-
base_toolkit_name = "l_BaseKit_p_#{base_toolkit_version}_offline.sh"
29-
base_toolkit_url = "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/#{base_toolkit_name}"
30-
hpc_toolkit_version = "2023.2.0.49440"
31-
hpc_toolkit_name = "l_HPCKit_p_#{hpc_toolkit_version}_offline.sh"
32-
hpc_toolkit_url = "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/#{hpc_toolkit_name}"
33-
intel_python_version = "2023.2.0.49422"
34-
intel_python_name = "l_pythoni39_oneapi_p_#{intel_python_version}_offline.sh"
35-
intel_python_url = "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/03aae3a8-623a-47cf-9655-5dd8fcf86430/#{intel_python_name}"
36-
# Below are critical security updates not included in the tookits:
37-
cpp_compiler_version = "2023.2.1.8"
38-
cpp_compiler_name = "l_dpcpp-cpp-compiler_p_#{cpp_compiler_version}_offline.sh"
39-
cpp_compiler_url = "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ebf5d9aa-17a7-46a4-b5df-ace004227c0e/#{cpp_compiler_name}"
40-
fortran_compiler_version = "2023.2.1.8"
41-
fortran_compiler_name = "l_fortran-compiler_p_#{fortran_compiler_version}_offline.sh"
42-
fortran_compiler_url = "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0d65c8d4-f245-4756-80c4-6712b43cf835/#{fortran_compiler_name}"
43-
44-
intel_offline_installer_dir = '/opt/intel/offlineInstaller'
45-
46-
directory intel_offline_installer_dir do
47-
recursive true
48-
end
49-
50-
if node['cluster']['install_intel_base_toolkit'] == "true"
51-
install_intel_software "Install Intel Base Toolkit" do
52-
software_name base_toolkit_name
53-
software_url base_toolkit_url
54-
intel_offline_installer_dir intel_offline_installer_dir
55-
end
56-
install_intel_software "Critical Update for Intel oneAPI DPC++/C++ Compiler" do
57-
software_name cpp_compiler_name
58-
software_url cpp_compiler_url
59-
intel_offline_installer_dir intel_offline_installer_dir
60-
end
61-
end
62-
if node['cluster']['install_intel_hpc_toolkit'] == "true"
63-
install_intel_software "Intel OneAPI HPC Toolkits" do
64-
software_name hpc_toolkit_name
65-
software_url hpc_toolkit_url
66-
intel_offline_installer_dir intel_offline_installer_dir
67-
end
68-
install_intel_software "Critical Update for Intel Fortran Compiler & Intel Fortran Compiler Classic" do
69-
software_name fortran_compiler_name
70-
software_url fortran_compiler_url
71-
intel_offline_installer_dir intel_offline_installer_dir
72-
end
73-
end
74-
if node['cluster']['install_intel_python'] == "true"
75-
install_intel_software "Install Intel Python" do
76-
software_name intel_python_name
77-
software_url intel_python_url
78-
intel_offline_installer_dir intel_offline_installer_dir
79-
end
80-
end
81-
bash "copy Intel modulefiles to MODULEPATH" do
82-
cwd "/opt/intel"
83-
code <<-INTEL
84-
set -e
85-
./modulefiles-setup.sh --output-dir="/usr/share/Modules/modulefiles/intel"
86-
INTEL
87-
end
88-
end
89-
90-
def intel_hpc_supported?
91-
!arm_instance?
25+
# do nothing
9226
end

cookbooks/aws-parallelcluster-platform/test/controls/intel_hpc_spec.rb

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -137,31 +137,3 @@
137137
its('mode') { should cmp '0755' }
138138
end
139139
end
140-
141-
control 'tag:intel_one_api_toolkits_configured' do
142-
# TODO: Enable this test in daily run. This test requires larger root volume size.
143-
# TODO: After increasing the root volume size, config_intel_hpc_enough_space_on_root_volume needs to be ajusted.
144-
title 'Checks Intel OneApi Toolkits have been installed'
145-
146-
only_if { !os_properties.on_docker? }
147-
only_if { !os_properties.centos7? && !os_properties.arm? }
148-
149-
intel_directory = "/opt/intel"
150-
151-
if node['cluster']['install_intel_base_toolkit'] == 'true'
152-
%w(advisor ccl compiler dal dnnl dpl ipp ippcp mkl vtune).each do |software|
153-
describe directory("#{intel_directory}/#{software}") do
154-
it { should exist }
155-
end
156-
end
157-
end
158-
159-
modulefile_dir = "/usr/share/Modules/modulefiles"
160-
# Intel PSXE module file
161-
describe file("#{modulefile_dir}/intel") do
162-
it { should exist }
163-
its('owner') { should eq 'root' }
164-
its('group') { should eq 'root' }
165-
its('mode') { should cmp '0755' }
166-
end
167-
end

0 commit comments

Comments
 (0)