Open mhul opened 5 years ago
Installed a virtual box with Ubuntu/EGS and ran the code. Works fine for lower energies as well. So problem solved I guess.
// Markus
Glad it works for you on linux, but it still fails on Windows if I understand correctly. I am going to reopen this so that I remember to take a look at the issue on Windows.
Correct, I didn't get it to work in the windows environment. I no longer believe it has to do with the make though since it works on linux (but you probably knew that from the beginning).
So the make error for tutor7pp becomes a separate problem I suppose :)
Regards,
Markus
(win7, EGS_2019, MinGW 6.4)
Dear all,
I'm new to EGSnrc and have started to play around a bit. For my first project, I plan to scatter x-ray photons (in the diagnostic energy range) of a water phantom and detrmine the dose in some point at some angle. So far I've got my collimated source and my phantom inscribed in a box of air.
Problem starts when I want to look at the result in egs_view. It works for electrons and for high MeV photons (> 1.5 Mev works fine, at 1.4 MeV and below egs_view crash when ptracks are loaded, so far I've only tried monoenergetic).
I suspect it could have something to do with my build/make. For .cpp I only use the two rows from the first example in the "getting_started" manual:
I've tried to use the .cpp from tutor7pp but get "Error 1" message when I run "make" and "undefined reference to 'egs_scalebc' ".
The part of the tutor7pp.cpp code containing the egs_scale_bc references seems to be related to the paritcle tracks, correct? Could this be related to the problem? I am very thankful for any sugesstions on how to fix this issue.
Best regards, Markus