1 |
nsmirnov |
1.1 |
[CRAB]
|
2 |
|
|
#
|
3 |
|
|
# This section contains the default values for general parameters.
|
4 |
|
|
# They can be set also as a command-line option, i.e.
|
5 |
|
|
#
|
6 |
|
|
# key1 = value1
|
7 |
|
|
# key2 = value2
|
8 |
|
|
#
|
9 |
|
|
# in this section corresponds to
|
10 |
|
|
#
|
11 |
|
|
# crab.py -key1=value1 -key2=value2
|
12 |
|
|
#
|
13 |
|
|
# in the command line.
|
14 |
|
|
#
|
15 |
|
|
jobtype = orca
|
16 |
|
|
scheduler = edg
|
17 |
slacapra |
1.15 |
use_boss = 1
|
18 |
nsmirnov |
1.1 |
|
19 |
fanzago |
1.14 |
|
20 |
nsmirnov |
1.1 |
[USER]
|
21 |
|
|
|
22 |
fanzago |
1.14 |
###############################
|
23 |
|
|
####### DATA TO ANALYZE #######
|
24 |
|
|
###############################
|
25 |
slacapra |
1.2 |
|
26 |
nsmirnov |
1.1 |
## CERN
|
27 |
fanzago |
1.14 |
#dataset = bt03_qcd50-80_2tauj
|
28 |
|
|
#owner = bt_2x1033PU761_TkMu_g133_CMS
|
29 |
nsmirnov |
1.1 |
|
30 |
|
|
## CNAF
|
31 |
fanzago |
1.14 |
#dataset = bt03_ttH120_6j1l
|
32 |
|
|
#owner = bt_DST871_2x1033PU_g133_CMS
|
33 |
nsmirnov |
1.1 |
|
34 |
|
|
## PIC
|
35 |
|
|
#dataset = hg03b_hww_2l_140
|
36 |
|
|
#owner = hg_DST871_2x1033PU_g133_CMS
|
37 |
|
|
|
38 |
|
|
## FNAL
|
39 |
slacapra |
1.9 |
# dataset = eg03_tt_2e2mu
|
40 |
|
|
# owner = eg_DST871_2x1033PU_g133_CMS
|
41 |
nsmirnov |
1.1 |
|
42 |
|
|
## LNL
|
43 |
fanzago |
1.14 |
dataset = mu03_W1mu
|
44 |
|
|
owner = mu_DST861_2_3_2x1033PU_g132_CMS
|
45 |
nsmirnov |
1.1 |
|
46 |
|
|
## BA
|
47 |
fanzago |
1.12 |
#dataset = bt03_tt_pureleptonic_etau
|
48 |
|
|
#owner = bt_DST871_2x1033PU_g133_CMS
|
49 |
nsmirnov |
1.1 |
|
50 |
|
|
|
51 |
|
|
### Data Tier to be accessed.
|
52 |
|
|
### Possible candidates are: DST, Digi, Hit (Comma separated list, mind the case!)
|
53 |
fanzago |
1.11 |
#data_tier = DST,Digi,Hit
|
54 |
|
|
data_tier = DST
|
55 |
nsmirnov |
1.1 |
|
56 |
fanzago |
1.14 |
|
57 |
|
|
###############################
|
58 |
|
|
####### ORCA EXECUTABLE #######
|
59 |
|
|
###############################
|
60 |
|
|
|
61 |
|
|
## User must provide the executable into his personal scram area
|
62 |
|
|
executable = ExDSTStatistics
|
63 |
|
|
|
64 |
|
|
### da controllare se e' supportato!!!
|
65 |
|
|
## or the script that calls the executable...
|
66 |
|
|
#script_exe = /home/fanzago/CRAB/UserTools/src/orca_script.sh
|
67 |
|
|
|
68 |
|
|
## Output files produced by executable: comma separated list, can be empty but mut be present!
|
69 |
|
|
output_file = dststatistics.aida
|
70 |
|
|
|
71 |
|
|
## additional files to be put in InputSandBox: comma separated list
|
72 |
|
|
#additional_input_files =
|
73 |
|
|
|
74 |
|
|
###############################
|
75 |
|
|
########## ORCA CARD ##########
|
76 |
|
|
###############################
|
77 |
|
|
|
78 |
|
|
## orcarc card provided by user (if not into current directory, the full path
|
79 |
|
|
## must to be provided) NB the file must exist (could be empty)
|
80 |
nsmirnov |
1.1 |
orcarc_file = orcarc.main
|
81 |
fanzago |
1.14 |
|
82 |
|
|
## First event to analyze: default is 0
|
83 |
|
|
first_event = 0
|
84 |
|
|
|
85 |
|
|
## Total number of events to analyze: -1==all
|
86 |
|
|
total_number_of_events = 100
|
87 |
|
|
|
88 |
|
|
## Number of events for each job
|
89 |
|
|
job_number_of_events = 10
|
90 |
|
|
|
91 |
slacapra |
1.5 |
### Total number of jobs to be created: incompatible with previous "job_number_of_events"
|
92 |
slacapra |
1.7 |
total_number_of_jobs = 100
|
93 |
slacapra |
1.5 |
|
94 |
fanzago |
1.14 |
## user software archive: not change!
|
95 |
|
|
build_mode = tgz
|
96 |
|
|
### name of executable archive. If empty, "default.tgz" is used
|
97 |
|
|
tgz =
|
98 |
nsmirnov |
1.1 |
|
99 |
fanzago |
1.14 |
#################################
|
100 |
|
|
######### CRAB DIR ############
|
101 |
|
|
#################################
|
102 |
|
|
|
103 |
|
|
## Name of UI directory where CRAB will create job to submit.
|
104 |
|
|
## If commented, the default directory will be "crab_0_data_time"
|
105 |
slacapra |
1.7 |
#ui_working_dir = mu03_DY2mu
|
106 |
|
|
#ui_working_dir : %(dataset)s
|
107 |
nsmirnov |
1.1 |
|
108 |
fanzago |
1.14 |
|
109 |
|
|
#################################
|
110 |
|
|
#### JOB OUTPUT MANAGEMENT #####
|
111 |
|
|
#################################
|
112 |
|
|
|
113 |
|
|
### RETRIEVE ORCA OUTPUT INTO UI ###
|
114 |
|
|
## to have back the orca executable output into UI (return_data= 1)
|
115 |
|
|
return_data = 1
|
116 |
|
|
|
117 |
|
|
### If return_data = 1 ###
|
118 |
|
|
## UI directory where to store the orca executable output
|
119 |
nsmirnov |
1.1 |
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
120 |
fanzago |
1.14 |
#outputdir=/home/fanzago/CRAB/UserTools/src/orca_out
|
121 |
nsmirnov |
1.1 |
|
122 |
fanzago |
1.14 |
### If return_data = 1 ###
|
123 |
|
|
## UI directory where to store the stderr, stdout and .BrokerInfo of submitted jobs
|
124 |
|
|
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
125 |
|
|
#logdir=/home/fanzago/CRAB/UserTools/src/grid_job_log
|
126 |
|
|
|
127 |
|
|
### COPY ORCA OUTPUT INTO A SE ###
|
128 |
|
|
## if you want to copy the orca executable output into a SE (i:e castor)
|
129 |
|
|
### WARNING: if the copy fails and return_data = 0, the output is lost
|
130 |
|
|
#copy_data = 1
|
131 |
|
|
|
132 |
|
|
### if copy_data = 1 ###
|
133 |
|
|
## name of the SE where to copy the orca executable output.
|
134 |
|
|
#storage_element = castorgrid.cern.ch
|
135 |
|
|
## and the SE directory (or the mountpoint) that has to be writable from all
|
136 |
|
|
#storage_path = /castor/cern.ch/user/u/user/
|
137 |
|
|
|
138 |
|
|
### REGISTER ORCA OUTPUT IN THE RLS CATALOG ###
|
139 |
|
|
## if you want also to register the orca executable output into the RLS catalog
|
140 |
|
|
## WARNING: to use with copy_data = 1
|
141 |
|
|
#register_data = 1
|
142 |
|
|
|
143 |
|
|
### if register_data = 1
|
144 |
|
|
## If you register the orca output file into the RLS catalog, this is the first part of LFN
|
145 |
|
|
### example LFN="lfn_dir"/"output_file"
|
146 |
|
|
#lfn_dir = MyDirLFN
|
147 |
|
|
|
148 |
|
|
#################################
|
149 |
|
|
####### JOB MONITORING ### #####
|
150 |
|
|
#################################
|
151 |
nsmirnov |
1.1 |
|
152 |
|
|
### JAM monitoring ###
|
153 |
|
|
### jam perl to send in InputSandbox:
|
154 |
|
|
#run_jam = send.pl
|
155 |
|
|
### name of output of JAM:
|
156 |
|
|
#output_jam = ciao
|
157 |
|
|
|
158 |
slacapra |
1.10 |
### MonALisa Monitoring
|
159 |
|
|
activate_MonALisa = 1
|
160 |
|
|
|
161 |
slacapra |
1.15 |
#################################
|
162 |
|
|
####### JOB MONITORING ### #####
|
163 |
|
|
#################################
|
164 |
|
|
use_central_bossDB = 1
|
165 |
|
|
|
166 |
nsmirnov |
1.1 |
[EDG]
|
167 |
fanzago |
1.14 |
|
168 |
nsmirnov |
1.1 |
#
|
169 |
|
|
# This section contains EDG specific stuff.
|
170 |
|
|
#
|
171 |
fanzago |
1.14 |
|
172 |
nsmirnov |
1.1 |
# LCG middleware version installed on testbed
|
173 |
|
|
lcg_version = 2
|
174 |
|
|
|
175 |
fanzago |
1.14 |
## to change the cms-broker RB (download these files from crab web page)
|
176 |
|
|
#config_vo = /home/fanzago/edg_wl_ui.conf.CMS_CERN
|
177 |
|
|
#config = /home/fanzago/edg_wl_ui_cmd_var.conf.CMS_CERN
|
178 |
|
|
|
179 |
|
|
## to add other requirements to jdl file, as example the Operating System
|
180 |
|
|
#requirements = (other.GlueHostOperatingSystemName == "RedHat")
|
181 |
|
|
|
182 |
|
|
## cpu time and wall_clock_time(=real time) in minutes. Written into the jdl file
|
183 |
|
|
#max_cpu_time = 60
|
184 |
|
|
#max_wall_clock_time = 60
|
185 |
|
|
|
186 |
slacapra |
1.9 |
## CE Black List: all the CE whose name contains the following strings (comma
|
187 |
|
|
## separated list) will not be considered for submission.
|
188 |
|
|
## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
|
189 |
fanzago |
1.14 |
#CE_black_list = bo
|
190 |
|
|
|
191 |
|
|
## fields written into jdl
|
192 |
|
|
virtual_organization = cms
|
193 |
|
|
retry_count = 0
|