Mercurial > hg > Members > nobuyasu > jungle_benchmark
diff distributed/loop_qsub.sh @ 7:867cd5f213d3
Added distributed directory
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 11 Jan 2014 03:24:53 +0900 |
parents | |
children | 9ed378589601 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distributed/loop_qsub.sh Sat Jan 11 03:24:53 2014 +0900 @@ -0,0 +1,18 @@ +#!/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/distributed/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=$i: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