Examples of running FD scripts
These jobs were run from account jec on shift.
Submitting the FD Data Quality monitoring job
shift8[147] cd ~/rope414/od414
shift8[148] ls
p83_3.ffr p83_3.ffr~ rodfd* rodfd.cra r8068.ffr
odfd414.cra dsn.ffr rod414_97* rod414.cra
shift8[149] setenv Q batch
shift8[150] rodfd 88 1 d Cat 5000000
INTER = T
/shift/shift7/data20/ws/jec/rodfd_27221
Trig1 = 1
Trig2 = 1
Runlim =
Period 88 Expt 9
*FILE 'CAL ' 'IN ' 11 0 ' ' 'EXP9' 'opalcal/opalcal.rzexp9'
*CATALOG 21 'cat.file'
*CATFILE 'DDST' 'IN' 22 8100 'XL ' ' '
'//CERN/OPAL/dDST/PASS1/FYZ1/P88'
TRIGGER 1 5000000 1
0
total 6
-rw-r--r-- 1 jec ws 749 Nov 7 13:10 odfd88_1.ffread
-rw-r--r-- 1 jec ws 237 Nov 7 13:10 fort.4
lrwxr-xr-x 1 jec ws 33 Nov 7 13:10 odfd88_1.cra ->
/u/ws/jec/rope414/od414/rodfd.cra
lrwxr-xr-x 1 jec ws 33 Nov 7 13:10 opalcal ->
/shift/shift7/
opalcnst/ws/opalcal/
lrwxr-xr-x 1 jec ws 17 Nov 7 13:10 cat.file ->
/u/ws/pit/filedbs
Submitting rodfd as odfd88_1
Request 55690.shift8 submitted to queue: cpqbatch.
0.667u 2.228s 0:53.15 5.4% 0+0k 167+6io 9pf+0w
shift8[151]qjob
===============================================================
NQS Version: 2.8 BATCH DEVICE PIPE REQUESTS on shift8
===============================================================
REQUEST NAME OWNER QUEUE PRI NICE CPU STATE
55690.shift8 rodfd jec cpqbatch 63 20 UNSPEC. WAITING
Updating the OPCAL database
The following commands submit a job to convert the title file
~/ttl/fdexp10.ttl
to the rz file ~/rz/fdexp10.rzdata :-
shift6[18] pwd
/u/ws/jec/rope416/opcal_updt
shift6[19] setenv Q wsvs
shift6[20] fdocup fdexp10
INTER = T
/shift/shift6/data55/ws/jec/tempn/fdocup_5981
total 32
-rw-r--r-- 1 jec ws 8633 Jun 30 13:46 fort.8
-rw-r--r-- 1 jec ws 758 Jun 30 13:46 fdocup_fdexp10.cra
Submitting fdocup as fdocup_fdexp10
Job <72508> is submitted to queue .
shift6[21] qjob
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
72508 jec PEND wsvs shift6 *dt/fdocup Jun 30 13:46
The log file ~/list/fdocup_fdexp10.lis
is also available.
Updating the SU database
These commands convert the
data file
~/ttl/fdlu9_3.ttl into ~/rz/fdlu9_3.rzdata.
The log file is also available.
shift8[28] pwd
/u2/ws/jec/rope414/fdlu
shift8[29] fdlu_upda fdlu9_3
Submitting fdlu_upda as fdlu_upda_fdlu9_3
Request 56412.shift8 submitted to queue: cpqwsvs.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ /u/ws/jec/rope414/fdlu , fdlu_upda submitted as fdlu_upda_fdlu9_3
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0.387u 1.249s 0:14.50 11.1% 0+0k 55+3io 3pf+0w
shift8[30] qjob
===============================================================
NQS Version: 2.8 BATCH DEVICE PIPE REQUESTS on shift7
===============================================================
REQUEST NAME OWNER QUEUE PRI NICE CPU STATE
56412.shift8 fdlu_upda jec wsvs 31 20 300 RUNNING
Copy the rz file to hpplus
shift8[33] ls -l ~/rz
total 704
-rw-r--r-- 1 jec ws 114688 Nov 11 13:12 fdlu9_3.rzdata
shift8[34] ftp hpplus
Connected to hpplus.plus.cern.ch.
220 hpplus08 FTP server (Version 4.162 Tue Nov 1 10:50:37 PST 1988) ready.
Name (hpplus:jec):
331 Password required for jec.
Password:
230 User jec logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put ~/rz/fdlu9_3.rzdata opcal/rz/fdlu9_3.rzdata
local: /u/ws/jec/rz/fdlu9_3.rzdata remote: opcal/rz/fdlu9_3.rzdata
200 PORT command successful.
150 Opening BINARY mode data connection for opcal/rz/fdlu9_3.rzdata.
226 Transfer complete.
114688 bytes sent in 0.12 seconds (897.16 Kbytes/s)
ftp> bye
221 Goodbye.
Update the SU database
+> pwd
/afs/cern.ch/user/j/jec/opcal
+> ocman
OCMAN> oc/fi 1 rz/fdlu9_3.rzdata
OCMAN> ld
************** Directory ===> //LU01 <===
Created 971111/1312 Modified 971111/1312
===> List of subdirectories
SUOF Created 971111/1312 at record 3
===> List of objects
TOP CYCLE DATE/TIME NDATA
Number of records = 1 Number of megawords = 0 + 4096 words
Per cent of directory quota used = .098
Per cent of file used = .098
Blocking factor = .000
OCMAN> cd suof
OCMAN> ld
************** Directory ===> //LU01/SUOF/LUFDX09P03 <===
Created 971111/1312 Modified 971111/1312
====> List of objects for experiment number: 9
Logging record informations
---------------------------
Author : J. E. CONBOY
Comment : FDLU EXPT 9 PASS3
Time : 971111:1312
Rec Rec Rec Last Data Period of
type index stat modified words validity
B 0 1 971111:1312 42 8000/ 1: 8092/ 99999999
B 0 2 971111:1312 42 8122/ 1: 8561/ 99999999
B 0 3 971111:1312 42 8590/ 1: 8654/ 99999999
B 0 4 971111:1312 42 8664/ 1: 8999/ 99999999
OCMAN> show 9 8125 1
DZSHOW --- OCMAN
OPTIONS : BLV
DZSHOW +++++ LEVEL 0 ++++++++++ Store /PAWC/ at absolute add
ress 40044268 ++++++++++
LUHD. 1 499131(OPCALPAW) SY/US/IO 0/ 0/ 2 NL/NS/ND 1/ 1/
10 N/U/O/@O 0/ 499977/ 499967/ 499131
-------- LINK part of bank --------
1 / 499151
-------- DATA part of bank --------
1 / 3 9 8122 1 9 85
61 99999999 971111 1312 0
DZSHOW +++++ LEVEL 1 ++++++++++ Store /PAWC/ at absolute add
ress 40044268 ++++++++++
FDCU. 1 499151(OPCALPAW) SY/US/IO 0/ 0/ A3 NL/NS/ND 0/ 0/
4 N/U/O/@O 0/ 499131/ 499130/ 499151
-------- DATA part of bank --------
1 / 3 92.50 3.120 .4700E-01
OCMAN> exit
+>ls
db last.kumac opcal rz
fa ocman rfra updates
+> cp rz/fdlu9_3.rzdata updates/fdlu9_3.rzcal