Message: RE: 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 RE: Limit on number of primary particles per event? 

Forum: Particles
Re: None Limit on number of primary particles per event? (Ben Morgan)
Date: 28 Apr, 2008
From: Makoto Asai <Makoto Asai>

Hi Ben,

 The maximum event ID is 2^31, i.e. about 10^9.
Thus as far as the number of event is concerned,
2^18 is far below the limit. I copy my reply to Fan 
Lei who is the author of GPS for his comments.
Meanwhile, the symptom smells like a memory
leak. Could you please monitor the size of your
program?

Makoto

> -----Original Message-----
> From: Ben Morgan [mailto:Ben.Morgan@warwick.ac.uk] 
> Sent: Monday, April 28, 2008 8:09 AM
> To: publichypernews
> Subject: Limit on number of primary particles per event?
> 
> *** Discussion title: Particles
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/particles/403"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> 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?   (Ben Morgan - 28 Apr, 2008)
 Add Message Add Message
to: "RE: 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 ]