File tree Expand file tree Collapse file tree 2 files changed +15
-16
lines changed
ansible/roles/hpctests/tasks Expand file tree Collapse file tree 2 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 5
5
path : " {{ hpctests_rootdir }}/hpl"
6
6
state : directory
7
7
8
- - name : Copy HPL sources from /opt/hpl
9
- copy :
10
- src : " /opt/hpl/hpl-{{ hpctests_hpl_version }}/ "
11
- dest : " {{ hpctests_rootdir }}/hpl/hpl-{{ hpctests_hpl_version }}/ "
8
+ - name : Unarchive HPL sources from /opt/hpl
9
+ unarchive :
10
+ src : " /opt/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz "
11
+ dest : " {{ hpctests_rootdir }}/hpl"
12
12
remote_src : yes
13
13
owner : " {{ hpctests_user }}"
14
14
group : " {{ hpctests_group }}"
15
15
mode : ' 0755'
16
+ keep_newer : yes
16
17
17
- - name : Copy BLAS make file
18
- command :
19
- cmd : " cp setup/Make.Linux_PII_CBLAS {{ hpctests_hpl_srcdir }}/Make.{{ hpctests_hpl_arch }} "
20
- chdir : " {{ hpctests_hpl_srcdir }}"
21
- 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
22
23
23
24
- name : Modify make file
24
25
replace :
Original file line number Diff line number Diff line change 8
8
group : root
9
9
mode : ' 0755'
10
10
11
- - name : Download HPL sources
12
- unarchive :
13
- src : " http://www.netlib.org/benchmark/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
14
- remote_src : yes
15
- dest : " /opt/hpl"
16
- keep_newer : yes
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"
17
15
owner : root
18
16
group : root
19
- mode : ' 0755 '
17
+ mode : ' 0644 '
You can’t perform that action at this time.
0 commit comments