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 55 path : " {{ hpctests_rootdir }}/hpl"
66 state : directory
77
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"
1212 remote_src : yes
1313 owner : " {{ hpctests_user }}"
1414 group : " {{ hpctests_group }}"
1515 mode : ' 0755'
16+ keep_newer : yes
1617
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
2223
2324- name : Modify make file
2425 replace :
Original file line number Diff line number Diff line change 88 group : root
99 mode : ' 0755'
1010
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"
1715 owner : root
1816 group : root
19- mode : ' 0755 '
17+ mode : ' 0644 '
You can’t perform that action at this time.
0 commit comments