]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
new scripts for running on eventbuilder hadeb03, mt
authorhadaq <hadaq>
Wed, 30 Jan 2002 20:29:21 +0000 (20:29 +0000)
committerhadaq <hadaq>
Wed, 30 Jan 2002 20:29:21 +0000 (20:29 +0000)
hadaq/all_but_mdc_03.tcl [new file with mode: 0644]
hadaq/all_but_mdc_shw_03.tcl [new file with mode: 0644]
hadaq/trig_shw_nov01_03.tcl [new file with mode: 0644]
hadaq/trigconc_03.tcl [new file with mode: 0644]

diff --git a/hadaq/all_but_mdc_03.tcl b/hadaq/all_but_mdc_03.tcl
new file mode 100644 (file)
index 0000000..67e8db3
--- /dev/null
@@ -0,0 +1,63 @@
+agent create hadeb03 hadaq /home/hadaq/nov01/eb/hadaq_tcl
+agent create r2-29 hades /hades/usr/hades/nov01/trig/hadaq
+agent create r2-28 hades /hades/usr/hades/nov01/rich/hadaq
+agent create r2-27 hades /hades/usr/hades/nov01/rich/hadaq
+agent create r2-24 hades /hades/usr/hades/nov01/rich/hadaq
+agent create r2-14 hades /hades/usr/hades/nov01/shw/hadaq
+
+# maximum bandwidth: 155Mbit
+worker create hadeb03:evtbuild -a -p -2 -m 5 
+worker create hadeb03:netmem -a -p -1 -m 5 -i ATM:0:150 -i ATM:0:151 -i ATM:0:152 -i ATM:0:153 -i ATM:0:154 
+worker create r2-29:memnet -a -p -1 -w 50000 -o ATM:0:150
+worker create r2-29:readout -a -p -2 -w 32768
+worker create r2-28:memnet -a -p -2 -w 20000 -o ATM:0:151
+worker create r2-28:readout -a -p -1 -w 32768
+# -w 10000 in memnet means: 1000kbytes/s
+worker create r2-27:memnet -a -p -2 -w 20000 -o ATM:0:152
+# -w 0 in readout means: every event is sent via ATM
+worker create r2-27:readout -a -p -1 -w 32768
+# priority for rich has changed! readout has higer priority now
+worker create r2-24:memnet -a -p -2 -w 20000 -o ATM:0:153
+worker create r2-24:readout -a -p -1 -w 32768
+worker create r2-14:memnet -a -p -1 -w 30000 -o ATM:0:154
+worker create r2-14:readout -a -p -2 -w 32768
+group create acquisition
+group create run
+group add acquisition r2-29:memnet
+group add acquisition r2-29:readout
+group add acquisition r2-28:memnet
+group add acquisition r2-28:readout
+group add acquisition r2-27:memnet
+group add acquisition r2-27:readout
+group add acquisition r2-24:memnet
+group add acquisition r2-24:readout
+group add acquisition r2-14:memnet
+group add acquisition r2-14:readout
+group add run hadeb03:evtbuild
+group add run hadeb03:netmem
+
+set duringInit {
+       {run_parallel_nov01 e7_25:tof1:init  e7_21:tof2:init e7_41:tof3:init r2-28:rich1:init r2-27:rich2:init r2-29:trigconc:init r2-24:rich0:init r2-14:shw:init  >>&hadaq.log}
+}
+
+set beforeStartAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 e7_25:tof1:reset  e7_21:tof2:reset e7_41:tof3:reset r2-28:rich1:reset r2-27:rich2:reset r2-24:rich0:reset r2-14:shw:reset  >>&hadaq.log}
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 e7_25:tof1:start  e7_21:tof2:start e7_41:tof3:start r2-28:rich1:start r2-27:rich2:start r2-24:rich0:start r2-14:shw:start  >>&hadaq.log}
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}
+
+
+
diff --git a/hadaq/all_but_mdc_shw_03.tcl b/hadaq/all_but_mdc_shw_03.tcl
new file mode 100644 (file)
index 0000000..f0b30f1
--- /dev/null
@@ -0,0 +1,58 @@
+agent create hadeb03 hadaq /home/hadaq/nov01/eb/hadaq_tcl
+agent create r2-29 hades /hades/usr/hades/nov01/trig/hadaq
+agent create r2-27 hades /hades/usr/hades/nov01/rich/hadaq
+agent create r2-28 hades /hades/usr/hades/nov01/rich/hadaq
+agent create r2-24 hades /hades/usr/hades/nov01/rich/hadaq
+
+# maximum bandwidth: 155Mbit
+worker create hadeb03:evtbuild -a -p -2 -m 4
+worker create hadeb03:netmem -a -p -1 -m 4 -i ATM:0:150 -i ATM:0:151 -i ATM:0:152 -i ATM:0:153 
+worker create r2-29:memnet -a -p -1 -w 50000 -o ATM:0:150
+worker create r2-29:readout -a -p -2 -w 32768
+# -w 10000 in memnet means: 1000kbytes/s
+worker create r2-27:memnet -a -p -2 -w 20000 -o ATM:0:151
+# -w 0 in readout means: every event is sent via ATM
+worker create r2-27:readout -a -p -1 -w 32768
+# priority for rich has changed! readout has higer priority now
+worker create r2-28:memnet -a -p -2 -w 20000 -o ATM:0:152
+worker create r2-28:readout -a -p -1 -w 32768
+worker create r2-24:memnet -a -p -2 -w 20000 -o ATM:0:153
+worker create r2-24:readout -a -p -1 -w 32768
+group create acquisition
+group create run
+group add acquisition r2-29:memnet
+group add acquisition r2-29:readout
+group add acquisition r2-27:memnet
+group add acquisition r2-27:readout
+group add acquisition r2-28:memnet
+group add acquisition r2-28:readout
+group add acquisition r2-24:memnet
+group add acquisition r2-24:readout
+group add run hadeb03:evtbuild
+group add run hadeb03:netmem
+
+set duringInit {
+       {run_parallel_nov01 e7_25:tof1:init  e7_21:tof2:init e7_41:tof3:init r2-28:rich1:init r2-27:rich2:init r2-29:trigconc:init r2-24:rich0:init  >>&hadaq.log}
+}
+
+set beforeStartAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 e7_25:tof1:reset  e7_21:tof2:reset e7_41:tof3:reset r2-28:rich1:reset r2-27:rich2:reset r2-24:rich0:reset  >>&hadaq.log}
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 e7_25:tof1:start  e7_21:tof2:start e7_41:tof3:start r2-28:rich1:start r2-27:rich2:start r2-24:rich0:start  >>&hadaq.log}
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}
+
+
+
diff --git a/hadaq/trig_shw_nov01_03.tcl b/hadaq/trig_shw_nov01_03.tcl
new file mode 100644 (file)
index 0000000..f3cd1fe
--- /dev/null
@@ -0,0 +1,49 @@
+agent create hadeb03 hadaq /home/hadaq/nov01/eb/hadaq_tcl
+agent create r2-29 hades /hades/usr/hades/nov01/trig/hadaq
+agent create r2-14 hades /hades/usr/hades/nov01/shw/hadaq
+worker create hadeb03:evtbuild -a -p -2 -m 2
+worker create hadeb03:netmem -a -p -1 -m 2 -i ATM:0:150 -i ATM:0:151 
+worker create r2-29:memnet -a -p -2   -o ATM:0:150
+worker create r2-29:readout -a -p -1  -w 8192
+worker create r2-14:memnet -a -p -2  -o ATM:0:151
+worker create r2-14:readout -a -p -1  -w 8192
+group create acquisition
+group create run
+group add acquisition r2-29:memnet
+group add acquisition r2-29:readout
+group add acquisition r2-14:memnet
+group add acquisition r2-14:readout
+group add run hadeb03:evtbuild
+group add run hadeb03:netmem
+
+set duringInit {
+       {run_parallel_nov01 r2-29:trigconc:init r2-14:shw:init >>&hadaq.log}
+}
+
+set beforeStartAcq {
+        {echo "started" >hadaq.log}
+       {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 r2-14:shw:reset >>&hadaq.log}
+       {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 r2-29:trigconc:start r2-14:shw:start >>&hadaq.log}
+       {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+
+}
+
+set afterStopAcq {
+       {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctureset'} </dev/null >>&hadaq.log}
+}
+
+
+
+
+
+
+
diff --git a/hadaq/trigconc_03.tcl b/hadaq/trigconc_03.tcl
new file mode 100644 (file)
index 0000000..271b818
--- /dev/null
@@ -0,0 +1,40 @@
+agent create hadeb03 hadaq /home/hadaq/nov01/eb/hadaq_tcl
+agent create r2-29 hades /hades/usr/hades/nov01/trig/hadaq
+
+# maximum bandwidth: 155Mbit
+worker create hadeb03:evtbuild -a -p -2 -m 1
+worker create hadeb03:netmem -a -p -1 -m 1 -i ATM:0:150 
+worker create r2-29:memnet -a -p -1 -w 50000 -o ATM:0:150
+worker create r2-29:readout -a -p -2 -w 32768
+group create acquisition
+group create run
+group add acquisition r2-29:memnet
+group add acquisition r2-29:readout
+group add run hadeb03:evtbuild
+group add run hadeb03:netmem
+
+set duringInit {
+       {run_parallel_nov01 e7_25:tof1:init  e7_21:tof2:init e7_41:tof3:init  r2-29:trigconc:init   >>&hadaq.log}
+}
+
+set beforeStartAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 e7_25:tof1:reset  e7_21:tof2:reset e7_41:tof3:reset  >>&hadaq.log}
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel_nov01 e7_25:tof1:start  e7_21:tof2:start e7_41:tof3:start   >>&hadaq.log}
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+       {rsh r2-29 -l hades sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}
+
+
+