Open trtomei opened 2 years ago
A new Issue was created by @trtomei Thiago Tomei.
@Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks.
cms-bot commands are listed here
assign core
Adding @fwyzard (as the original author)
New categories assigned: core
@Dr15Jones,@smuzaffar,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks
I took a quick look. The warnings are caused by the
https://github.com/cms-sw/cmssw/blob/4e164a96828c3ab1405b39d99365cebf70ef2790/FWCore/ParameterSet/python/SequenceTypes.py#L214
function not supporting ESProducer
s, ESSource
s, or Service
s in Task
.
The actual error is caused on the line issuing the warning message
https://github.com/cms-sw/cmssw/blob/4e164a96828c3ab1405b39d99365cebf70ef2790/FWCore/ParameterSet/python/SequenceTypes.py#L251
by asking a label from an anonymous Task
.
I believe it would be sufficient to just make the findDirectDependencies()
function to recognize ESProducer
, ESSource
, and Service
, and handle the anonymous cases in the warning message printout. @fwyzard, do you agree?
To reproduce:
There will be:
Warning: unsupported element 'hcalGainsGPUESProducer' in Task 'hbheRecHitProducerGPUTask'
related to all kinds ofGPUESProducer
module has no label. Perhaps it wasn't inserted into the process?
. Full traceback below.