Message: Cannot find G4NEUTRONHPDATA path in Geant4 installation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Cannot find G4NEUTRONHPDATA path in Geant4 installation 

Forum: Installation and Configuration
Date: 17 Dec, 2008
From: Maria Gatu Johnson <Maria Gatu Johnson>

Hello again,

My next problem is that when running my code, I get the following error message:

Construct EM over
G4NeutronHPNames: Sorry, this material does not come near to any data.
G4NeutronHPNames: Please make sure G4NEUTRONHPDATA points to the
                  directory, the neutron scattering data are located in.
G4NeutronHPNames: The material was: A=12, Z=6
In src/, line 242: 
===> In case the data sets are at present not available in the neutron data library, please contact
terminate called after throwing an instance of 'G4HadronicException'
  what():  19G4HadronicException

I have figured out that I need to set the environment path G4NEUTRONHPDATA and a few other environment paths. When I check these paths, they currently point to /usr/local/src/geant4/data/[filename] (after running source However, there is no directory /usr/local/src/geant4/data and I cannot find the files elsewhere either. Did I make a mistake during the installation process? Or where should I be able to find the files that I need to set paths to?

Thanks in advance, again...


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

1 Idea: Re: Cannot find G4NEUTRONHPDATA path in Geant4 installation   (Maria Gatu Johnson - 18 Dec, 2008)
 Add Message Add Message
to: "Cannot find G4NEUTRONHPDATA path in Geant4 installation"

 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 ]