I am getting error while running the example B1. I am attaching the two error files. One is the log generated by the system and another is the list of commands I have used.
It says, “G4ENSDFSTATEDATA environment variable must be set”.
So…look in the Guides to find out how to set the environment. See Postinstall Setup — Geant4 Installation Guide 11.0 documentation.