|Message: MT migration problem||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Dear Geant4 experts!
I've made simulation of INS with energy 14 MeV on soil and acquire gamma-spectrum. I've run my simulation in sequential mode and have a gamma spectra. I've tried to migrate my problem in MT mode. I follow the instructions in "Quick migration guide for Geant4 version 10.x series", I run my simulation in MTmode and have:
### Run 0 starts. G4WT1 > ### Run 0 starts on worker thread 1. G4WT0 > ### Run 0 starts on worker thread 0. G4WT3 > ### Run 0 starts on worker thread 3. G4WT2 > ### Run 0 starts on worker thread 2. G4WT1 > EventAction: Event # 0started G4WT1 > EventAction: Event # 1000started ... G4WT2 > EventAction: Event # 9000started G4WT1 > Thread-local run terminated. G4WT1 > Run Summary G4WT1 > Number of events processed : 2800 G4WT1 > User=12.21s Real=3.21s Sys=0s G4WT2 > Thread-local run terminated. G4WT2 > Run Summary G4WT2 > Number of events processed : 2000 G4WT2 > User=12.28s Real=3.24s Sys=0s G4WT0 > Thread-local run terminated. G4WT0 > Run Summary G4WT0 > Number of events processed : 2500 G4WT0 > User=12.29s Real=3.24s Sys=0s G4WT3 > Thread-local run terminated. G4WT3 > Run Summary G4WT3 > Number of events processed : 2700 G4WT3 > User=12.32s Real=3.27s Sys=0s Run terminated. Run Summary Number of events processed : 10000 User=12.33s Real=3.27s Sys=0s G4WT1 > ================== Deleting memory pools =================== G4WT1 > Number of memory pools allocated: 12; of which, static: 0 ... G4WT3 > There should not be any thread-local G4cout/G4cerr hereafter. G4 kernel has come to Quit state. ================== Deleting memory pools =================== Number of memory pools allocated: 3; of which, static: 0 Dynamic pools deleted: 3 / Total memory freed: 0.0029 Mb ============================================================ RunManagerKernel is deleted. Good bye :)
But in my "Spectrum.csv" I have only zeros instead of number of gammas vs energy. I've used derived class of G4Run to collect the thread-local data like in short guide and examples B1 and B3. Please could you take a look on my RunAction.cc, RunAction.hh, Run.cc, Run.hh and say which correction I need to do to have "Spectrum.csv"?
Thanks in advance
Attachment: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/07/23/15.05-42677-Run.cc http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/07/23/15.05-72596-Run.hh http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/07/23/15.05-77155-RunAction.cc http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/07/23/15.05-76561-RunAction.hh
|Inline Depth:||Outline Depth:||Add message:|