|Message: optical photons and CPU issues||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 am simulating light collection from my detector. But, I am encountering a strange problem. When the incident particles are protons (range 1-15 MeV), I am facing no problems and the simulations run fine. The same is true for low energy electrons ( of the order of 100s of keV). But once I go to the MeV range of electrons, the simulation runs for some number of events and then, I randomly get a segmentation fault.
I tried the same test case (100000 10 MeV electrons) on my PC (3 GB RAM) and on a cluster (8 GB RAM). I found that , in my PC, it gives a segmentation fault after around 1100-1500 events, whereas, on the cluster, it gets 'KILLED' after 45000-48000 events. So, I checked the memory usage during run-time on my PC. To my surprise, only around 500 MB of the 3 GB was being used up. So, clearly it is not a memory related issue. But it is not physics or geometry related either because of the large difference in the performance of my PC and the cluster. Further, in all these events, my aim is just to get the number of photons produced in every event, so I kill all the photon tracks using StackingAction.
Is there any other parameter, that I must set so that the program runs through the desired number of events?
Any help is greatly appreciated,