#这个脚本是用在子节点上的 ip要自己下 先装头结点
#!/bin/sh
#in head node , make sure the enviornment is clean , or you should use 'clean' script
#run as root , and run in SLURM_DIR
HEADNODE_IP=192.168.192.*
NODE1_IP=192.168.192.*
SLURM_DIR=/home/slurm
mkdir -p $SLURM_DIR
cd $SLURM_DIR
if [ ! -f "munge_0.5.10.orig.tar.bz2" ]
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/munge/0.5.10-1/munge_0.5.10.orig.tar.bz2