Message: Re: Problem running Geant4 8.3 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem running Geant4 8.3 

Forum: Installation and Configuration
Re: Question Problem running Geant4 8.3 (Francisco)
Date: 11 Jun, 2008
From: Tom Roberts <Tom Roberts>

Your program apparently has a memory leak, and that exhausted memory.
You basically have 3 options:
 1) buy more memory (temporary workaround that might be sufficient but
    will inevitably fail sometime).
 2) fix the memory leak -- check all allocations and verify they are 
    free-d (non-trivial in a big program). Or use a debugging malloc...
 3) split the job into smaller jobs and then combine the results.

My Geant4 program has memory requirements proportional to the number of events simulated (not a leak, a data structure that needs to be sorted at the end of the run). I do (3) by seeding the random number generator with the event number, and arranging the different jobs to have disjoint sequences of event numbers. This means I can run multiple jobs in parallel, and can also re-run a given event (e.g. find an outlier in a histogram, then re-run that event with visualization).

 Add Message Add Message
to: "Re: Problem running Geant4 8.3"

 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 ]