Message: G4Exception : 001 issued by : G4HadronicProcess Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None G4Exception : 001 issued by : G4HadronicProcess 

Keywords: G4Exception : 001 issued by : G4HadronicProcess
Forum: Hadronic Processes
Date: 29 Mar, 2007
From: Lam YiHua <LamYiHua@gmail.com>

Dear Experts,

I have set the hadronic physics (neutron) accordingly with G4NDL3.10. But the simulation of neutron elastic will produce such result and terminated.

________________________________________________________
...  ... ... .. .
...  ... ... .. .
    ++List of secondaries generated (x,y,z,kE,t,PID):  No. of secodaries = 0

*** Geant4 Hadronic Reaction Information ***
    Nucleus A, Z = 16 8
    Projectile was a neutron
    projectile momentum (px, py, pz) = (9.02253e-19, 0, 0.0073677)
    Projectile energy = 939.566
*** End of Geant4 Hadronic Reaction Information ***

*** G4Exception : 001
      issued by : G4HadronicProcess
segmentation fault
*** Fatal Exception *** core dump ***

*** G4Exception: Aborting execution *** Aborted

________________________________________________________

I checked that this problem is due to the following lines in G4HadronicProcess.cc

Shall I 'comment' these few lines which invoke extern "C"?

namespace G4HadronicProcess_local
{
  extern "C" void G4HadronicProcessHandler_1(int)
  {
    G4HadronicWhiteBoard::Instance().Dump();
  }
} 

G4VParticleChange *G4HadronicProcess::GeneralPostStepDoIt(const G4Track &aTrack, const G4Step &)
{
...
...
  #ifndef G4HadSignalHandler_off
  G4HadSignalHandler aHandler(G4HadronicProcess_local::G4HadronicProcessHandler_1);
  #endif
...
...
}

regards,

YiHua

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

1 Feedback: Re: G4Exception : 001 issued by : G4HadronicProcess   (Gunter Folger - 29 Mar, 2007)
1 Feedback: Re: G4Exception : 001 issued by : G4HadronicProcess   (Lam YiHua - 01 Apr, 2007)
3 Idea: Re: G4Exception : 001 issued by : G4HadronicProcess   (LAM YiHua - 09 Apr, 2007)
 Add Message Add Message
to: "G4Exception : 001 issued by : G4HadronicProcess"

 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 ]