|Message: does the /gps/hist/point have an implicit limit to the number of points allowed?||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 been trying to use a GPS particle source with a user-defined energy spectrum for neutrons. I have the following in my macro:
/gps/position -70.0 0.0 0.0 cm
I have attached the original file pube.dat, it has 1814 points. Upon running my simulation the following memory corruption error results.
*** glibc detected *** ./k100Sim: malloc(): memory corruption: 0x0000000002353b00 ***
======= Backtrace: =========
======= Memory map: ========
00400000-00466000 r-xp 00000000 00:26 93552834 /xxx/k100Sim
00665000-00667000 rw-p 00065000 00:26 93552834 /xxx/k100Sim
00667000-00668000 rw-p 00000000 00:00 0
01207000-023fd000 rw-p 00000000 00:00 0 [heap]
4076e000-4080a000 rw-p 00000000 00:00 0
417c1000-417c3000 r-xs 00000000 08:05 4456593 /export/scratch/tmp/.glZYZvcW (deleted)
If I remove all but 1024 elements, it works. In fact it seems 1024 is the maximum number of elements. Is this a known thing and that's just the maximum an energy distribution can have?
I did not find this detail in the documentation here:
though I must admit I did not read it all, I did search for 'maximum' and 'point' and read the relevant tables/sections on setting up user-defined histograms.
|Inline Depth:||Outline Depth:||Add message:|