annotate scripts/fish_run.sh @ 208:a645cece5edc working

before use Flip in no arraylist
author sugi
date Tue, 26 Mar 2013 17:08:32 +0900
parents 73158dc54c59
children 2a8440684441
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #!/bin/bash
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 max=$1
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 child_num=$2
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 ruby ./topology/treen.rb $1 $2 > ./topology/tree.dot
44
73158dc54c59 fix peek api
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 37
diff changeset
5 java -cp ../Alice.jar alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot -log ./output/manager.log -level debug > ./output/std_manager.log &
37
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 cnt=0
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 while [ $cnt -lt $max ]
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 do
44
73158dc54c59 fix peek api
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 37
diff changeset
10 java -cp ../Alice.jar alice.test.topology.fish.DistributedFish -host `hostname` -port 10000 -p `expr 20000 + $cnt` -log ./output/fish${cnt}.log -level debug > ./output/std_fish${cnt}.log &
37
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 cnt=`expr $cnt + 1`
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 done
ebd44d3e8578 add fish scripts
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 wait