Example B1 running but not calculating anything

Hi. I am running Example B1 with geant4_10_06 built on Windows 10.
The program looks to run properly and shows the geometry on a separate window. However, it doesn’t look to calculate anything, as I do not see the beams on the visualization window.

Below is a print of the result when I ran ‘/run/beamOn 3’.

Any suggestions will be appreciated.
Thank you.

/run/beamOn 1

Region – – appears in world volume
This region is in the mass world.
Root logical volume(s) : World
Pointers : G4VUserRegionInformation[00000000], G4UserLimits[00000000], G4FastSimulationManager[00000000], G4UserSteppingAction[00000000]
Materials : G4_AIR G4_WATER G4_A-150_TISSUE G4_BONE_COMPACT_ICRU
Production cuts : gamma 700 um e- 700 um e+ 700 um proton 700 um

Region – – is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[00000000], G4UserLimits[00000000], G4FastSimulationManager[00000000], G4UserSteppingAction[00000000]
Materials :
Production cuts : gamma 700 um e- 700 um e+ 700 um proton 700 um

========= Table of registered couples ==============================

Index : 0 used in the geometry : Yes
Material : G4_AIR
Range cuts : gamma 700 um e- 700 um e+ 700 um proton 700 um
Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 70 keV
Region(s) which use this couple :
DefaultRegionForTheWorld

Index : 1 used in the geometry : Yes
Material : G4_WATER
Range cuts : gamma 700 um e- 700 um e+ 700 um proton 700 um
Energy thresholds : gamma 2.51944 keV e- 276.265 keV e+ 270.751 keV proton 70 keV
Region(s) which use this couple :
DefaultRegionForTheWorld

Index : 2 used in the geometry : Yes
Material : G4_A-150_TISSUE
Range cuts : gamma 700 um e- 700 um e+ 700 um proton 700 um
Energy thresholds : gamma 2.27786 keV e- 299.466 keV e+ 293.489 keV proton 70 keV
Region(s) which use this couple :
DefaultRegionForTheWorld

Index : 3 used in the geometry : Yes
Material : G4_BONE_COMPACT_ICRU
Range cuts : gamma 700 um e- 700 um e+ 700 um proton 700 um
Energy thresholds : gamma 3.95224 keV e- 397.122 keV e+ 384 keV proton 70 keV
Region(s) which use this couple :
DefaultRegionForTheWorld

====================================================================

Run 0 starts.

G4WT1 > /tracking/storeTrajectory 2
G4WT0 > /tracking/storeTrajectory 2
G4WT0 > ### Run 0 starts on worker thread 0.
G4WT1 > ### Run 0 starts on worker thread 1.
G4WT1 > Thread-local run terminated.
G4WT1 > Run Summary
G4WT0 > Thread-local run terminated.
G4WT0 > Run Summary
G4WT0 > Number of events processed : 1
G4WT1 > Number of events processed : 0
G4WT0 > User=0.000000s Real=0.000260s Sys=0.000000s [Cpu=0.0%]
G4WT0 >
G4WT1 > User=0.000000s Real=0.000002s Sys=0.000000s [Cpu=0.0%]
G4WT0 > --------------------End of Local Run------------------------
G4WT0 > The run consists of 1 gamma of 6 MeV
G4WT0 > Cumulated dose per run, in scoring volume : 0 picoGy rms = 0 picoGy
G4WT0 > ------------------------------------------------------------
G4WT0 >
Run terminated.
Run Summary
Number of events processed : 1
User=0.000000s Real=0.002277s Sys=0.000000s [Cpu=0.0%]

--------------------End of Global Run-----------------------
The run consists of 1
Cumulated dose per run, in scoring volume : 0 picoGy rms = 0 picoGy

1 event has been kept for refreshing and/or reviewing.

“/vis/reviewKeptEvents” to review them one by one.
“/vis/enable”, then “/vis/viewer/flush” or “/vis/viewer/rebuild” to see them accumulated.

Have you tried running more events? This would just confirm that there were actually interactions.

Thank you for the suggestion. I do not see any paths even when I run many events (100)…

@ivana, @Allison, could you take a look at this issue please?

I tried the Windows version of Cmake and everything works OK; I can install Geant4 and run examples.
Thanks for all your help!

Hey! I am also using Geant4 on Windows 10 and I am already able to run Geant 4. However I am not able to visualize anything, what visualization driver are you using in Windows and if you can share with me how were you able to install this visualization driver I would highly appreciate it!

This is the thread I am using to solve this problem: Example B1 issue (Windows): Post Installation guide

Thank you!

Hi. My memory is already faint, but here is a note I took:

I remember a lot of problems/errors disappeared when I started to use CMake instead of compiling in the command prompt mode.

Hope this helps.

Hello!

I was finally able to run example 1 and build the geometry. However, I am having trouble with an error after running the beam:

The output I am getting is this one:

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 reading this!