@@ -85,70 +85,21 @@ def main():
8585 parser .add_option ('--special' , help = 'Use it for special workflows. You also have to change the code according to the type of WF' ,dest = 'special' )
8686 parser .add_option ('--test' ,action = "store_true" , help = 'Nothing is injected, only print infomation about workflow and AcqEra' ,dest = 'test' )
8787 parser .add_option ('--pu' ,action = "store_true" , help = 'Use it to inject PileUp workflows only' ,dest = 'pu' )
88- parser .add_option ('--lsf' ,action = "store_true" , help = 'Use it to assign work to the LSF agent at CERN - vocms174, relvallsf team' ,dest = 'lsf' )
8988 (options ,args ) = parser .parse_args ()
9089
9190 if not options .workflow :
9291 print "The workflow name is mandatory!"
93- print "Usage: python assignRelValWorkflow .py -w <requestName>"
92+ print "Usage: python assignProdTaskChain .py -w <requestName>"
9493 sys .exit (0 );
9594
9695 workflow = options .workflow
97- team = 'mc'
98- site = [
99- "T1_DE_KIT" ,
100- "T1_ES_PIC" ,
101- # "T1_FR_CCIN2P3",
102- "T1_IT_CNAF" ,
103- "T1_RU_JINR" ,
104- "T1_UK_RAL" ,
105- "T1_US_FNAL" ,
106- "T2_AT_Vienna" ,
107- # "T2_BE_IIHE",
108- # "T2_BE_UCL",
109- # "T2_BR_SPRACE",
110- "T2_CH_CERN" ,
111- # "T2_CH_CSCS",
112- # "T2_CN_Beijing",
113- # "T2_DE_DESY",
114- # "T2_DE_RWTH",
115- # "T2_EE_Estonia",
116- # "T2_ES_CIEMAT",
117- # "T2_ES_IFCA",
118- # "T2_FI_HIP",
119- # "T2_FR_CCIN2P3",
120- # "T2_FR_GRIF_IRFU",
121- # "T2_FR_GRIF_LLR",
122- # "T2_FR_IPHC",
123- "T2_HU_Budapest" ,
124- "T2_IT_Bari" ,
125- "T2_IT_Legnaro" ,
126- "T2_IT_Pisa" ,
127- "T2_IT_Rome" ,
128- # "T2_KR_KNU",
129- # "T2_PL_Warsaw",
130- "T2_PT_NCG_Lisbon" ,
131- # "T2_RU_IHEP",
132- # "T2_RU_INR",
133- # "T2_RU_ITEP",
134- # "T2_RU_JINR",
135- # "T2_RU_PNPI",
136- # "T2_RU_SINP",
137- # "T2_TR_METU",
138- # "T2_TW_Taiwan",
139- # "T2_UA_KIPT",
140- # "T2_UK_London_Brunel",
141- "T2_UK_London_IC" ,
142- # "T2_UK_SGrid_RALPP",
143- "T2_US_Caltech" ,
144- "T2_US_Florida" ,
145- "T2_US_MIT" ,
146- "T2_US_Nebraska" ,
147- "T2_US_Purdue" ,
148- # "T2_US_UCSD",
149- # "T2_US_Vanderbilt",
150- "T2_US_Wisconsin"
151- ]
96+ team = 'production'
97+ site = ["T1_DE_KIT" ,"T1_ES_PIC" ,"T1_FR_CCIN2P3" ,"T1_IT_CNAF" ,
98+ "T1_RU_JINR" ,"T1_UK_RAL" ,"T1_US_FNAL" ,"T2_CH_CERN" ,
99+ "T2_DE_DESY" ,"T2_DE_RWTH" ,"T2_ES_CIEMAT" ,"T2_FR_IPHC" ,
100+ "T2_IT_Bari" ,"T2_IT_Legnaro" ,"T2_IT_Pisa" ,"T2_IT_Rome" ,
101+ "T2_UK_London_Brunel" ,"T2_UK_London_IC" ,"T2_US_Caltech" ,"T2_US_MIT" ,
102+ "T2_US_Nebraska" ,"T2_US_Purdue" ,"T2_US_UCSD" ,"T2_US_Wisconsin" ,"T2_US_Florida" ]
152103 procversion = 1
153104 activity = 'production'
154105 lfn = '/store/mc'
@@ -188,11 +139,6 @@ def main():
188139 if options .lfn :
189140 lfn = options .lfn
190141
191- # Changing the team name and the site whitelist in case the --lsf parameter was given
192- if options .lsf :
193- team = 'relvallsf'
194- site = ['T2_CH_CERN' ]
195-
196142 # If the --test argument was provided, then just print the information gathered so far and abort the assignment
197143 if options .test :
198144 print "%s \t AcqEra: %s \t ProcStr: %s \t ProcVer: %s" % (workflow , acqera , procstring , procversion )
0 commit comments