Problem 1810

Summary: I correctly installed the G4 in Ubuntu14.04(gcc4.8.4),while run B1/B2 example,I got warning " G4ENSDFSTATEDATA must be set,"
Product: Examples/Basic and Novice Reporter: liuyingdu
Component: B2Assignee: Ivana Hrivnacova <ivana>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: 10.2   
Hardware: All   
OS: All   

Description liuyingdu 2016-01-07 04:48:50 CET
I have  installed  the G4 in Ubuntu14.04(gcc4.8.4) step by step directed by the installation guide
while I run the type"./exampleB1 "or" ./exampleB2"in the command line(cmake 3.3.2),  I got the following warnings:

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 ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***

how can I deal with it? Thanks a lot.
Comment 1 Ivana Hrivnacova 2016-01-08 11:27:50 CET
Hello,

With Geant4 10.2. version the G4ENSDFSTATE data set has become mandatory, please see the Release notes for this version, and the section 3. Items for migration of the user code.

If you install Geant4 with the CMake option GEANT4_INSTALL_DATA, then you will get these data automatically downloaded and all environment variables set when calling geant4.[c]sh script. See the section 3.3.  Note on Geant4 Datasets in Geant4 Installation Guide:
http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/InstallationGuide/html/ch03s03.html

We will update the examples documentation and add this new data set here, too.

Best regards,
Comment 2 Ivana Hrivnacova 2016-01-08 16:51:49 CET
The examples documentation has been updated, closing the report.