Hi Slava,

This to me qualifies as a bug in Validation/Performance/TimeMemoryInfo.py
that overwrites process.options without checking if it already exists
https://github.com/cms-sw/cmssw/blob/CMSSW_7_1_X/Validation/Performance/python/TimeMemoryInfo.py#L13-15

     Giovanni


On Thu, May 15, 2014 at 2:44 PM, Slava Krutelyov
<notifications@github.com>wrote:

> In Configuration/Applications/python/ConfigBuilder.py:
>
> > @@ -1591,7 +1590,14 @@ def prepare_RECO(self, sequence = "reconstruction"):
> >      def prepare_PAT(self, sequence = "miniAOD"):
> >          ''' Enrich the schedule with PAT '''
> >          self.loadDefaultOrSpecifiedCFF(sequence,self.PATDefaultCFF)
> > -	self.scheduleSequence(sequence.split('.')[-1],'pat_step')
> > +	if not self._options.runUnscheduled:	
> > +		raise Exception("MiniAOD production can only run in unscheduled mode, please run cmsDriver with --runUnscheduled")
> > +        if self._options.isData:
> > +            self._options.customisation_file.append("PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllData")
>
> More specifically
>
> cmsDriver.py miniAOD_data-prod -s PAT -n 3000 --data --filein /store/relval/CMSSW_7_1_0_pre6/JetHT/RECO/PRE_R_71_V2_RelVal_jet2012C-v1/00000/2CBD40F5-E2C7-E311-8206-003048678AC0.root --eventcontent MINIAOD --runUnscheduled --conditions GR_R_70_V1::All --customise Validation/Performance/TimeMemoryInfo.py --no_exec
>
> is broken
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cms-sw/cmssw/pull/3875/files#r12686293>
> .
>