-
Notifications
You must be signed in to change notification settings - Fork 8
Using CRAB to run user scripts
To run your own scripts using CRAB. (The links at the end contain some guidelines and examples.)
Below is an example CRAB configuration file with changes from, and additions to, the normal ntuple configuration files in bold:
[CRAB]
jobtype = cmssw scheduler = remoteGlidein use_server = 0
[CMSSW]
datasetpath = None **pset = BristolAnalysis/Tools/python/master_2011_53X_cfg.py or pset = None (still trying to work out which works) ** total_number_of_events = 1 (crab -create fails if using -1 here) number_of_jobs = 1 get_edm_output = 1 output_file = output.log allow_NonProductionCMSSW = 1
[USER]
script_exe=BristolAnalysis/Tools/start_2011_53X_Analysis_GRID.sh script_arguments=None
return_data = 0 copy_data = 1 storage_element = T2_UK_SGrid_Bristol
user_remote_dir = 2011_53X_Analysis_Grid_2_with_pset check_user_remote_dir = 0 ui_working_dir = 2011_53X_Analysis_Grid_2_with_pset
[GRID]
se_white_list=T2_UK_SGrid_Bristol data_location_override = se_white_list
https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCrabScriptExe https://twiki.cern.ch/twiki/bin/view/Sandbox/LSCPTNew http://mon.iihe.ac.be/trac/t2b/attachment/wiki/Getting_started_with_CMSSW_on_the_Grid_at_IIHE/Crab.remote.cfg
Still testing, this wiki will be updated during testing.