lvll98
September 29, 2021, 12:22pm
1
I want to simulate the process of 3*10^9 neutron incident on the target material, but I meet the problem: “can’t find the random number, core dump”.
So, I want to know What the maximum number of particles in a Run in Geant4 is ?
Thank you.
weller
September 29, 2021, 3:18pm
2
" The number of events is stored in a signed integer (G4int), with a maximum value of 2,147,483,647"
You can’t, not in a single run. The number of events is stored in a signed integer (G4int), with a maximum value of 2,147,483,647. To generate that many events, you should do five runs of maximum size in your job:
/run/beamOn 2000000000
/run/beamOn 2000000000
/run/beamOn 2000000000
/run/beamOn 2000000000
/run/beamOn 2000000000
Set up your analysis code so that it either accumulates across all the runs of a job, or includes the run number (which increments with each beamOn) in the output file…
4 Likes
lvll98
October 2, 2021, 9:03am
3
Thank you for your reply, . It is helpful for me.