Message: Re: Large number of initial particles Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Large number of initial particles 

Keywords: large number of initial particles
Forum: Run Management
Re: None Large number of initial particles
Re: None Re: Large number of initial particles
Date: 04 Apr, 2007
From: Mathieu Trocmé <mathieu.trocme@ires.in2p3.fr>

Further Investigations...
 
I've contacted Kevin Jackman (the guy who posts http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/runmanage/138.html)
who very kindly investigates further on. 
 
First, his problem was not the same as mine since he used G4ParticleGun(1) with /run/beamOn 1000000 (No changes in PrimaryGeneratorAction.cc)
Second, he run the modified exampleN01 and got the same segmentation fault for n_particles=1e6. 
He then kindly tried to find out where the segmentation occurred using "strace" debugger. 
But this did not give any useful results. It does not seem to come from a memory load problem either. 
Using a Geant4 built in debug mode may lead further information. 
Kevin's guess is that there must be some limitations set within the code and/or computed from the computer's memory. 
 
By the way, I was wrong about the limitation for scoring classes (see 1st post). 
Using them does not require particles to belong to the same event. 
So (at least in this case) there's no need to generate so many particles in PrimaryGeneratorAction.cc. 
But still, the problem remains...
 
Thanks you very much Kevin. 
Mathieu

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: Large number of initial particles"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]