Hello dear Geant4 users!
I got some problems about running example TestEm5. When I opened macro file “berger.mac” in Qt GUI TestEm5, the GUI TestEm5 clashed and did not return any information.
So, I chose to execute TestEm5 in ‘batch’ mode from macro files. But when I entered ./TestEm5 berger.mac
, the terminal returned error value to me.( as shown below)
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4RootFileManager::CreateFileImpl
Cannot create file berger/local.root
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
... create file : berger/local.root - done
... open analysis file : berger/local.root - done
... open analysis file : berger/local.root - done
G4WT0 > /testem/gun/setDefault
G4WT0 > /gun/particle e-
G4WT0 > /gun/energy 1 MeV
G4WT0 > /analysis/setFileName berger/local
G4WT0 > Set file name: berger/local
G4WT0 > /analysis/h1/set 1 105 0 1.05 MeV
G4WT0 > /run/printProgress 100000
==============================================================================================
--> G4TaskRunManager::CreateAndStartWorkers() --> Creating 1000 tasks with 1000 events/task...
==============================================================================================
Adding task 0 to task-group...
Adding task 1 to task-group...
Adding task 2 to task-group...
Adding task 3 to task-group...
....
Adding task 904 to task-group...
Adding task 905 to task-group...
Adding task 906 to task-group...
Adding task 907 to task-group...
G4WT0 > ### Run 0 starts on worker thread 0.
G4WT0 > ... set ntuple merging row mode : row-wise - done
G4WT0 > tools::wroot::file::file : can't open "berger/local_t0.root".
G4WT0 >
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4RootFileManager::CreateFileImpl
Cannot create file berger/local_t0.root
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
G4WT0 > ... create file : berger/local_t0.root - done
G4WT0 > ... open analysis file : berger/local.root - done
G4WT0 > ... open analysis file : berger/local.root - done
Adding task 908 to task-group...
Adding task 909 to task-group...
Adding task 910 to task-group...
Adding task 911 to task-group...
Adding task 912 to task-group...
...
Adding task 998 to task-group...
Adding task 999 to task-group...
G4WT0 > --> Event 700000 starts with initial seeds (35668844,91218961).
G4WT0 > [thread 0] Thread-local run terminated.
G4WT0 > [thread 0] Run Summary
G4WT0 > [thread 0] Number of events processed : 126000
G4WT0 > [thread 0] User=77.920000s Real=9.798667s Sys=0.030000s [Cpu=795.5%]
### CAUGHT SIGNAL: 11 ### address: 0x30, signal = SIGSEGV, value = 11, description = segmentation violation. Address not mapped to object.
Could anybody tell me how to fix these error?
I appreciate your help very much.
Thanks for your time and consideration!