Dear Geant4 experts and users,
I am writing a simulation code to calculate the patient dose based on the DICOM example in Geant4. So I creat the voxelized phantom using the nested parameterised volume. The compiling is OK. In order to obtain the total patient dose from multiple irradiation settings, I run the code in a batch mode, so I basically I write a simple bash script to run the code many times with different argument. However, I always find a weird problem that sometimes the code hangs there and nothing moves. This is not happening for every simulation in the batch run, but every a few of them may have that hanging issue.
I googled this online, and I found a similar forum post in the old hypernew forum talking about the similar problem(http://hypernews.slac.stanford.edu/HyperNews/geant4/get/Multithreading/74.html). In that post Andrea said it may be related to the multithreading issue for the nest parameterised geometry. There was not final solution posted for the old forum thread. But I want to know that does anyone encounters this similar problem? If so, how do you handle this problem?
Thank you very much.
Ruirui