From 7f31b5c42c7d39cdb2b9f8197730f8059aba8ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20W=C3=B3jtowicz?= Date: Wed, 18 May 2016 20:09:06 +0200 Subject: [PATCH] added chmod for cpuinfo --- master-ctrl-slaves.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/master-ctrl-slaves.sh b/master-ctrl-slaves.sh index f3053a1..8822e0a 100644 --- a/master-ctrl-slaves.sh +++ b/master-ctrl-slaves.sh @@ -19,6 +19,13 @@ function configure_hosts { echo "error $ret"; continue fi + echo -n "cpuinfo-chmod " + ssh ${SSH_OPTIONS} -i ssh/${SSH_KEY_PRIV} root@${host} 'chmod +x cpuinfo' + ret=$? + if [ $ret -ne 0 ] ; then + echo "error $ret"; continue + fi + echo "config-run " { ssh ${SSH_OPTIONS} -i ssh/${SSH_KEY_PRIV} root@${host} 'bash slave-cmds.sh mro_install netlib_install atlas_st_install openblas_install atlas_mt_install gotoblas2_install mkl_install blis_install cublas_install > install.log 2>&1' ; scp ${SSH_OPTIONS} -i ssh/${SSH_KEY_PRIV} root@${host}:/root/install.log install-${host}.log;