Problems running on server

Hi,
I installed Geant4-10.5.1 on server running Scientific Linux release 7.6 (Nitrogen).
It compile and build target, but when I try to run I get this error massage:

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PART70000
issued by : G4NuclideTable
G4ENSDFSTATEDATA environment variable must be set
*** Fatal Exception *** core dump ***
Segmentation fault
[arpad@n03 build]$ ./exampleB1
Available UI session types: [ GAG, tcsh, csh ]

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PART70000
issued by : G4NuclideTable
G4ENSDFSTATEDATA environment variable must be set
*** Fatal Exception *** core dump ***
Segmentation fault

I tried to fix with next commands:
export G4ENSDFSTATEDATA=/usr/local/share/Geant4-10.5.1/data
export G4ENSDFSTATEDATA=/usr/local/share/Geant4-10.5.1/data/G4ENSDFSTATE2.2
export G4PARTICLEXSDATA=/usr/local/share/Geant4-10.5.1/data/G4PARTICLEXS1.1
export G4LEDATA=/usr/local/share/Geant4-10.5.1/data/G4EMLOW7.7
export G4LEVELGAMMADATA=/usr/local/share/Geant4-10.5.1/data/PhotonEvaporation5.3

After this lines i got another error massage:

In /root/geant/geant4.10.05.p01/source/processes/hadronic/models/particle_hp/src/G4ParticleHPInelastic.cc, line 86:
===> Please set the environement variable G4NEUTRONHPDATA to point to the neutron cross-section files.
terminate called after throwing an instance of ‘G4HadronicException’
what(): std::exception
Aborted

What could be a problem? How can I fix it?

Sorry for a very long massage, I’m quite a new user so I don’t have much experience.

Thank you for answers!

Kind regards!

As you did for the other variables, you’ll need to set the G4NEUTRONHPDATA environment variable to point to the G4NDL4.5 directory. With the install tree layout, the following should work:

export G4NEUTRONHPDATA=/usr/local/share/Geant4-10.5.1/data/G4NDL4.5

See also the postinstall setup guide, as there’s a script that should help automate this:

http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/InstallationGuide/html/postinstall.html

Thank you very much!
Now works!

Hello, dear all!
I have the same/twin problem at compilled my project:

NeutronHP: /Inelastic file for Z = 8, A = 18 is not found and NeutronHP will use /opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4NDL4.5/Inelastic/CrossSection/8_17_Oxygen
In /opt/geant4/geant4.10.05.p01/source/processes/hadronic/models/particle_hp/src/G4ParticleHPInelasticData.cc, line 79:
===> Please setenv G4PROTONHPDATA to point to the proton cross-section files.
terminate called after throwing an instance of ‘G4HadronicException’
what(): std::exception
Аварийный останов (стек памяти сброшен на диск)

And i corrected my bashrc-file writing this line there:
export G4NEUTRONHPDATA=/opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4NDL4.5

Downloaded this library(G4TENDL1.3.2) from of.site geant4 and i have put it into:
/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/

After that i had written these lines in my bashrc-file too:

export G4PARTICLEHPDATE=/opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4TENDL1.3.2
export G4PROTONHPDATA=/opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4TENDL1.3.2/Proton
export G4DEUTERONHPDATA=/opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4TENDL1.3.2/Deuteron
export G4TRITONHPDATA=/opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4TENDL1.3.2/Triton
export G4HE3HPDATA=/opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4TENDL1.3.2/He3
export G4ALPHAHPDATA=/opt/geant4/geant4.10.05.p01/share/Geant4-10.5.1/data/G4TENDL1.3.2/Alpha

And this problem has solved.

[quote=“bmorgan, post:2, topic:357, full:true”]
As you did for the other variables, you’ll need to set the G4NEUTRONHPDATA environment variable to point to the G4NDL4.5 directory. With the install tree layout, the following should work: