Skip to content
5 changes: 5 additions & 0 deletions ansible/fatimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@
tasks_from: install.yml
when: "'alertmanager' in group_names"

- name: Download HPL source
include_role:
name: hpctests
tasks_from: source-hpl.yml

- hosts: prometheus
become: yes
gather_facts: yes
Expand Down
14 changes: 8 additions & 6 deletions ansible/roles/hpctests/tasks/build-hpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@
path: "{{ hpctests_rootdir }}/hpl"
state: directory

- name: Download HPL sources
unarchive:
src: "http://www.netlib.org/benchmark/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
- name: Copy HPL sources from /opt/hpl
copy:
src: "/opt/hpl/hpl-{{ hpctests_hpl_version }}/"
dest: "{{ hpctests_rootdir }}/hpl/hpl-{{ hpctests_hpl_version }}/"
remote_src: yes
dest: "{{ hpctests_rootdir }}/hpl"
keep_newer: yes
owner: "{{ hpctests_user }}"
group: "{{ hpctests_group }}"
mode: '0755'

- name: Copy BLAS make file
command:
cmd: "cp setup/Make.Linux_PII_CBLAS Make.{{ hpctests_hpl_arch }}"
cmd: "cp setup/Make.Linux_PII_CBLAS {{ hpctests_hpl_srcdir }}/Make.{{ hpctests_hpl_arch }}"
chdir: "{{ hpctests_hpl_srcdir }}"
creates: "{{ hpctests_hpl_srcdir }}/Make.{{ hpctests_hpl_arch }}"

Expand Down
15 changes: 15 additions & 0 deletions ansible/roles/hpctests/tasks/source-hpl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---

- name: Make directory
file:
path: "/opt/hpl"
state: directory
mode: '0755'

- name: Download HPL sources
unarchive:
src: "http://www.netlib.org/benchmark/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
remote_src: yes
dest: "/opt/hpl"
keep_newer: yes
mode: '0755'
4 changes: 2 additions & 2 deletions environments/.stackhpc/tofu/cluster_image.auto.tfvars.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"cluster_image": {
"RL8": "openhpc-RL8-250708-1502-1494192e",
"RL9": "openhpc-RL9-250708-1547-1494192e"
"RL8": "openhpc-RL8-250731-1310-5639c2a4",
"RL9": "openhpc-RL9-250731-1310-5639c2a4"
}
}
Loading