Error while trying to run exampleB1

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.

OS: macOS Monterey
Geant4 version: 11.0.1
error2.txt (3.3 KB)
error.txt (20.8 KB)


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.