ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/crab.cfg
Revision: 1.51
Committed: Thu Feb 1 16:16:22 2007 UTC (18 years, 3 months ago) by gutsche
Branch: MAIN
Changes since 1.50: +6 -7 lines
Log Message:
added commented template card:

# use_dbs_2 = 0

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