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 |
slacapra |
1.36 |
# [SECTION]
|
8 |
nsmirnov |
1.1 |
# key2 = value2
|
9 |
|
|
#
|
10 |
|
|
# in this section corresponds to
|
11 |
|
|
#
|
12 |
slacapra |
1.36 |
# crab.py -key1=value1 -key2=SECTION.value2
|
13 |
nsmirnov |
1.1 |
#
|
14 |
|
|
# in the command line.
|
15 |
|
|
#
|
16 |
slacapra |
1.36 |
jobtype = cmssw
|
17 |
fanzago |
1.30 |
scheduler = edg
|
18 |
slacapra |
1.48 |
#scheduler = glite
|
19 |
|
|
#scheduler = glitecoll
|
20 |
nsmirnov |
1.1 |
|
21 |
gutsche |
1.33 |
[CMSSW]
|
22 |
|
|
|
23 |
slacapra |
1.35 |
### The data you want to access (to be found on DBS)
|
24 |
|
|
### /primarydataset/datatier/processeddataset
|
25 |
|
|
### can be "None" for no input
|
26 |
slacapra |
1.57 |
datasetpath=/ttbar_inclusive_TopRex/CMSSW_1_3_1-Spring07-1122/GEN-SIM-DIGI-RECO
|
27 |
slacapra |
1.34 |
#datasetpath=None
|
28 |
gutsche |
1.33 |
|
29 |
gutsche |
1.63 |
### A single processed dataset can contain multiple runs (in the case of real data !!! )
|
30 |
|
|
### following selection can narrow down the run selection within a single processed dataset
|
31 |
|
|
### selection can be a comma-separated list of run numbers and run number ranges: 1,2,3-4
|
32 |
|
|
#runselection=1,2,3-4
|
33 |
|
|
|
34 |
gutsche |
1.51 |
### DBS/DLS options
|
35 |
slacapra |
1.56 |
# use_dbs_1 = 0
|
36 |
gutsche |
1.51 |
# dbs_url = http://cmsdoc.cern.ch/cms/test/aprom/DBS/CGIServer/prodquery
|
37 |
|
|
# dbs_instance = MCGlobal/Writer
|
38 |
|
|
# dls_type = mysql
|
39 |
|
|
# dls_endpoint = lfc-cms-test.cern.ch/grid/cms/DLS/LFC
|
40 |
mkirn |
1.40 |
|
41 |
fanzago |
1.60 |
|
42 |
slacapra |
1.35 |
### The ParameterSet you want to use
|
43 |
spiga |
1.54 |
pset=runSimHitAnalyzer.cfg
|
44 |
slacapra |
1.41 |
#pset= pythia.cfg
|
45 |
gutsche |
1.33 |
|
46 |
slacapra |
1.41 |
### Total number of events to be accessed: -1 means all ("-1" is not usable if no input)
|
47 |
slacapra |
1.42 |
#total_number_of_events=9000
|
48 |
|
|
total_number_of_events=-1
|
49 |
gutsche |
1.33 |
|
50 |
slacapra |
1.37 |
### Number of events to be processed per job
|
51 |
slacapra |
1.41 |
#events_per_job = 1000
|
52 |
slacapra |
1.38 |
|
53 |
|
|
### Number of jobs
|
54 |
slacapra |
1.57 |
number_of_jobs = 1
|
55 |
slacapra |
1.34 |
|
56 |
slacapra |
1.36 |
### The output files produced by your application (comma separated list)
|
57 |
spiga |
1.55 |
output_file = Histos.root
|
58 |
fanzago |
1.14 |
|
59 |
slacapra |
1.35 |
[USER]
|
60 |
fanzago |
1.65 |
|
61 |
|
|
################################
|
62 |
|
|
#### to publish output data ####
|
63 |
|
|
################################
|
64 |
|
|
|
65 |
spiga |
1.64 |
publish_data=0
|
66 |
fanzago |
1.65 |
#publish_data_name = yourDataName
|
67 |
|
|
#dbs_url_for_publication = http://cmssrv17.fnal.gov:8989/DBS_1_0_4_pre2/servlet/DBSServlet
|
68 |
fanzago |
1.61 |
|
69 |
slacapra |
1.35 |
################################
|
70 |
|
|
#### additional input file #####
|
71 |
|
|
################################
|
72 |
|
|
|
73 |
slacapra |
1.48 |
## files to be put in InputSandBox, full path or in the current directory
|
74 |
|
|
## (wildcard * are allowed): comma separated list
|
75 |
slacapra |
1.35 |
#additional_input_files = /home_local/fanzago/fede.txt, /home_local/fanzago/fede.prova
|
76 |
|
|
|
77 |
|
|
|
78 |
fanzago |
1.14 |
#################################
|
79 |
|
|
######### CRAB DIR ############
|
80 |
|
|
#################################
|
81 |
slacapra |
1.17 |
|
82 |
fanzago |
1.20 |
## Name of UI directory where CRAB will create job to submit (with full path).
|
83 |
fanzago |
1.14 |
## If commented, the default directory will be "crab_0_data_time"
|
84 |
fanzago |
1.20 |
#ui_working_dir = /full_path/mu03_DY2mu
|
85 |
|
|
#ui_working_dir : /full_path/%(dataset)s
|
86 |
nsmirnov |
1.1 |
|
87 |
fanzago |
1.14 |
#################################
|
88 |
|
|
#### JOB OUTPUT MANAGEMENT #####
|
89 |
|
|
#################################
|
90 |
|
|
|
91 |
fanzago |
1.23 |
### RETRIEVE JOB OUTPUT INTO UI ###
|
92 |
|
|
## to have back the job executable output into UI (return_data= 1)
|
93 |
fanzago |
1.14 |
return_data = 1
|
94 |
|
|
|
95 |
|
|
### If return_data = 1 ###
|
96 |
fanzago |
1.23 |
## UI directory where to store the CMS executable output
|
97 |
nsmirnov |
1.1 |
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
98 |
fanzago |
1.20 |
#outputdir=/home/fanzago/CRAB/Crab/python/out_orca
|
99 |
nsmirnov |
1.1 |
|
100 |
fanzago |
1.14 |
### If return_data = 1 ###
|
101 |
|
|
## UI directory where to store the stderr, stdout and .BrokerInfo of submitted jobs
|
102 |
|
|
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
103 |
|
|
#logdir=/home/fanzago/CRAB/UserTools/src/grid_job_log
|
104 |
slacapra |
1.18 |
|
105 |
fanzago |
1.23 |
### COPY JOB OUTPUT INTO A SE ###
|
106 |
|
|
## if you want to copy the CMS executable output into a SE (i:e castor)
|
107 |
fanzago |
1.14 |
### WARNING: if the copy fails and return_data = 0, the output is lost
|
108 |
|
|
#copy_data = 1
|
109 |
|
|
|
110 |
|
|
### if copy_data = 1 ###
|
111 |
fanzago |
1.23 |
## name of the SE where to copy the CMS executable output.
|
112 |
slacapra |
1.58 |
#storage_element = srm.cern.ch
|
113 |
fanzago |
1.14 |
## and the SE directory (or the mountpoint) that has to be writable from all
|
114 |
fanzago |
1.20 |
#storage_path = /castor/cern.ch/user/u/user
|
115 |
fanzago |
1.61 |
#### LNL SRM
|
116 |
|
|
#storage_element = t2-srm-02.lnl.infn.it
|
117 |
|
|
#storage_path = /srm/managerv1?SFN=/pnfs/lnl.infn.it/data/cms/store/user
|
118 |
slacapra |
1.18 |
|
119 |
fanzago |
1.23 |
### REGISTER JOB OUTPUT IN THE LFC CATALOG ###
|
120 |
|
|
## if you want also to register the CMS executable output into the LFC catalog
|
121 |
fanzago |
1.14 |
## WARNING: to use with copy_data = 1
|
122 |
|
|
#register_data = 1
|
123 |
slacapra |
1.18 |
|
124 |
fanzago |
1.14 |
### if register_data = 1
|
125 |
fanzago |
1.23 |
## If you register the CMS output file into the LFC catalog, this is the first part of LFN
|
126 |
fanzago |
1.14 |
### example LFN="lfn_dir"/"output_file"
|
127 |
fanzago |
1.20 |
#lfn_dir = MyDirLFN
|
128 |
fanzago |
1.14 |
|
129 |
|
|
#################################
|
130 |
|
|
####### JOB MONITORING ### #####
|
131 |
|
|
#################################
|
132 |
nsmirnov |
1.1 |
|
133 |
slacapra |
1.10 |
|
134 |
slacapra |
1.17 |
### Use central BOSS DB instead of one for each task: the DB must be already been setup!
|
135 |
slacapra |
1.19 |
use_central_bossDB = 0
|
136 |
slacapra |
1.15 |
|
137 |
slacapra |
1.17 |
### Use Boss RealTime monitoring
|
138 |
fanzago |
1.20 |
use_boss_rt = 1
|
139 |
slacapra |
1.17 |
|
140 |
fanzago |
1.23 |
|
141 |
spiga |
1.53 |
### To use a different set of BOSS config files specify the location here
|
142 |
|
|
boss_clads=
|
143 |
|
|
|
144 |
nsmirnov |
1.1 |
[EDG]
|
145 |
fanzago |
1.23 |
################################
|
146 |
|
|
###### EDG specific stuff ######
|
147 |
|
|
################################
|
148 |
slacapra |
1.17 |
|
149 |
nsmirnov |
1.1 |
# LCG middleware version installed on testbed
|
150 |
|
|
lcg_version = 2
|
151 |
|
|
|
152 |
fanzago |
1.31 |
## to change the CMS-broker RB. The ones available for CMS are "CERN" and "CNAF": the configuration
|
153 |
|
|
## files needed to change the broker will be automatically downloaded from CRAB web page. If the
|
154 |
|
|
## files are already present on the working directory they will be used.
|
155 |
slacapra |
1.42 |
#rb = CNAF
|
156 |
fanzago |
1.31 |
|
157 |
|
|
## CMS myproxy server, to proxy delegation
|
158 |
|
|
proxy_server = myproxy.cern.ch
|
159 |
|
|
|
160 |
slacapra |
1.41 |
## Role in VOMS
|
161 |
|
|
#role = superman
|
162 |
fanzago |
1.31 |
|
163 |
slacapra |
1.48 |
## Group in VOMS
|
164 |
|
|
#group = superheros
|
165 |
|
|
|
166 |
slacapra |
1.49 |
## If you don't want CRAB to check your proxy
|
167 |
|
|
#dont_check_proxy = 1
|
168 |
|
|
|
169 |
fanzago |
1.14 |
## to add other requirements to jdl file, as example the Operating System
|
170 |
|
|
#requirements = (other.GlueHostOperatingSystemName == "RedHat")
|
171 |
slacapra |
1.17 |
|
172 |
slacapra |
1.48 |
## to add other parameters to jdl file: comma separated list, each item _must_
|
173 |
|
|
## be complete, including the closing ";"
|
174 |
slacapra |
1.56 |
#additional_jdl_parameters = AllowZippedISB = false;
|
175 |
slacapra |
1.48 |
|
176 |
fanzago |
1.14 |
## cpu time and wall_clock_time(=real time) in minutes. Written into the jdl file
|
177 |
|
|
#max_cpu_time = 60
|
178 |
fanzago |
1.26 |
#max_wall_clock_time = 60
|
179 |
slacapra |
1.17 |
|
180 |
gutsche |
1.47 |
## SE Black List: all the storage elements (SE) containing the following strings (comma
|
181 |
|
|
## separated list) will not be considered for submission.
|
182 |
|
|
## for discovery, please use http://cmslcgco01.cern.ch:8001/
|
183 |
|
|
#se_black_list = edu
|
184 |
|
|
|
185 |
|
|
## SE White List: only the storage elements (SE) containing the following strings (comma
|
186 |
|
|
## separated list) will be considered for submission.
|
187 |
|
|
## for discovery, please use http://cmslcgco01.cern.ch:8001/
|
188 |
|
|
#se_white_list = infn
|
189 |
|
|
|
190 |
slacapra |
1.9 |
## CE Black List: all the CE whose name contains the following strings (comma
|
191 |
|
|
## separated list) will not be considered for submission.
|
192 |
|
|
## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
|
193 |
slacapra |
1.36 |
#ce_black_list = edu
|
194 |
slacapra |
1.17 |
|
195 |
|
|
## CE White List: only the CE whose name contains the following strings (comma
|
196 |
|
|
## separated list) will be considered for submission.
|
197 |
|
|
## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
|
198 |
slacapra |
1.36 |
#ce_white_list = infn
|
199 |
slacapra |
1.17 |
|
200 |
fanzago |
1.14 |
## fields written into jdl
|
201 |
|
|
virtual_organization = cms
|
202 |
slacapra |
1.17 |
|
203 |
|
|
## number or retry count
|
204 |
slacapra |
1.34 |
retry_count = 2
|
205 |
fanzago |
1.21 |
|
206 |
fanzago |
1.23 |
## LFC catalog parameters
|
207 |
fanzago |
1.22 |
lcg_catalog_type = lfc
|
208 |
fanzago |
1.21 |
lfc_host = lfc-cms-test.cern.ch
|
209 |
|
|
lfc_home = /grid/cms
|
210 |
gutsche |
1.50 |
|
211 |
|
|
[CONDORG]
|
212 |
|
|
|
213 |
|
|
# Set this to condor to override the batchsystem defined in gridcat.
|
214 |
|
|
#batchsystem = condor
|
215 |
|
|
|
216 |
|
|
# Specify addition condor_g requirments
|
217 |
|
|
# use this requirment to run on a cms dedicated hardare
|
218 |
|
|
# globus_rsl = (condor_submit=(requirements 'ClusterName == \"CMS\" && (Arch == \"INTEL\" || Arch == \"X86_64\")'))
|
219 |
|
|
# use this requirement to run on the new hardware
|
220 |
|
|
#globus_rsl = (condor_submit=(requirements 'regexp(\"cms-*\",Machine)'))
|
221 |
|
|
|