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.43 |
datasetpath = /CSA06-082-os-ZMuMu/DIGI/CMSSW_0_8_2-GEN-SIM-DIGI-1155826058-merged
|
27 |
slacapra |
1.34 |
#datasetpath=None
|
28 |
gutsche |
1.33 |
|
29 |
slacapra |
1.42 |
|
30 |
slacapra |
1.44 |
### URL during transition
|
31 |
slacapra |
1.46 |
#dbs_url = http://cmsdoc.cern.ch/cms/test/aprom/DBS/CGIServer/prodquerytest2
|
32 |
mkirn |
1.40 |
### DBS/DLS options (default currently shown)
|
33 |
|
|
#dbs_url = http://cmsdoc.cern.ch/cms/test/aprom/DBS/CGIServer/prodquery
|
34 |
|
|
#dbs_instance = MCLocal/Writer
|
35 |
|
|
#dls_type = mysql
|
36 |
|
|
#dls_endpoint = lfc-cms-test.cern.ch/grid/cms/DLS/LFC
|
37 |
|
|
|
38 |
slacapra |
1.35 |
### The ParameterSet you want to use
|
39 |
slacapra |
1.36 |
pset=readPSetTrivial.cfg
|
40 |
slacapra |
1.41 |
#pset= pythia.cfg
|
41 |
gutsche |
1.33 |
|
42 |
slacapra |
1.41 |
### Total number of events to be accessed: -1 means all ("-1" is not usable if no input)
|
43 |
slacapra |
1.42 |
#total_number_of_events=9000
|
44 |
|
|
total_number_of_events=-1
|
45 |
gutsche |
1.33 |
|
46 |
slacapra |
1.37 |
### Number of events to be processed per job
|
47 |
slacapra |
1.41 |
#events_per_job = 1000
|
48 |
slacapra |
1.38 |
|
49 |
|
|
### Number of jobs
|
50 |
slacapra |
1.41 |
number_of_jobs = 40
|
51 |
slacapra |
1.34 |
|
52 |
slacapra |
1.36 |
### The output files produced by your application (comma separated list)
|
53 |
|
|
output_file = myroot.root
|
54 |
fanzago |
1.14 |
|
55 |
slacapra |
1.35 |
[USER]
|
56 |
|
|
################################
|
57 |
|
|
#### additional input file #####
|
58 |
|
|
################################
|
59 |
|
|
|
60 |
slacapra |
1.48 |
## files to be put in InputSandBox, full path or in the current directory
|
61 |
|
|
## (wildcard * are allowed): comma separated list
|
62 |
slacapra |
1.35 |
#additional_input_files = /home_local/fanzago/fede.txt, /home_local/fanzago/fede.prova
|
63 |
|
|
|
64 |
|
|
|
65 |
fanzago |
1.14 |
#################################
|
66 |
|
|
######### CRAB DIR ############
|
67 |
|
|
#################################
|
68 |
slacapra |
1.17 |
|
69 |
fanzago |
1.20 |
## Name of UI directory where CRAB will create job to submit (with full path).
|
70 |
fanzago |
1.14 |
## If commented, the default directory will be "crab_0_data_time"
|
71 |
fanzago |
1.20 |
#ui_working_dir = /full_path/mu03_DY2mu
|
72 |
|
|
#ui_working_dir : /full_path/%(dataset)s
|
73 |
nsmirnov |
1.1 |
|
74 |
fanzago |
1.14 |
#################################
|
75 |
|
|
#### JOB OUTPUT MANAGEMENT #####
|
76 |
|
|
#################################
|
77 |
|
|
|
78 |
fanzago |
1.23 |
### RETRIEVE JOB OUTPUT INTO UI ###
|
79 |
|
|
## to have back the job executable output into UI (return_data= 1)
|
80 |
fanzago |
1.14 |
return_data = 1
|
81 |
|
|
|
82 |
|
|
### If return_data = 1 ###
|
83 |
fanzago |
1.23 |
## UI directory where to store the CMS executable output
|
84 |
nsmirnov |
1.1 |
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
85 |
fanzago |
1.20 |
#outputdir=/home/fanzago/CRAB/Crab/python/out_orca
|
86 |
nsmirnov |
1.1 |
|
87 |
fanzago |
1.14 |
### If return_data = 1 ###
|
88 |
|
|
## UI directory where to store the stderr, stdout and .BrokerInfo of submitted jobs
|
89 |
|
|
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
90 |
|
|
#logdir=/home/fanzago/CRAB/UserTools/src/grid_job_log
|
91 |
slacapra |
1.18 |
|
92 |
fanzago |
1.23 |
### COPY JOB OUTPUT INTO A SE ###
|
93 |
|
|
## if you want to copy the CMS executable output into a SE (i:e castor)
|
94 |
fanzago |
1.14 |
### WARNING: if the copy fails and return_data = 0, the output is lost
|
95 |
|
|
#copy_data = 1
|
96 |
|
|
|
97 |
|
|
### if copy_data = 1 ###
|
98 |
fanzago |
1.23 |
## name of the SE where to copy the CMS executable output.
|
99 |
fanzago |
1.14 |
#storage_element = castorgrid.cern.ch
|
100 |
|
|
## and the SE directory (or the mountpoint) that has to be writable from all
|
101 |
fanzago |
1.20 |
#storage_path = /castor/cern.ch/user/u/user
|
102 |
slacapra |
1.18 |
|
103 |
fanzago |
1.23 |
### REGISTER JOB OUTPUT IN THE LFC CATALOG ###
|
104 |
|
|
## if you want also to register the CMS executable output into the LFC catalog
|
105 |
fanzago |
1.14 |
## WARNING: to use with copy_data = 1
|
106 |
|
|
#register_data = 1
|
107 |
slacapra |
1.18 |
|
108 |
fanzago |
1.14 |
### if register_data = 1
|
109 |
fanzago |
1.23 |
## If you register the CMS output file into the LFC catalog, this is the first part of LFN
|
110 |
fanzago |
1.14 |
### example LFN="lfn_dir"/"output_file"
|
111 |
fanzago |
1.20 |
#lfn_dir = MyDirLFN
|
112 |
fanzago |
1.14 |
|
113 |
|
|
#################################
|
114 |
|
|
####### JOB MONITORING ### #####
|
115 |
|
|
#################################
|
116 |
nsmirnov |
1.1 |
|
117 |
slacapra |
1.10 |
|
118 |
slacapra |
1.17 |
### Use central BOSS DB instead of one for each task: the DB must be already been setup!
|
119 |
slacapra |
1.19 |
use_central_bossDB = 0
|
120 |
slacapra |
1.15 |
|
121 |
slacapra |
1.17 |
### Use Boss RealTime monitoring
|
122 |
fanzago |
1.20 |
use_boss_rt = 1
|
123 |
slacapra |
1.17 |
|
124 |
fanzago |
1.23 |
|
125 |
nsmirnov |
1.1 |
[EDG]
|
126 |
fanzago |
1.23 |
################################
|
127 |
|
|
###### EDG specific stuff ######
|
128 |
|
|
################################
|
129 |
slacapra |
1.17 |
|
130 |
nsmirnov |
1.1 |
# LCG middleware version installed on testbed
|
131 |
|
|
lcg_version = 2
|
132 |
|
|
|
133 |
fanzago |
1.31 |
## to change the CMS-broker RB. The ones available for CMS are "CERN" and "CNAF": the configuration
|
134 |
|
|
## files needed to change the broker will be automatically downloaded from CRAB web page. If the
|
135 |
|
|
## files are already present on the working directory they will be used.
|
136 |
slacapra |
1.42 |
#rb = CNAF
|
137 |
fanzago |
1.31 |
|
138 |
|
|
## CMS myproxy server, to proxy delegation
|
139 |
|
|
proxy_server = myproxy.cern.ch
|
140 |
|
|
|
141 |
slacapra |
1.41 |
## Role in VOMS
|
142 |
|
|
#role = superman
|
143 |
fanzago |
1.31 |
|
144 |
slacapra |
1.48 |
## Group in VOMS
|
145 |
|
|
#group = superheros
|
146 |
|
|
|
147 |
slacapra |
1.49 |
## If you don't want CRAB to check your proxy
|
148 |
|
|
#dont_check_proxy = 1
|
149 |
|
|
|
150 |
fanzago |
1.14 |
## to add other requirements to jdl file, as example the Operating System
|
151 |
|
|
#requirements = (other.GlueHostOperatingSystemName == "RedHat")
|
152 |
slacapra |
1.17 |
|
153 |
slacapra |
1.48 |
## to add other parameters to jdl file: comma separated list, each item _must_
|
154 |
|
|
## be complete, including the closing ";"
|
155 |
|
|
additional_jdl_parameters = AllowZippedISB = false;
|
156 |
|
|
|
157 |
fanzago |
1.14 |
## cpu time and wall_clock_time(=real time) in minutes. Written into the jdl file
|
158 |
|
|
#max_cpu_time = 60
|
159 |
fanzago |
1.26 |
#max_wall_clock_time = 60
|
160 |
slacapra |
1.17 |
|
161 |
gutsche |
1.47 |
## SE Black List: all the storage elements (SE) containing the following strings (comma
|
162 |
|
|
## separated list) will not be considered for submission.
|
163 |
|
|
## for discovery, please use http://cmslcgco01.cern.ch:8001/
|
164 |
|
|
#se_black_list = edu
|
165 |
|
|
|
166 |
|
|
## SE White List: only the storage elements (SE) containing the following strings (comma
|
167 |
|
|
## separated list) will be considered for submission.
|
168 |
|
|
## for discovery, please use http://cmslcgco01.cern.ch:8001/
|
169 |
|
|
#se_white_list = infn
|
170 |
|
|
|
171 |
slacapra |
1.9 |
## CE Black List: all the CE whose name contains the following strings (comma
|
172 |
|
|
## separated list) will not be considered for submission.
|
173 |
|
|
## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
|
174 |
slacapra |
1.36 |
#ce_black_list = edu
|
175 |
slacapra |
1.17 |
|
176 |
|
|
## CE White List: only the CE whose name contains the following strings (comma
|
177 |
|
|
## separated list) will be considered for submission.
|
178 |
|
|
## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
|
179 |
slacapra |
1.36 |
#ce_white_list = infn
|
180 |
slacapra |
1.17 |
|
181 |
fanzago |
1.14 |
## fields written into jdl
|
182 |
|
|
virtual_organization = cms
|
183 |
slacapra |
1.17 |
|
184 |
|
|
## number or retry count
|
185 |
slacapra |
1.34 |
retry_count = 2
|
186 |
fanzago |
1.21 |
|
187 |
fanzago |
1.23 |
## LFC catalog parameters
|
188 |
fanzago |
1.22 |
lcg_catalog_type = lfc
|
189 |
fanzago |
1.21 |
lfc_host = lfc-cms-test.cern.ch
|
190 |
|
|
lfc_home = /grid/cms
|