diff loop_qsub.sh @ 10:f94fc7812cd8

Modified benchmark program
author Nobuyasu
date Fri, 17 Jan 2014 11:31:28 +0900
parents d4f55fd47603
children
line wrap: on
line diff
--- a/loop_qsub.sh	Sat Jan 11 04:41:24 2014 +0900
+++ b/loop_qsub.sh	Fri Jan 17 11:31:28 2014 +0900
@@ -5,9 +5,14 @@
 
 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_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
+ 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"