Results 1 to 4 of 4

Thread: Need Help with Building Geant4

  1. #1
    Join Date
    Oct 2016
    Beans
    1

    Need Help with Building Geant4

    Hi

    I really really appreciate any help i can get with this.
    I have followed the geant4 installation guide step by step but for some reason this error has me stumped:
    ------------------------------------------------------------------------------------
    [skulmiya@localhost B1-build]$ ./exampleB1
    Available UI session types: [ GAG, tcsh, csh ]

    -------- EEEE ------- G4Exception-START -------- EEEE -------
    *** G4Exception : PART70001
    issued by : G4NuclideTable
    ENSDFSTATE.dat is not found.
    *** Fatal Exception *** core dump ***
    -------- EEEE -------- G4Exception-END --------- EEEE -------


    *** G4Exception: Aborting execution ***
    Aborted (core dumped)
    ------------------------------------------------------------------------------------

    I have relocated my environment variables, but i dont know why its not recognising the .dat file, even though its present within the directory.

    Thank you once again.

  2. #2
    Join Date
    Jan 2017
    Beans
    1

    Re: Need Help with Building Geant4

    Hello all,

    I also have the exact same problem.
    Did you found any solution about that?
    Thank you in advance

  3. #3
    Join Date
    Dec 2016
    Beans
    24

    Re: Need Help with Building Geant4

    http://geant4.cern.ch/support/source...uclideTable.cc

    {

    if ( threshold_of_half_life < minimum_threshold_of_half_life ) {

    // Need to update full list

    char* path = getenv("G4ENSDFSTATEDATA");

    if ( !path ) {
    G4Exception("G4NuclideTable", "PART70000",
    FatalException, "G4ENSDFSTATEDATA environment variable must be set");
    return;
    }

    std::ifstream ifs;
    G4String filename(path);
    filename += "/ENSDFSTATE.dat";

    ifs.open( filename.c_str() );

    if ( !ifs.good() ) {
    G4Exception("G4NuclideTable", "PART70001",
    FatalException, "ENSDFSTATE.dat is not found.");
    return;
    }

    Are you setting the enviroment variable right?

  4. #4
    Join Date
    May 2017
    Beans
    1

    Re: Need Help with Building Geant4

    check the data folder under your geant4 installation directory

    for example geant4 installation directory/share/Geant4-10.3.1/data/G4ENSDFSTATE2.1

    If it is empty, then you need to install data files

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •