Functions | |
def | runSelected |
def | showRaw |
Variables | |
string | action = 'store_true' |
list | choices = ['init','test','submit','force'] |
int | default = 4 |
string | dest = 'nThreads' |
string | help = 'number of threads. 0 Will use 4 threads, not execute anything but create the wfs' |
mapped = False | |
tuple | parser = optparse.OptionParser(usage) |
dictionary | predefinedSet |
tuple | ret = showRaw(opt) |
prodAgent to be discontinued | |
list | testList = [] |
string | usage = 'usage: runTheMatrix.py --show -s ' |
def runTheMatrix::runSelected | ( | opt | ) |
Definition at line 20 of file runTheMatrix.py.
00021 : 00022 00023 mrd = MatrixReader(opt) 00024 mrd.prepare(opt.useInput, opt.refRel, opt.fromScratch) 00025 00026 ret = 0 00027 if opt.show: 00028 mrd.show(opt.testList,opt.extended) 00029 if opt.testList : print 'testListected items:', opt.testList 00030 else: 00031 mRunnerHi = MatrixRunner(mrd.workFlows, opt.nThreads) 00032 ret = mRunnerHi.runTests(opt) 00033 00034 if opt.wmcontrol: 00035 if ret!=0: 00036 print 'Cannot go on with wmagent injection with failing workflows' 00037 else: 00038 wfInjector = MatrixInjector(mode=opt.wmcontrol) 00039 ret= wfInjector.prepare(mrd, 00040 mRunnerHi.runDirs) 00041 if ret==0: 00042 wfInjector.upload() 00043 wfInjector.submit() 00044 return ret 00045 00046 # ================================================================================
def runTheMatrix::showRaw | ( | opt | ) |
Definition at line 11 of file runTheMatrix.py.
string runTheMatrix::action = 'store_true' |
Definition at line 81 of file runTheMatrix.py.
list runTheMatrix::choices = ['init','test','submit','force'] |
Definition at line 131 of file runTheMatrix.py.
string runTheMatrix::default = 4 |
Definition at line 75 of file runTheMatrix.py.
string runTheMatrix::dest = 'nThreads' |
Definition at line 74 of file runTheMatrix.py.
string runTheMatrix::help = 'number of threads. 0 Will use 4 threads, not execute anything but create the wfs' |
Definition at line 73 of file runTheMatrix.py.
runTheMatrix::mapped = False |
Definition at line 174 of file runTheMatrix.py.
tuple runTheMatrix::parser = optparse.OptionParser(usage) |
Definition at line 70 of file runTheMatrix.py.
dictionary runTheMatrix::predefinedSet |
00001 { 00002 'limited' : [5.1, #FastSim ttbar 00003 8, #BH/Cosmic MC 00004 25, #MC ttbar 00005 4.22, #cosmic data 00006 4.291, #hlt data 00007 1000, #data+prompt 00008 1001, #data+express 00009 4.53, #HI data 00010 40, #HI MC 00011 ], 00012 'jetmc': [5.1, 13, 15, 25, 38, 39], #MC 00013 'metmc' : [5.1, 15, 25, 37, 38, 39], #MC 00014 'muonmc' : [5.1, 124.4, 124.5, 20, 21, 22, 23, 25, 30], #MC 00015 }
Definition at line 50 of file runTheMatrix.py.
tuple runTheMatrix::ret = showRaw(opt) |
prodAgent to be discontinued
Definition at line 199 of file runTheMatrix.py.
list runTheMatrix::testList = [] |
Definition at line 171 of file runTheMatrix.py.
Referenced by QTestConfigurationParser::monitorElementTestsMap().
string runTheMatrix::usage = 'usage: runTheMatrix.py --show -s ' |
Definition at line 68 of file runTheMatrix.py.