changeset 9:678c260c0dc7

fix
author Daichi TOMA
date Sat, 13 Jul 2013 06:19:04 +0900
parents d0f106599a6d
children 48c3ad9cb64c
files loop_qsub.sh stress_read.sh stress_write.sh
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/loop_qsub.sh	Sat Jul 13 01:29:56 2013 +0900
+++ b/loop_qsub.sh	Sat Jul 13 06:19:04 2013 +0900
@@ -6,7 +6,7 @@
 for i in `seq $start $finish`
 do
  echo "current count = $i"
- qsub -v times=5000,schedule=`expr $(date +%s) + 5` -l nodes=$i:ppn=4 stress_read.sh
+ qsub -v times=5000,schedule=`expr $(date +%s) + 5` -l nodes=$i:ppn=4 stress_write.sh
  while [ "x`qstat`" != "x" ]
  do
   echo "waiting for job to complete"
--- a/stress_read.sh	Sat Jul 13 01:29:56 2013 +0900
+++ b/stress_read.sh	Sat Jul 13 06:19:04 2013 +0900
@@ -9,7 +9,7 @@
 function run() {
  while read serv
  do
-  ssh $serv "/usr/bin/ruby $script $schedule $times" &
+  ssh $serv "/usr/local/bin/ruby $script $schedule $times" &
  done   
  wait
 }
--- a/stress_write.sh	Sat Jul 13 01:29:56 2013 +0900
+++ b/stress_write.sh	Sat Jul 13 06:19:04 2013 +0900
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 #PBS -q tqueue
-#PBS -N read_jungle_bldsv10
+#PBS -N write_jungle_bldsv10
 #PBS -l walltime=00:05:00
 
 script=/home/mass/share/student/k128569/benchmark/stress_write.rb
@@ -9,7 +9,7 @@
 function run() {
  while read serv
  do
-  ssh $serv "/usr/bin/ruby $script $schedule $times" &
+  ssh $serv "/usr/local/bin/ruby $script $schedule $times" &
  done   
  wait
 }