Error in running the make file

I’m very new to Geant4 so pls bear with my lack of knowledge, I don’t really know how to check the CMake version or the Compiler version. I tried to run the MakeFile by using make command it downloaded upto 8% then gave a lot of error lines, I’m attaching the last few lines output (I believe the make file might be corrupt as the hash didn’t match when running the make command:

make[2]: *** [CMakeFiles/G4NDL.dir/build.make:98: Externals/G4NDL-4.7/src/G4NDL-stamp/G4NDL-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:945: CMakeFiles/G4NDL.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

I ran the ls command and the output seemed alright, I’ll attach that also it might help figure out the problem:

~/geant4-v11.1.3/build$ ls
BuildProducts            G4ModuleAdjacencyList.txt   Makefile                  data
CMakeCPackOptions.cmake  G4ModuleInterfaceMap.csv    Modules                   geant4-config
CMakeCache.txt           G4MotifShim.cmake           README.txt                geant4_module_check.py
CMakeFiles               G4X11Shim.cmake             UseGeant4.cmake           geant4_validate_sources.cmake
CPackConfig.cmake        Geant4Config.cmake          UseGeant4_internal.cmake  geant4make.csh
CPackSourceConfig.cmake  Geant4ConfigVersion.cmake   _source_extras            geant4make.sh
Externals                Geant4LibraryDepends.cmake  cmake_install.cmake       source
G4EXPATShim.cmake        Geant4PackageCache.cmake    cmake_uninstall.cmake     source_package_extras.cmake
G4FreetypeShim.cmake     InstallTreeFiles            cmake_uninstall.cmake.in
G4HDF5Shim.cmake         LICENSE.txt                 cxx_filesystem

Any help is greatly appreciated, thanks.

_Geant4 Version:_11.1.3
_Operating System:_Ubuntu 22.04.5 LTS
Compiler/Version:
CMake Version:


This is almost certainly a failure to download the dataset file(s). This can happen if there’s a network interruption. The build can simply be retried, as the downloads will restart.

If the problem persists, you can set the GEANT4_INSTALL_DATA CMake variable to OFF and after installation of the C++ code either:

  1. Use the installed geant4-config script to download/install the data via:

    $ geant4-config --install-datasets
    

    Run geant4-config --help for more options.

  2. Manually download the datasets and unpack the datasets from here: Download Geant4-11.1.3 - Geant4. See also the Postinstall Setup section of the install guide for locations where to unpack.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.