Mercurial > hg > Members > nobuyasu > jungle_benchmark
view distributed/loop_qsub.sh @ 13:e3fe67fee803
adde hello_post.rb
author | Nobuyasu |
---|---|
date | Mon, 20 Jan 2014 17:01:44 +0900 |
parents | c69a41ffc439 |
children |
line wrap: on
line source
#!/bin/sh start=1 finish=12 for i in `seq $start $finish` do nodenum=$i if [ $i -lt 10 ] then nodenum=0$i fi echo "current count = $i" qsub -e /home/mass/share/student/k128576/jungle_benchmark/distributed/error_log/ -o /home/mass/share/student/k128576/jungle_benchmark/distributed/log/ -v times=5000,schedule=`expr $(date +%s) + 5` -l nodes=$nodenum:ppn=4 /home/mass/share/student/k128576/jungle_benchmark/distributed/stress_write_jungle.sh # qsub -e /home/mass/share/student/k128576/jungle_benchmark/distributed/error_log/ -o /home/mass/share/student/k128576/jungle_benchmark/distributed/log/ -v times=5000,schedule=`expr $(date +%s) + 5` -l nodes=$nodenum:ppn=4 /home/mass/share/student/k128576/jungle_benchmark/distributed/stress_read_jungle.sh while [ "x`qstat`" != "x" ] do echo "waiting for job to complete" sleep 5 done echo "job complete" sleep 15 done