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;