Skip to content

Segmentation fault (core dumped) Error in dosxyznrc simulation using source 21 #1086

Answered by rtownson
physicsmed asked this question in Questions
Discussion options

You must be logged in to vote

Yes it is worth trying increasing dsurround=41cm.

To change it to air instead of vacuum, open your .egsinp file in a text editor. Look for the "41", it will be near the bottom of the numbers, maybe the 3rd to last line (but before the transport parameters). It probably looks like this:

2, 0, 0, 41, 0, 0, 0, 0

Change the number before the 41 to be the index of air in your .egsphant file. Your .egsphant file has a list of materials at the top of the file when you open it in a text editor, if the first material in the list is air, then you want to put "1" (0 is for vacuum). E.g.

2, 0, 1, 41, 0, 0, 0, 0

Save the input file and try the simulation again.

Note that this input line is described…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@physicsmed
Comment options

@rtownson
Comment options

Answer selected by rtownson
@physicsmed
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants