HEP-FCC / FCCDetectors

3 stars 19 forks source link

ddsim not working on CLD compact files #49

Open aciarma opened 1 year ago

aciarma commented 1 year ago

Hi, I tried to run ddsim on the CLD compact files but it does not work. I am sourcing the nightlies and trying to use $FCCDETECTORS/Detector/DetFCCeeCLD/compact/FCCee_o2_v02/FCCee_o2_v02.xml

Is this expected? ddsim works with ILC compacts from $lcgeo_DIR

BrieucF commented 1 year ago

Hi Andrea, no it is not, though the nightlies have had a number of problems recently... It looks like the detector builders from FCCDetectors are not linked properly in these relies while the one from k4geo probably are, which would explain why the ILC compacts work. Can you open an issue in the key4hep-spack repository? Meanwhile, if you can, use the stable stack (source /cvmfs/sw.hsf.org/key4hep/setup.sh), I tried and it works. If you prefer I can open the issue, just let me know. PS: can you be a bit more specific about the error you see next time you report an issue?

BrieucF commented 1 year ago

Hi Andrea, I opened key4hep-spack#499. While waiting for the problem to be fixed centrally, calling this LD_LIBRARY_PATH=$FCCDETECTORS/../../lib/:$FCCDETECTORS/../../lib64/:$LD_LIBRARY_PATH after sourcing the nightlies should solve the problem. NB: there seem to be another problem with the edm4hep output at the moment which will be investigated.

aciarma commented 1 year ago

Hi Brieuc, thank you very much for opening the issue. The fix you suggested seems to work, now I am trying with other geometries in the same directory.

andresailer commented 1 year ago

edm4hep output at the moment which will be investigated.

Is there a ticket for that?

BrieucF commented 1 year ago

edm4hep output at the moment which will be investigated.

Is there a ticket for that?

Yes: key4hep-spack#500