Problem 2537 - Issue with Geant4-v10.00.p02 Data Files
Summary: Issue with Geant4-v10.00.p02 Data Files
Status: RESOLVED DUPLICATE of problem 2535
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 10.0
Hardware: All All
: P4 normal
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2023-04-14 22:08 CEST by Will Thompson
Modified: 2023-04-17 16:46 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Will Thompson 2023-04-14 22:08:38 CEST
_Geant4 Version:_10.00.p02
_Operating System:_CentOS-7
_Compiler/Version:_gcc 12.1.0

Hello,

I am trying to install Geant4-v10.00.p02, but am getting an the following error when running exampleB1:
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PART70000
issued by : G4NuclideTable
G4ENSDFSTATEDATA environment variable must be set
*** Fatal Exception *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------

I believe that this is related to the downloading of the associated data files when building the project.

By default, cmake is configured to download the data files from “http://geant4.cern.ch/support/source”; however, this URL no longer seems to exist. I was able to find the new URL for the data files (“https://cern.ch/geant4-data/datasets”), so I instead pointed cmake to download the files from this source. When building the project, these files are successfully downloaded and copied to my install directory, except for G4ENSDFSTATE1.0/.

I have tried manually copying over this directory and setting the correct environmental variable, but this leads to a separate error that seems to be related to an incorrect formatting of one of the data files. This leads me to believe that my approach causes an incorrect version of the data files to be downloaded, leading to the exception when running the example.

Is it possible to correct the installation of these data files or provide guidance on how to install this problem when installing this Geant4 version?

Thanks for your time.
Comment 1 Gabriele Cosmo 2023-04-17 16:46:35 CEST

*** This problem has been marked as a duplicate of problem 2535 ***