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