Geant4 granular if error occurred: go to $G4INSTALL/lib64/Geant4-9.6.2 make sure there is “Linux-g++ -> ..”