!/bin/bash # # Mike Gore, 10 Oct 2014 # # Install openmpi on the nodes and headnode . common_vars . NODES update_list update_packages netpipe-openmpi openmpi-bin openmpi-checkpoint openmpi-common openmpi-doc for i in $NODES do if ping -c 1 $i >/dev/null 2>&1 then cat <<EOF | ssh root@"$i" . common_vars . NODES update_list update_packages netpipe-openmpi openmpi-bin openmpi-checkpoint openmpi-common openmpi-doc EOF else echo $i is down fi done
* hard cpu unlimited * hard nproc unlimited * hard as unlimited * hard data unlimited * hard sigpending unlimited * hard nofile unlimited * hard msqqueue unlimited * hard locks unlimited * hard file unlimited