Skip to content

Commit bd1834d

Browse files
committed
Add environment-modules requirement to install Intel MPI on CentOS8
The `environment-modules` package installation automatically creates the `/usr/share/Modules/` folder, required by the intel_mpi recipe. ## Tests Verified installation: ``` $ rpm -qa | grep intel-mpi intel-mpi-rt-2019.7-217-2019.7-217.x86_64 intel-mpi-doc-2019-2019.7-217.x86_64 intel-mpi-psxe-2019.7-102-2019.7-102.x86_64 intel-mpi-installer-license-2019.7-217-2019.7-217.x86_64 intel-mpi-sdk-2019.7-217-2019.7-217.x86_64 ``` ## References * https://forums.centos.org/viewtopic.php?t=74035 Signed-off-by: Enrico Usai <[email protected]>
1 parent 857f37e commit bd1834d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

attributes/default.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@
208208
end
209209
if node['platform_version'].to_i >= 8
210210
# gdisk required for FSx
211-
default['cfncluster']['base_packages'].push('gdisk')
211+
# environment-modules required for IntelMPI
212+
default['cfncluster']['base_packages'].push('gdisk', 'environment-modules')
212213
end
213214

214215
default['cfncluster']['kernel_devel_pkg']['name'] = "kernel-lt-devel" if node['platform'] == 'centos' && node['platform_version'].to_i >= 6 && node['platform_version'].to_i < 7

0 commit comments

Comments
 (0)