runall
2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/csh
#
# This script runs a set of N jobs on each of the specified
# systems, using the specified directory to work in.
# A maximum number of runs can be specified "nruns" and
# a timeout can also be used to exit early (look for "sleep").
#
# If you have any questions, call Rich Webb
set echo
@ nruns = 10000
set x = d
# set tx = nctc2
set tx = all3
cd $ROOT/PR
# p_tupdate hw2/chip/rcp
cd rspsim
# make
cd random
# make
cd rsptst
# rsh baraka "cd /hosts/riscy/$ROOT/PR/rspsim/random/rsptst; docomp"
# Just the summaries?
# goto bar
rsh sonya "cd /hosts/riscy/$ROOT/PR/rspsim/random/rsptst; ./rrtgn _$tx $nruns /d/rww/$tx${x} 6 >& /d/rww/$tx${x}.out " < /dev/null >& /dev/null &
rsh mileena "cd /hosts/riscy/$ROOT/PR/rspsim/random/rsptst; ./rrtgn _$tx $nruns /c/rww/$tx${x} 6 >& /c/rww/$tx${x}.out " < /dev/null >& /dev/null &
rsh reptile "cd /hosts/riscy/$ROOT/PR/rspsim/random/rsptst; ./rrtgn _$tx $nruns /d/rww/$tx${x} 6 >& /d/rww/$tx${x}.out " < /dev/null >& /dev/null &
rsh baraka "cd /hosts/riscy/$ROOT/PR/rspsim/random/rsptst; ./rrtgn _$tx $nruns /c/rww/$tx${x} 6 >& /c/rww/$tx${x}.out " < /dev/null >& /dev/null &
rsh kitana "cd /hosts/riscy/$ROOT/PR/rspsim/random/rsptst; ./rrtgn _$tx $nruns /c/rww/$tx${x} 6 >& /c/rww/$tx${x}.out " < /dev/null >& /dev/null &
echo Go............
# 9 days!!!!
@ t = 3 * 24 * 60 * 60
# @ t = 24 * 60 * 60 * 5
# @ t = $t / 2
onintr foo
sleep $t
foo:
onintr bar
rsh sonya "killall rtestgen; sleep 2; killall simv"
rsh mileena "killall rtestgen; sleep 2; killall simv"
rsh reptile "killall rtestgen; sleep 2; killall simv"
rsh baraka "killall rtestgen; sleep 2; killall simv"
rsh kitana "killall rtestgen; sleep 2; killall simv"
wait
sleep 120
bar:
rsh sonya "cd /d/rww ; grep -i fail $tx${x}*out ; cat $tx${x}.*/tot* >> $tx${x}.tots "
rsh mileena "cd /c/rww ; grep -i fail $tx${x}*out ; cat $tx${x}.*/tot* >> $tx${x}.tots "
rsh reptile "cd /d/rww ; grep -i fail $tx${x}*out ; cat $tx${x}.*/tot* >> $tx${x}.tots "
rsh baraka "cd /c/rww ; grep -i fail $tx${x}*out ; cat $tx${x}.*/tot* >> $tx${x}.tots "
rsh kitana "cd /c/rww ; grep -i fail $tx${x}*out ; cat $tx${x}.*/tot* >> $tx${x}.tots "