Open AndrewEdmonds11 opened 10 years ago
I could not suppress that message either. It is annoying because the log file would be very huge, so I just delete the log files after letting g4sim runs a few minutes. Once the log files are removed, they will not be recreated in that batch job.
rm path_to_output/*.bosslog
I guess that is okay since what we might want to see is the error log, and saved scripts.
I used to modify geant source code. It's on ./processes/hadronic/models/radioactive_decay/src/G4RadioactiveDecay.cc line 627 for geant4.10.00.p02.
The fix requires an updated Geant4 module for G4RadioactiveDecay, which is the radioactive decay database (RDM ~> 4.1). Either replace the module or upgrade Geant to at least 4.10.01.
Reference: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/hadronprocess/1403/3.html
Wow! Thanks for following up on this! Do people have a preference between updating the database or updating geant? I wouldn't mind updating geant but I think all of our simulations should use one version.
I personally ran 4.10.03.p02 on my own Mac and I think the version of Geant4 that John had installed on mu2e.bu.edu is also the same version.
The only annoying thing probably is that cmake3 is required for installing 4.10.03.
So I built g4sim against the system's G4 10.03 and ROOT 5.34 on mu2e, and it seems to run okay without those HAD errors (there are different databases for the different geant versions on mu2e). And if Mark's running 10.03 and he doesn't see bugs (I'm able to get more than 300k events in a run) then I'm okay updating since carrying around a database file is cumbersome (though I guess this replacement could be done in the install-geant4.sh script). Whatever you think is fine.
To note, the current g4sim/cmake/FindROOT.cmake file needs to be updated to the version from at least 10.02 to work with ROOT 6 I think (release notes http://geant4-data.web.cern.ch/geant4-data/ReleaseNotes/ReleaseNotes4.10.2.html#9. ).
On Wed, Oct 3, 2018 at 1:48 PM Mark Wong notifications@github.com wrote:
You were so close to finding the solution as well! I personally ran 4.10.03.p02 on my own Mac and I think the version of Geant4 that John had installed on mu2e.bu.edu is also the same version.
The only annoying thing probably is that cmake3 is required for installing 4.10.03.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alcap-org/g4sim/issues/32#issuecomment-426732085, or mute the thread https://github.com/notifications/unsubscribe-auth/AE562hGnbrBgyqYFSkxynxrJy4tRugjBks5uhPh-gaJpZM4CiIfU .
I get a lot of warnings of the following:
which is fine but I think it might be slowing things down for me (especially on the batch farm).
This is a known issue (hypernews link) with the only fix being in Geant4.10.01 beta.
There is another suggestion in that thread (reply 4.1.2) but it doesn't work since the HAD_RDM_011 warning gets issued by the
GetIonLifetime()
function.Before I try installing Geant4.10.01 beta, does anyone know of a way to stop Geant4 printing exceptions? I've got all the verbosities set to 0 but that hasn't helped...