|
20 | 20 | end |
21 | 21 |
|
22 | 22 | 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", |
25 | 25 | mode: '0744', |
26 | 26 | retries: 3, |
27 | 27 | retry_delay: 5 |
|
31 | 31 | it 'installs intel mpi' do |
32 | 32 | is_expected.to run_bash('install intel mpi').with( |
33 | 33 | 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/) |
37 | 37 | end |
38 | 38 |
|
39 | 39 | it 'appends intel module file dir to modules config' do |
40 | 40 | 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/') |
42 | 42 | end |
43 | 43 |
|
44 | 44 | it 'renames intel mpi module' do |
45 | 45 | 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' |
48 | 48 | ) |
49 | 49 | end |
50 | 50 |
|
51 | 51 | 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( |
53 | 53 | source: 'intel_mpi/qt_source_code.erb', |
54 | 54 | owner: 'root', |
55 | 55 | group: 'root', |
|
0 commit comments