ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/crab.cfg
Revision: 1.35
Committed: Fri Jun 23 15:46:27 2006 UTC (18 years, 10 months ago) by slacapra
Branch: MAIN
CVS Tags: CRAB_1_2_0_pre7
Changes since 1.34: +37 -19 lines
Log Message:
add parameter template for CMSSW

File Contents

# User Rev Content
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 slacapra 1.35 #jobtype = cmssw
16     jobtype = orca
17 fanzago 1.23 #jobtype = famos
18 fanzago 1.30 scheduler = edg
19 nsmirnov 1.1
20 gutsche 1.33 [CMSSW]
21    
22 slacapra 1.35 ### The data you want to access (to be found on DBS)
23     ### /primarydataset/datatier/processeddataset
24     ### can be "None" for no input
25 gutsche 1.33 datasetpath=/PreProdR3Minbias/SIM/GEN-SIM
26 slacapra 1.34 #datasetpath=None
27 gutsche 1.33
28 slacapra 1.35 ### The ParameterSet you want to use
29 slacapra 1.34 #pset=readPSetTrivial.cfg
30     pset=pythia.cfg
31 gutsche 1.33
32 slacapra 1.35 ### Total number of events to be accessed: -1 means all ("-1" is not usable if no input)
33 slacapra 1.34 total_number_of_events=20
34 gutsche 1.33
35 slacapra 1.35 ### Number of files (EventCollection) to be accessed per single job
36 slacapra 1.34 files_per_jobs = 2
37 gutsche 1.33
38 slacapra 1.35 ### Number of events to be processed per job: to be used _only_ with No input
39     #events_per_job = 10
40 slacapra 1.34
41 slacapra 1.35 ### The output files produced by your application
42 slacapra 1.34 output_file = minbias_1muX_pthat20.root,FrameworkJobReport.xml
43 fanzago 1.14
44 fanzago 1.23 [ORCA]
45 fanzago 1.14 ###############################
46     ####### DATA TO ANALYZE #######
47     ###############################
48 slacapra 1.2
49 nsmirnov 1.1 ## CERN
50 fanzago 1.26 #dataset = bt03_qcd50-80_2tauj
51     #owner = bt_2x1033PU761_TkMu_g133_CMS
52 nsmirnov 1.1
53     ## CNAF
54 slacapra 1.32 dataset = bt03_ttH120_6j1l
55     owner = bt_DST871_2x1033PU_g133_CMS
56 nsmirnov 1.1
57     ## PIC
58     #dataset = hg03b_hww_2l_140
59     #owner = hg_DST871_2x1033PU_g133_CMS
60    
61     ## FNAL
62 slacapra 1.9 # dataset = eg03_tt_2e2mu
63     # owner = eg_DST871_2x1033PU_g133_CMS
64 nsmirnov 1.1
65     ## LNL
66 fanzago 1.20 #dataset = mu03_W1mu
67     #owner = mu_DST861_2_3_2x1033PU_g132_CMS
68 nsmirnov 1.1
69 fanzago 1.26 #dataset = mu03_W1mu
70     #owner = mu_DST861_2_3_2x1033PU_g132_CMS
71    
72 nsmirnov 1.1 ## BA
73 slacapra 1.32 #dataset = bt03_tt_pureleptonic_etau
74     #owner = bt_DST871_2x1033PU_g133_CMS
75 nsmirnov 1.1
76 fanzago 1.26 #dataset = mu04_DY2mu_Mll1500
77     #owner = mu_DST871_2x1033PU_g133_OSC
78 nsmirnov 1.1
79     ### Data Tier to be accessed.
80     ### Possible candidates are: DST, Digi, Hit (Comma separated list, mind the case!)
81 fanzago 1.11 #data_tier = DST,Digi,Hit
82 fanzago 1.26 data_tier = DST
83 nsmirnov 1.1
84 slacapra 1.17 ### Order of the catalogs on .orcarc : do not change unless you know what you are doing!
85     #order_catalogs =
86 fanzago 1.14
87     ###############################
88 slacapra 1.35 ### JOB EVENTS/JOB SPLITTING ##
89     ###############################
90    
91     ## First event to analyze: default is 0
92     #first_event = 0
93    
94     ## Total number of events to analyze: -1==all
95     total_number_of_events = 100
96    
97     ## Number of events for each job
98     job_number_of_events = 10
99    
100     ### Total number of jobs to be created: incompatible with previous "job_number_of_events"
101     #total_number_of_jobs = 100
102    
103     ###############################
104 fanzago 1.14 ####### ORCA EXECUTABLE #######
105     ###############################
106 slacapra 1.18
107 fanzago 1.14 ## User must provide the executable into his personal scram area
108     executable = ExDSTStatistics
109    
110     ## or the script that calls the executable...
111     #script_exe = /home/fanzago/CRAB/UserTools/src/orca_script.sh
112 slacapra 1.18
113 fanzago 1.14 ## Output files produced by executable: comma separated list, can be empty but mut be present!
114 fanzago 1.28 output_file = dststatistics.aida
115 slacapra 1.18
116 fanzago 1.14
117     ###############################
118     ########## ORCA CARD ##########
119     ###############################
120 slacapra 1.18
121 slacapra 1.17 ## orcarc card provided by user (if not in current directory, the full path
122 fanzago 1.14 ## must to be provided) NB the file must exist (could be empty)
123 fanzago 1.23 orcarc_file = orca_orcarc.main
124    
125    
126     [FAMOS]
127    
128     ###############################
129     ###### FAMOS INPUT DATA #######
130     ###############################
131    
132 fanzago 1.24 ### LFN of the input file registered into the LFC catalog
133 fanzago 1.23 input_lfn = georgia/su05_pyt_lm6.ntpl
134    
135 fanzago 1.29 ### number of events per ntuple
136     events_per_ntuple = 250
137    
138     ### LFN for the input pile-up ntuples (already registered to LFC)
139     input_pu_lfn = gia/mu05b_MBforPU_20200000.ntpl
140    
141     ### number of pile-up ntuples accessed per job
142     number_pu_ntuples = 2
143 fanzago 1.23 ###############################
144     ###### FAMOS EXECUTABLE #######
145     ###############################
146    
147     ## User must provide the executable into his personal scram area
148     executable = ExRootAnalysisFamos
149    
150     ## or the script that calls the executable...
151     #script_exe = /home/fanzago/CRAB/UserTools/src/orca_script.sh
152    
153     ## Output files produced by executable: comma separated list, can be empty but mut be present!
154     output_file = test.root
155    
156    
157     ###############################
158     ########## FAMOS CARD ##########
159     ###############################
160    
161     ## orcarc card provided by user (if not in current directory, the full path
162     ## must to be provided) NB the file must exist (could be empty)
163     orcarc_file = famos_orcarc.main
164    
165     ###############################
166     ### JOB EVENTS/JOB SPLITTING ##
167     ###############################
168 slacapra 1.18
169 fanzago 1.14 ## First event to analyze: default is 0
170 slacapra 1.18 #first_event = 0
171    
172 fanzago 1.14 ## Total number of events to analyze: -1==all
173     total_number_of_events = 100
174 slacapra 1.18
175 fanzago 1.14 ## Number of events for each job
176     job_number_of_events = 10
177 slacapra 1.18
178 slacapra 1.5 ### Total number of jobs to be created: incompatible with previous "job_number_of_events"
179 slacapra 1.18 #total_number_of_jobs = 100
180 slacapra 1.5
181 slacapra 1.35
182     [USER]
183     ################################
184     #### additional input file #####
185     ################################
186    
187     ## files to be put in InputSandBox, with full path: comma separated list
188     #additional_input_files = /home_local/fanzago/fede.txt, /home_local/fanzago/fede.prova
189    
190    
191 fanzago 1.14 #################################
192     ######### CRAB DIR ############
193     #################################
194 slacapra 1.17
195 fanzago 1.20 ## Name of UI directory where CRAB will create job to submit (with full path).
196 fanzago 1.14 ## If commented, the default directory will be "crab_0_data_time"
197 fanzago 1.20 #ui_working_dir = /full_path/mu03_DY2mu
198     #ui_working_dir : /full_path/%(dataset)s
199 nsmirnov 1.1
200 fanzago 1.14 #################################
201     #### JOB OUTPUT MANAGEMENT #####
202     #################################
203    
204 fanzago 1.23 ### RETRIEVE JOB OUTPUT INTO UI ###
205     ## to have back the job executable output into UI (return_data= 1)
206 fanzago 1.14 return_data = 1
207    
208     ### If return_data = 1 ###
209 fanzago 1.23 ## UI directory where to store the CMS executable output
210 nsmirnov 1.1 ## FULL path is mandatory. If none <ui_working_dir>/res will be used.
211 fanzago 1.20 #outputdir=/home/fanzago/CRAB/Crab/python/out_orca
212 nsmirnov 1.1
213 fanzago 1.14 ### If return_data = 1 ###
214     ## UI directory where to store the stderr, stdout and .BrokerInfo of submitted jobs
215     ## FULL path is mandatory. If none <ui_working_dir>/res will be used.
216     #logdir=/home/fanzago/CRAB/UserTools/src/grid_job_log
217 slacapra 1.18
218 fanzago 1.23 ### COPY JOB OUTPUT INTO A SE ###
219     ## if you want to copy the CMS executable output into a SE (i:e castor)
220 fanzago 1.14 ### WARNING: if the copy fails and return_data = 0, the output is lost
221     #copy_data = 1
222    
223     ### if copy_data = 1 ###
224 fanzago 1.23 ## name of the SE where to copy the CMS executable output.
225 fanzago 1.14 #storage_element = castorgrid.cern.ch
226     ## and the SE directory (or the mountpoint) that has to be writable from all
227 fanzago 1.20 #storage_path = /castor/cern.ch/user/u/user
228 slacapra 1.18
229 fanzago 1.23 ### REGISTER JOB OUTPUT IN THE LFC CATALOG ###
230     ## if you want also to register the CMS executable output into the LFC catalog
231 fanzago 1.14 ## WARNING: to use with copy_data = 1
232     #register_data = 1
233 slacapra 1.18
234 fanzago 1.14 ### if register_data = 1
235 fanzago 1.23 ## If you register the CMS output file into the LFC catalog, this is the first part of LFN
236 fanzago 1.14 ### example LFN="lfn_dir"/"output_file"
237 fanzago 1.20 #lfn_dir = MyDirLFN
238 fanzago 1.14
239     #################################
240     ####### JOB MONITORING ### #####
241     #################################
242 nsmirnov 1.1
243 slacapra 1.10
244 slacapra 1.17 ### Use central BOSS DB instead of one for each task: the DB must be already been setup!
245 slacapra 1.19 use_central_bossDB = 0
246 slacapra 1.15
247 slacapra 1.17 ### Use Boss RealTime monitoring
248 fanzago 1.20 use_boss_rt = 1
249 slacapra 1.17
250 fanzago 1.23
251 nsmirnov 1.1 [EDG]
252 fanzago 1.23 ################################
253     ###### EDG specific stuff ######
254     ################################
255 slacapra 1.17
256 nsmirnov 1.1 # LCG middleware version installed on testbed
257     lcg_version = 2
258    
259 fanzago 1.23 ## to change the CMS-broker RB (download these files from crab web page)
260 fanzago 1.14 #config_vo = /home/fanzago/edg_wl_ui.conf.CMS_CERN
261     #config = /home/fanzago/edg_wl_ui_cmd_var.conf.CMS_CERN
262 slacapra 1.17
263 fanzago 1.31 ## to change the CMS-broker RB. The ones available for CMS are "CERN" and "CNAF": the configuration
264     ## files needed to change the broker will be automatically downloaded from CRAB web page. If the
265     ## files are already present on the working directory they will be used.
266 slacapra 1.34 rb = CNAF
267 fanzago 1.31
268     ## CMS myproxy server, to proxy delegation
269     proxy_server = myproxy.cern.ch
270    
271    
272 fanzago 1.14 ## to add other requirements to jdl file, as example the Operating System
273     #requirements = (other.GlueHostOperatingSystemName == "RedHat")
274 slacapra 1.17
275 fanzago 1.14 ## cpu time and wall_clock_time(=real time) in minutes. Written into the jdl file
276     #max_cpu_time = 60
277 fanzago 1.26 #max_wall_clock_time = 60
278 slacapra 1.17
279 slacapra 1.9 ## CE Black List: all the CE whose name contains the following strings (comma
280     ## separated list) will not be considered for submission.
281     ## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
282 slacapra 1.34 ce_black_list = mi
283 slacapra 1.17
284     ## CE White List: only the CE whose name contains the following strings (comma
285     ## separated list) will be considered for submission.
286     ## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
287 slacapra 1.34 ce_white_list = infn
288 slacapra 1.17
289 fanzago 1.14 ## fields written into jdl
290     virtual_organization = cms
291 slacapra 1.17
292     ## number or retry count
293 slacapra 1.34 retry_count = 2
294 fanzago 1.21
295 fanzago 1.23 ## LFC catalog parameters
296 fanzago 1.22 lcg_catalog_type = lfc
297 fanzago 1.21 lfc_host = lfc-cms-test.cern.ch
298     lfc_home = /grid/cms