Closed aaust closed 1 week ago
This was a long-standing bug in the input hddm event reader within the Glue primary generator class. It is weird that the code did not crash in the Centos7 build. I have checked in a fix to the master branch on HDGeant4. Please confirm that this fixes the problem.
Thanks for looking into that. Unfortunately, another problem was introduced by one of your commits yesterday which throws an error during compilation:
./src/G4TRandom.hh:30:23: error: conflicting return type specified for ‘virtual ULong64_t G4TRandom::Poisson(Double_t)’
*** [/u/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.4.1/geant4/geant4.10.04.p02/share/Geant4-10.4.2/geant4make/config/common.gmk:77:
/volatile/halld/gluex/nightly/2024-09-25/Linux_Alma9-x86_64-gcc11.4.1/hdgeant4/tmp/Linux-g++/hdgeant4/GlueXBremsstrahlungGenerator.o] Error 1
Alex, yes that fix is needed to advance to Geant4.10.7. You can roll it back if you want to delay, but I propose that we combine the move to Alma9 with the advance to G4.10.7.
-Richard Jones
On Wed, Sep 25, 2024 at 7:53 AM Alexander Austregesilo < @.***> wrote:
Thanks for looking into that. Unfortunately, another problem was introduced by one of your commits yesterday which throws an error during compilation:
./src/G4TRandom.hh:30:23: error: conflicting return type specified for ‘virtual ULong64_t G4TRandom::Poisson(Double_t)’ *** [/u/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.4.1/geant4/geant4.10.04.p02/share/Geant4-10.4.2/geant4make/config/common.gmk:77: /volatile/halld/gluex/nightly/2024-09-25/Linux_Alma9-x86_64-gcc11.4.1/hdgeant4/tmp/Linux-g++/hdgeant4/GlueXBremsstrahlungGenerator.o] Error 1
— Reply to this email directly, view it on GitHub https://github.com/JeffersonLab/HDGeant4/issues/222#issuecomment-2373869168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3YKWAC3TUYD2XS2KAEEWLZYKP4RAVCNFSM6AAAAABMWWPRDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTHA3DSMJWHA . You are receiving this because you commented.Message ID: @.***>
Does the geant4 upgrade not require a detailed comparison of the results? I think, we should discuss such a big step in a larger group.
Alex, I suppose, ok. I just checked in a fix that will select the correct version of G4TRandom based on the version of the G4 library being built against. -Richard
On Wed, Sep 25, 2024 at 9:10 AM Alexander Austregesilo < @.***> wrote:
Does the geant4 upgrade not require a detailed comparison of the results? I think, we should discuss such a big step in a larger group.
— Reply to this email directly, view it on GitHub https://github.com/JeffersonLab/HDGeant4/issues/222#issuecomment-2374046858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3YKWDMUEN2CQUTYGPRJPLZYKY5FAVCNFSM6AAAAABMWWPRDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUGA2DMOBVHA . You are receiving this because you commented.Message ID: @.***>
Thank you. It looks like this fixed the issue. I will wait for the successful nightly build and make a new release tomorrow.
The b1pi test currently fails on AlmaLinux9. There seems to be a problem getting the polarization value from CCDB. Here is the full stack trace:
The same code runs on CentOS7, and this is the next printed line:
G4WT0 > TAGGER: all parameters loaded from ccdb
It can be reproduced by copying the files from
/volatile/halld/gluex/b1pi/2024-08-12/Linux_Alma9-x86_64-gcc11.4.1/11366/
and runninghdgeant4 run.mac
with the default environment in this directory: