Mercurial > hg > Members > nobuyasu > jungle_benchmark
view read_write_loop_qsub.sh @ 25:726b2deadbe3
calc_sd.rb
author | Nobuyasu |
---|---|
date | Fri, 31 Jan 2014 04:51:45 +0900 |
parents | 5ea96ce6a1c1 |
children |
line wrap: on
line source
#!/bin/sh start=1 finish=45 for i in `seq $start $finish` do echo "current count = $i" 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=$i:ppn=4 /home/mass/share/student/k128576/jungle_benchmark/stress_read_write.sh while [ "x`qstat`" != "x" ] do echo "waiting for job to complete" sleep 5 done echo "job complete" sleep 15 done