Skip to content

Commit 642d500

Browse files
authored
Merge pull request #743 from stackhpc/fix/build-hpl-fatimage
Move HPL source download to fatimage build
2 parents b87ba50 + 1c30c64 commit 642d500

File tree

5 files changed

+37
-19
lines changed

5 files changed

+37
-19
lines changed

ansible/fatimage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@
190190
tasks_from: install.yml
191191
when: "'alertmanager' in group_names"
192192

193+
- name: Download HPL source
194+
include_role:
195+
name: hpctests
196+
tasks_from: source-hpl.yml
197+
193198
- hosts: prometheus
194199
become: yes
195200
gather_facts: yes

ansible/roles/hpctests/tasks/build-hpl.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@
55
path: "{{ hpctests_rootdir }}/hpl"
66
state: directory
77

8-
- name: Download HPL sources
8+
- name: Unarchive HPL sources from /opt/hpl
99
unarchive:
10-
src: "http://www.netlib.org/benchmark/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
11-
remote_src: yes
10+
src: "/opt/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
1211
dest: "{{ hpctests_rootdir }}/hpl"
12+
remote_src: yes
13+
owner: "{{ hpctests_user }}"
14+
group: "{{ hpctests_group }}"
15+
mode: '0755'
1316
keep_newer: yes
1417

15-
- name: Copy BLAS make file
16-
command:
17-
cmd: "cp setup/Make.Linux_PII_CBLAS Make.{{ hpctests_hpl_arch }}"
18-
chdir: "{{ hpctests_hpl_srcdir }}"
19-
creates: "{{ hpctests_hpl_srcdir }}/Make.{{ hpctests_hpl_arch }}"
18+
- name: Copy BLAS makefile
19+
copy:
20+
src: "{{ hpctests_hpl_srcdir }}/setup/Make.Linux_PII_CBLAS"
21+
dest: "{{ hpctests_hpl_srcdir }}/Make.{{ hpctests_hpl_arch }}"
22+
remote_src: yes
2023

2124
- name: Modify make file
2225
replace:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
3+
- name: Make directory
4+
file:
5+
path: "/opt/hpl"
6+
state: directory
7+
owner: root
8+
group: root
9+
mode: '0755'
10+
11+
- name: Download HPL tarball
12+
get_url:
13+
url: "http://www.netlib.org/benchmark/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
14+
dest: "/opt/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
15+
owner: root
16+
group: root
17+
mode: '0644'

docs/experimental/isolated-clusters.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,7 @@ created by cookiecutter for a new environment.
1212
The full list of features and whether they are functional on such an "isolated"
1313
network is shown in the table below. Note that:
1414

15-
1. The `hpl` test from the `ansible/adhoc/hpctests.yml` playbook is not
16-
functional and must be skipped using:
17-
18-
```shell
19-
ansible-playbook ansible/adhoc/hpctests.yml --skip-tags hpl-solo
20-
```
21-
22-
2. Using [EESSI](https://www.eessi.io/docs/) necessarily requires outbound
15+
- Using [EESSI](https://www.eessi.io/docs/) necessarily requires outbound
2316
network access for the CernVM File System. However this can be provided
2417
via an authenticated proxy. While the proxy configuration on the cluster node
2518
is readable by all users, this proxy could be limited via acls to only provide
@@ -51,7 +44,7 @@ See above for definition of "Default" features. In the "Isolated?" column:
5144
| freeipa_client | - | Y - image build required |
5245
| gateway | n/a | n/a - build only |
5346
| grafana | Y | Y |
54-
| hpctests | Y | Y - except hpl-solo, see above |
47+
| hpctests | Y | Y |
5548
| k3s_agent | - | ? |
5649
| k3s_server | - | ? |
5750
| k9s | - | ? |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cluster_image": {
3-
"RL8": "openhpc-RL8-250804-1050-baf92bc5",
4-
"RL9": "openhpc-RL9-250804-1050-baf92bc5"
3+
"RL8": "openhpc-RL8-250805-1048-59517120",
4+
"RL9": "openhpc-RL9-250805-1050-59517120"
55
}
66
}

0 commit comments

Comments
 (0)