You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the following command: ddsim --compactFile /k4geo/FCCee/IDEA/compact/IDEA_o1_v03/IDEA_o1_v03.xml --outputFile out_sim_edm4hep_background_1.root --inputFiles pairs.pairs --numberOfEvents 1 --random.seed 1 --part.keepAllParticles True --part.minimalKineticEnergy "0.001*MeV"
with key4hep version (03-10-2024)
which runs on the commit 0a49f40a1252ff7c43590b59b8d20d86b5bbb210
but does not run with the latest commit
The error message is
DDSim INFO Setting up SD for DRcalo with No Default
DDSim ERROR Cannot find Action for detector DRcalo. You have to extend "action.mapAction"
DDSim ERROR Failed setting up sensitive detector Cannot find Action
Traceback (most recent call last):
File "/cvmfs/sw.hsf.org/key4hep/releases/2024-10-03/x86_64-almalinux9-gcc14.2.0-opt/dd4hep/1.30-fx72h5/bin/ddsim", line 25, in
sys.exit(RUNNER.run())
^^^^^^^^^^^^
File "/cvmfs/sw.hsf.org/key4hep/releases/2024-10-03/x86_64-almalinux9-gcc14.2.0-opt/dd4hep/1.30-fx72h5/lib/python3.11/site-packages/DDSim/DD4hepSimulation.py", line 494, in run
self.__setupSensitiveDetectors(detectors, function, defFilter, defAction, abort)
File "/cvmfs/sw.hsf.org/key4hep/releases/2024-10-03/x86_64-almalinux9-gcc14.2.0-opt/dd4hep/1.30-fx72h5/lib/python3.11/site-packages/DDSim/DD4hepSimulation.py", line 651, in __setupSensitiveDetectors
raise RuntimeError("Cannot find Action")
RuntimeError: Cannot find Action
pure virtual method called
Segmentation fault (core dumped)
the action that is missing is declared in a steering file [1] placed in example directory. Either you exclude the calorimeter from Idea compact file or use the steering file that maps the detector to the correct action :)
Could you please check that your simulation works if that steering file is used? I guess a more detailed explanation is needed in the readme, thanks for spotting it!
Check duplicate issues.
Goal
I am running the following command:
ddsim --compactFile /k4geo/FCCee/IDEA/compact/IDEA_o1_v03/IDEA_o1_v03.xml --outputFile out_sim_edm4hep_background_1.root --inputFiles pairs.pairs --numberOfEvents 1 --random.seed 1 --part.keepAllParticles True --part.minimalKineticEnergy "0.001*MeV"
with key4hep version (03-10-2024)
which runs on the commit
0a49f40a1252ff7c43590b59b8d20d86b5bbb210
but does not run with the latest commit
The error message is
DDSim INFO Setting up SD for DRcalo with No Default
DDSim ERROR Cannot find Action for detector DRcalo. You have to extend "action.mapAction"
DDSim ERROR Failed setting up sensitive detector Cannot find Action
Traceback (most recent call last):
File "/cvmfs/sw.hsf.org/key4hep/releases/2024-10-03/x86_64-almalinux9-gcc14.2.0-opt/dd4hep/1.30-fx72h5/bin/ddsim", line 25, in
sys.exit(RUNNER.run())
^^^^^^^^^^^^
File "/cvmfs/sw.hsf.org/key4hep/releases/2024-10-03/x86_64-almalinux9-gcc14.2.0-opt/dd4hep/1.30-fx72h5/lib/python3.11/site-packages/DDSim/DD4hepSimulation.py", line 494, in run
self.__setupSensitiveDetectors(detectors, function, defFilter, defAction, abort)
File "/cvmfs/sw.hsf.org/key4hep/releases/2024-10-03/x86_64-almalinux9-gcc14.2.0-opt/dd4hep/1.30-fx72h5/lib/python3.11/site-packages/DDSim/DD4hepSimulation.py", line 651, in __setupSensitiveDetectors
raise RuntimeError("Cannot find Action")
RuntimeError: Cannot find Action
pure virtual method called
Segmentation fault (core dumped)
Operating System and Version
RHEL 9.5
compiler
GCC 14.2.0
The version of the key4hep stack
source /cvmfs/sw.hsf.org/key4hep/setup.sh -r 2024-10-03
Package Version
8bd7462
Reproducer
source /cvmfs/sw.hsf.org/key4hep/setup.sh -r 2024-10-03
ddsim --compactFile /k4geo/FCCee/IDEA/compact/IDEA_o1_v03/IDEA_o1_v03.xml --outputFile out_sim_edm4hep_background_1.root --inputFiles pairs.pairs --numberOfEvents 1 --random.seed 1 --part.keepAllParticles True --part.minimalKineticEnergy "0.001*MeV"
Additional context
No response
The text was updated successfully, but these errors were encountered: