Example B1: run Beam On error

Hello!

I was finally able to run example 1 and build the geometry. However, I am having trouble with an error after running the command /run/beamOn 10

After running the executable, I get this output:

The output I am getting after running the command /run/beamOn 10 is this:

Idle> /control/verbose 2
/control/verbose 2
Idle> /tracking/verbose 1
/tracking/verbose 1
Idle> /run/beamOn 10
/run/beamOn 10

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : em0003
issued by : G4SeltzerBergerModel::ReadData()
Bremsstrahlung data file <C:\Geant4\geant4_10_06-install\share\Geant4-10.6.2\data\G4EMLOW7.9.1;/brem_SB/br6> is not opened!G4LEDATA version should be G4EMLOW6.23 or later.

*** Fatal Exception *** core dump ***
**** Track information is not available at this moment
**** Step information is not available at this moment

-------- EEEE -------- G4Exception-END --------- EEEE -------

*** G4Exception: Aborting execution ***

Thank you!!!

Just as an update, I was able to solve this issue by redifining all environment variables as stipulated in the post-install setup guide. Hope this helps someone!

It seems to me that you can’t read the EM libraries. I think you should check the reading permission of the files of the EM libraries.