Message: Segmentation fault caused in G4GIDI_target Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Segmentation fault caused in G4GIDI_target 

Forum: Hadronic Processes
Date: 17 Jul, 2016
From: Zhiyi Liu <Zhiyi Liu>


I am working on speeding up high precision neutron simulations with low energy (<20MeV). I was suggested by an expert to use G4LEND* models to replace the G4NeutronHP* models (using 10.2p2 version). My compiling is fine, however, the program stopped with the following debugging message (after going through couples of tracks):


Program received signal SIGSEGV, Segmentation fault.
G4GIDI_target::getOthersFinalState (this=this@entry=0x0, e_in=e_in@entry=5.0057437005900738, temperature=temperature@entry=293.14999999999998, rng=rng@entry=
    0x2aaab0081780 <MyRNG(void*)>, rngState=rngState@entry=0x0)
    at /geant4.10.2/geant4.10.02.p02/source/processes/hadronic/models/lend/src/
387         return( getFinalState( nOthersIndices, othersIndices, e_in, temperature, rng, rngState ) );


My physical list is


for your reference. Since no comprehensive reference about G4LEND* can be found, I may make some mistakes in the physics list. One thing that I suspect is that I didn't use process->AddDataset(***). However, I did set the G4LENDDATA variable... Any idea about the segmentation fault above? Thanks.

Cheers, Zhiyi.

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

1 None: Re: Segmentation fault caused in G4GIDI_target   (Koi, Tatsumi - 17 Jul, 2016)
2 None: Re: Segmentation fault caused in G4GIDI_target   (Koi, Tatsumi - 19 Jul, 2016)
 Add Message Add Message
to: "Segmentation fault caused in G4GIDI_target"

 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 ]