Message: Limit on number of primary particles per event? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Limit on number of primary particles per event? 

Forum: Particles
Date: 28 Apr, 2008
From: Ben Morgan <Ben Morgan>

Hi,

I've been writing an application using the GPS where the number of primary particles will be high, of the order of 10^5-10^6. However, when running with more than 262050 (roughly) primary particles, the program falls over with a seg fault somewhere at the end of the event, certainly after "Terminate current event processing" is reported (using /event/verbose 1). Running in gdb seems to trace back the fault to the destructor of G4PrimaryParticle (have to admit that I'm not an expert with gdb...). I've cross-checked this by using the GPS in example N01 and I see the same behaviour here.

Just wondered if there's a limit on the number of primary particles that can be generated? The number where the seg fault starts to occur is close to 2^18, although maybe a coincidence?

Cheers,

Ben.

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

1 None: RE: Limit on number of primary particles per event?   (Makoto Asai - 28 Apr, 2008)
1 None: RE: Limit on number of primary particles per event?   (Ben Morgan - 28 Apr, 2008)
2 None: Re: Limit on number of primary particles per event?   (ungaro@jlab.org - 15 May, 2012)
1 None: Re: Limit on number of primary particles per event?   (ungaro@jlab.org - 15 May, 2012)
 Add Message Add Message
to: "Limit on number of primary particles per event?"

 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 ]