You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following discussion revealed a simple compiler error that occurred when MXSTACK was increased. It was due to the line length flowing over 80 characters when the value of MXSTACK was substituted.
Originally posted by Fisicomelo September 25, 2024
Hello guys,
I am trying to run egs_chamber with a BEAM accel as shared library, and I am constantly getting this error:
Stack overflow in BREMS! np = ****** Increase $MXSTACK and try again
However, if I try to increase $MXSTACK from 9e6 to 1e7 in the array_sizes.h file in egs_chamber and try to recompile I get another error (please, see image) that does not allow me to compile it:
I have tried to increase $MXSTACK in /home/omega/EGSnrc/HEN_HOUSE/src/egsnrc.macros as well but I still have the same (first) error.
Fix a compiler error that occurred when MXSTACK was increased to 1e7 or
higher. This was due to the line length of an output statement flowing
over 80 characters. The fix was just to split the line, so that more
characters are available.
The following discussion revealed a simple compiler error that occurred when MXSTACK was increased. It was due to the line length flowing over 80 characters when the value of MXSTACK was substituted.
Discussed in #1190
Originally posted by Fisicomelo September 25, 2024
Hello guys,
I am trying to run egs_chamber with a BEAM accel as shared library, and I am constantly getting this error:
Stack overflow in BREMS! np = ****** Increase $MXSTACK and try again
However, if I try to increase $MXSTACK from 9e6 to 1e7 in the array_sizes.h file in egs_chamber and try to recompile I get another error (please, see image) that does not allow me to compile it:
I have tried to increase $MXSTACK in /home/omega/EGSnrc/HEN_HOUSE/src/egsnrc.macros as well but I still have the same (first) error.
Does anyone have any suggestion?
DBS settings:
Splitting field radius: 10
SSD: 100
Beam splitting number: 800
The text was updated successfully, but these errors were encountered: