Message: Re: Evaluated neutron cross section libraries for G4NeutronHP Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Re: Evaluated neutron cross section libraries for G4NeutronHP  

Forum: Hadronic Processes
Re: Question Evaluated neutron cross section libraries for G4NeutronHP (Evan Rand)
Re: None Re: Evaluated neutron cross section libraries for G4NeutronHP (Koi, Tatsumi)
Re: Sad Re: Evaluated neutron cross section libraries for G4NeutronHP (Evan Rand)
Re: None Re: Evaluated neutron cross section libraries for G4NeutronHP (Koi, Tatsumi)
Date: 12 May, 2016
From: Evan Rand <Evan Rand>

Hi Tatsumi,

I tracked down the problem, I think... The issue was with the environment variable G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS. Using this environment variable with G4NDL works just fine, but for whatever reason if you use this environment variable with ENDF-VII0, for example, it will seg fault, but only for certain isotopes.

I've confirmed this with the Geant4 example Hadr04. For example, if I use the ENDF-VII0 library and run the Hadr04 simulation with graphite as my material, everything appears to work. Now if I run the same simulation, but substitute my material with a material ONLY FOUND in the ENDF-VII0 library and NOT in G4NDL, in this case I used americium-243, the simulation will seg fault when the G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS environment variable is used. The americium-243 simulation will not seg fault if I do not set the G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS environment variable. Very strange!

Do you see this behaviour as well? I am using Geant4.10.2.p01. I've attached the modified DetectorConstruction.cc file from the Hadr04 example. Only the DetectorConstruction.cc file was modified.

This is what the seg fault looks like when tracking verbose is on.

*********************************************************************************************************
* G4Track Information:   Particle = neutron,   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    0      0 fm      0 fm      0 fm      2 MeV     0 meV     0 fm      0 fm americium243   initStep
    1  -9.27 mm  -5.65 mm  -1.04 cm      2 MeV     0 meV   1.5 cm    1.5 cm americium243   hadElastic

    :----- List of secondaries ----------------
           Am243:  energy = 2.674 keV  time = 768.5 ps 
    :------------------------------------------

    2  -9.86 cm   1.27 cm  -8.03 cm      2 MeV     0 meV  11.5 cm     13 cm americium243   hadElastic

    :----- List of secondaries ----------------
           Am243:  energy = 1.533 keV  time = 6.656 ns 
    :------------------------------------------

    3  -10.2 cm    1.5 cm  -8.19 cm   1.99 MeV     0 meV  4.44 mm   13.4 cm americium243   hadElastic

    :----- List of secondaries ----------------
           Am243:  energy = 1.388 keV  time = 6.883 ns 
    :------------------------------------------

Segmentation fault (core dumped)

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/05/12/07.01-38644-DetectorConstruction.cc

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

1 None: Re: Evaluated neutron cross section libraries for G4NeutronHP   (Koi, Tatsumi - 14 May, 2016)
 Add Message Add Message
to: "Re: Evaluated neutron cross section libraries for G4NeutronHP "

 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 ]