Installation common problems

Installation common problems
ost of the problems encountered when working on clusters are due to different versions of root or Geant4. The best way to have a robust installation is to install root, geant4, nptool, midas2nptool locally and make to source their corresponding set-up script in your .bashrc file.

.bashrc file
You can find this file in your home directory, copy and past the following and adapt it to your local directories xxx are the version, '#' is the comment character for .sh script.

- #ROOT source /home/ /path-to/root/bin/thisroot.sh     #(in case you have an alternative root version in parallel     alias  root6='/home/ /path-to-install-dir/root-xxx/bin/root' - #Geant4     source /home/ /path-to-install-dir/geant4.xxx/share/Geant4-xxx/geant4make/geant4make.sh - #NPTOOL     source /home/ /path-to/nptool/nptool.sh - #MIDAS 2 NPTOOL     source /home/ /path-to/midas2nptool/midas2nptool.sh