-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
Hi experts,
An error occurs running the GEN step with ExternalGeneratorFilter, which acts on Pythia8GeneratorFilter with Tauola set as the external decayer:
----- Begin Fatal Exception 14-Jun-2021 18:15:07 CEST-----------------------
An exception of category 'NoRecord' occurred while
[0] Processing global begin LuminosityBlock run: 1 luminosityBlock: 1
[1] Calling method for module Pythia8GeneratorFilter/'generator'
Exception Message:
No "PDTRecord" record found in the EventSetup.n
Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
caught exception
An exception of category 'NoRecord' occurred while
[0] Processing global begin LuminosityBlock run: 1 luminosityBlock: 1
[1] Calling method for module Pythia8GeneratorFilter/'generator'
Exception Message:
No "PDTRecord" record found in the EventSetup.n
Please add an ESSource or ESProducer that delivers such a record.
----- Begin Fatal Exception 14-Jun-2021 18:16:07 CEST-----------------------
An exception of category 'ExternalFailed' occurred while
[0] Processing global begin LuminosityBlock run: 1 luminosityBlock: 1
[1] Calling method for module ExternalGeneratorFilter/'generator'
Exception Message:
failed waiting for external process. Timed out after 60 seconds.
----- End Fatal Exception -------------------------------------------------
By a rough check, the reason may be related to the transfer of EventSetup between the worker and controller instance. A quick example is to run on the process TAU-RunIISummer19UL16GEN-00003 with ExternalGeneratorFilter, shown as follows:
export SCRAM_ARCH=slc7_amd64_gcc900
cmsrel CMSSW_12_0_X_2021-06-14-1100
cd CMSSW_12_0_X_2021-06-14-1100/src
cmsenv
curl -s -k https://cms-pdmv.cern.ch/mcm/public/restapi/requests/get_fragment/TAU-RunIISummer19UL16GEN-00003 --retry 3 --create-dirs -o Configuration/GenProduction/python/TAU-RunIISummer19UL16GEN-00003-fragment.py
scram b -j4
cd ../..
cmsDriver.py Configuration/GenProduction/python/TAU-RunIISummer19UL16GEN-00003-fragment.py --python_filename TAU-RunIISummer19UL16GEN-00003_1_cfg.py --eventcontent RAWSIM --customise Configuration/DataProcessing/Utils.addMonitoring --datatier GEN --fileout file:TAU-RunIISummer19UL16GEN-00003.root --conditions 112X_mcRun2_asymptotic_v2 --beamspot Realistic25ns13TeV2016Collision \
--customise_commands='from GeneratorInterface.Core.ExternalGeneratorFilter import ExternalGeneratorFilter; process.generator = ExternalGeneratorFilter(process.generator)' \
--step GEN --geometry DB:Extended --era Run2_2016 --no_exec --mc -n 1000
cmsRun TAU-RunIISummer19UL16GEN-00003_1_cfg.py
Many thanks for your investigation into this.