[gate-users] Simulation haulted from random seed initialization

Ananth Ravi ananth.ravi at sw.ca
Tue Dec 28 01:58:51 CET 2004


Hello Gaters,

I recently altered my macro so that I would initialize each of my 
simulations from different random seed files.
However now my simulations crash after a few thousand events, the 
following is an excerpt of the error message:

I have read a couple of the past topics that dealt with this, with the 
heading "random seed initialization".  Going by
the suggestion in this thread i tried to run the simulation with and 
without the  '/random/setDirectoryName ./'

Is this a problem with the way i generate my random numbers or something 
completely different.  

{Excerpt of the error message}

--------------------------------------------------------------------------------
[digitizer/Singles/spblurring::ProcessPulseList]: processing input list 
with 1 entries
[digitizer/Singles/spblurring::ProcessPulseList]: returning output 
pulse-list with 1 entries
        ----GatePulse----
                Run           0
                Event         7537892
                Src           7 [ 5.28539 -5.18692 -5.1242 mm ]
                Time          1.51274 s
                Energy        22.0575 keV
                localPos      [ -0.459409 6.39493 -6.62647 mm ]
                globalPos     [ 0.645867 -15.7773 -0.662647 cm ]
                           -> ( R=15.7905 cm , phi=-87.6558 
deg,z=-6.62647 mm )
                VolumeID      Vol(0 -> world-0/world_P-0 -> 
SPECThead-9/SPECThead_P-9 -> crystal-0/crystal_P-1)
                OutputID      9 0 0
                #Compton      0
                #Rayleigh     0
                scannerPos    [ 14.15 0 0 cm ]
                scannerRotAngle 0 deg
        -----------------
 
 
 
 *** Break *** segmentation violation
 Generating stack trace...
 0x0819fb43 in GateAnalysis::RecordEndOfEvent(G4Event const*) + 0xc35 
from ./Gate
 0x08173f42 in GateOutputMgr::RecordEndOfEvent(G4Event const*) + 0x86 
from ./Gate
 0x0816d1e2 in GateEventAction::EndOfEventAction(G4Event const*) + 0x140 
from ./Gate
 0x083744de in G4EventManager::ProcessOneEvent(G4Event*) + 0x764 from ./Gate
 0x083609e1 in G4RunManager::DoEventLoop(int, char const*, int) + 0xf9 
from ./Gate
 0x08360307 in G4RunManager::BeamOn(int, char const*, int) + 0x3b from 
./Gate
 0x0816071f in GateApplicationMgr::StartDAQ() + 0x1a7 from ./Gate
 0x081a2bae in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, 
G4String) + 0x110 from ./Gate
 0x08755f32 in G4UIcommand::DoIt(G4String) + 0x1774 from ./Gate
 0x087640ea in G4UImanager::ApplyCommand(char const*) + 0xb34 from ./Gate
 0x087635b4 in G4UImanager::ApplyCommand(G4String) + 0x22 from ./Gate
 0x08350086 in G4UIterminal::ExecuteCommand(G4String) + 0x42 from ./Gate
 0x0834fc19 in G4UIterminal::SessionStart() + 0x4d from ./Gate
 0x0815ed44 in main + 0x6a6 from ./Gate
 0xb611679d in __libc_start_main + 0xed from /lib/tls/libc.so.6
 0x0815df49 in TFile::TFile(char const*, char const*, char const*, int) 
+ 0x41 from ./Gate
Aborted

--------------------------------------------------------------------------------

Thanks again,
Ananth Ravi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20041227/33c755d8/attachment.htm>


More information about the Gate-users mailing list