|Message: Problem with large number of detectors||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)|
I have an error when I run a simulation with a large number of detectors. I am trying to do a radiation therapy simulation. I am building my "target" using a G4AssemblyVolume. I am not using any optimization, I am building the detectors using G4Box or G4Tet. I am using a very simplified physiscs list. For 30k elements, I can run the simulation, but for 70k elements I get the following error message:
phot: for gamma SubType= 12 ===== EM models for the G4Region DefaultRegionForTheWorld ====== PhotoElectric : Emin= 0 eV Emax= 10 TeV
compt: for gamma SubType= 13 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 ===== EM models for the G4Region DefaultRegionForTheWorld ====== Klein-Nishina : Emin= 0 eV Emax= 10 TeV
conv: for gamma SubType= 14 Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1 ===== EM models for the G4Region DefaultRegionForTheWorld ====== BetheHeitler : Emin= 0 eV Emax= 10 TeV
msc: for e- SubType= 10 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 ===== EM models for the G4Region DefaultRegionForTheWorld ====== UrbanMsc95 : Emin= 0 eV Emax= 10 TeV terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Abandon (core dumped)
The weird thing is that the memory of my computer is not "full" when the error occurs. Moreover, if I add a more complex physics list, the simulation crashes even with 10k elements. Where could the problem come from?
|Inline Depth:||Outline Depth:||Add message:|