Skip to content

Commit

Permalink
Merge pull request #18546 from anorkus/relval_submission_fix_90X
Browse files Browse the repository at this point in the history
Fixind relval submit dictionary
  • Loading branch information
cmsbuild authored May 10, 2017
2 parents bf1ce5d + 43bcf0c commit 53f615e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Configuration/PyReleaseValidation/python/MatrixInjector.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,12 @@ def __init__(self,opt,mode='init',options=''):
"ScramArch": os.getenv('SCRAM_ARCH'), #Scram Arch (used for all tasks in chain)
"ProcessingVersion": self.version, #Processing Version (used for all tasks in chain)
"GlobalTag": None, #Global Tag (overridden per task)
"ConfigCacheURL": self.couch, #URL of CouchDB containing Config Cache
"ConfigCacheUrl": self.couch, #URL of CouchDB containing Config Cache
"DbsUrl": self.DbsUrl,
#- Will contain all configs for all Tasks
#"SiteWhitelist" : ["T2_CH_CERN", "T1_US_FNAL"], #Site whitelist
"TaskChain" : None, #Define number of tasks in chain.
"nowmTasklist" : [], #a list of tasks as we put them in
"unmergedLFNBase" : "/store/unmerged",
"mergedLFNBase" : "/store/relval",
"dashboardActivity" : "relval",
"Multicore" : 1, # do not set multicore for the whole chain
"Memory" : 3000,
"SizePerEvent" : 1234,
Expand Down Expand Up @@ -501,14 +498,14 @@ def upload(self):
#upload
couchID=self.uploadConf(d[it]['ConfigCacheID'],
str(n)+d[it]['TaskName'],
d['ConfigCacheURL']
d['ConfigCacheUrl']
)
print d[it]['ConfigCacheID']," uploaded to couchDB for",str(n),"with ID",couchID
d[it]['ConfigCacheID']=couchID
if it =='DQMConfigCacheID':
couchID=self.uploadConf(d['DQMConfigCacheID'],
str(n)+'harvesting',
d['ConfigCacheURL']
d['ConfigCacheUrl']
)
print d['DQMConfigCacheID'],"uploaded to couchDB for",str(n),"with ID",couchID
d['DQMConfigCacheID']=couchID
Expand Down

0 comments on commit 53f615e

Please sign in to comment.