CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions | Variables
cmsBatch.py File Reference

Go to the source code of this file.

Classes

class  cmsBatch.CmsBatchException
 
class  cmsBatch.MyBatchManager
 

Namespaces

 cmsBatch
 

Functions

def cmsBatch.batchScriptCCIN2P3
 
def cmsBatch.batchScriptCERN
 
def cmsBatch.batchScriptLocal
 
def cmsBatch.rootfiles_to_eos_script
 

Variables

tuple cmsBatch.batchManager = MyBatchManager()
 
tuple cmsBatch.cfgFile = open(batchManager.outputDir_+'/base_cfg.py','w')
 
list cmsBatch.cfgFileName = args[1]
 
tuple cmsBatch.cfo = imp.load_source("pycfg", cfgFileName, handle)
 
string cmsBatch.default = "cmsRun"
 
 cmsBatch.doCVSTag = options.tagPackages
 
tuple cmsBatch.file = open('cmsBatch.txt', 'w')
 
tuple cmsBatch.fullSource = process.source.clone()
 
 cmsBatch.generator = False
 
tuple cmsBatch.grouping = int(args[0])
 
tuple cmsBatch.handle = open(cfgFileName, 'r')
 
string cmsBatch.help = "program to run on your cfg file"
 batchManager.parser_.add_option("-b", "--batch", dest="batch", help="batch command. default is: 'bsub -q 8nh < batchScript.sh'. You can also use 'nohup < ./batchScript.sh &' to run locally.", default="bsub -q 8nh < .batchScript.sh") More...
 
list cmsBatch.listOfValues = [i+1 for i in range( nJobs )]
 
tuple cmsBatch.log = logger( logDir )
 
string cmsBatch.logDir = 'Logger'
 
tuple cmsBatch.nFiles = len(process.source.fileNames)
 
 cmsBatch.nJobs = grouping
 
tuple cmsBatch.oldPwd = os.getcwd()
 
 cmsBatch.process = cfo.process
 
 cmsBatch.prog = options.prog
 
 cmsBatch.pycfg_params = options.cmdargs
 
 cmsBatch.runningMode = None
 
 cmsBatch.trueArgv = sys.argv
 
int cmsBatch.waitingTime = 1