#$Id: MicroDST_Ganga.py,v 1.2 2009/03/23 17:18:47 jpalac Exp $ #------------------------------------------------------------------------------ dv = DaVinci( version = 'v25r6', user_release_area='/project/bfys/dremensk/new' ) #------------------------------------------------------------------------------ # The applicaiton configuration #------------------------------------------------------------------------------ # Define the configuration file(s) to use # Extra options # Appended to the end of the main options to override default settings dv.optsfile = "DaVinci-Staging.py" #------------------------------------------------------------------------------ # Create a job #------------------------------------------------------------------------------ j = Job( application = dv, name = 'DaVinciStager' ) #j.application.make() #------------------------------------------------------------------------------ # Input data # Can either be specified in the main configuration files (DaVinci.py etc.) or # locally here as an LHCbDataset #------------------------------------------------------------------------------ #ds = dv.readInputData( "/project/bfys/dremensk/DaVinci/validation/100_CERN_01_03.py" ) ds = dv.readInputData('/project/bfys/dremensk/DaVinci/validation/100_CERN_01_03.py') j.inputdata = ds j.inputdata.XMLCatalogueSlice = File('/project/bfys/dremensk/DaVinci/validation/100_CERN_01.xml') j.inputdata.depth=2 #------------------------------------------------------------------------------ #j.outputdata.location = '/project/bfys/dremensk' config.LHCb.DataOutput='/project/bfys/dremensk' j.inputsandbox = [ '/project/bfys/dremensk/DaVinci/validation/FileStager.py' ] #------------------------------------------------------------------------------ # Define where to run #------------------------------------------------------------------------------ # Run interactively on the local machine #j.backend = Interactive() # Run directly on the local machine, but in the background #j.backend = Local() # Submit to an LSF batch system, using the 8nm queue #j.backend = LSF( queue = '8nm' ) # Submit to a condor batch system #j.backend = Condor() # Submit to a PBS batch system #j.backend = PBS() # Submit to the grid. j.backend = Local() #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # Submit the job #------------------------------------------------------------------------------ j.submit() #------------------------------------------------------------------------------