Hello,
I’m trying to install egsnrc on my 32-bit ubuntu. However I can’t launch the installer (./EGSnrc-configure-linux) and I get the error “bash: ./EGSnrc-configure-linux : cannot execute binary file. Exec format error”. I have given the installer permission using chmod +x. It seems that the error is that the installer is a 64-bit program and my computer is 32 bit. And therefore I can’t install it. I also can’t find any information about a 32 bit version of EGSnrc.
Has anyone had this problem? And how did you solve it? Or does anyone know of a solution?
Any help would be much appreciated. Thank you.
As far as I know EGSnrc will not work on 32-bit systems. Give it another try though using the configure script, which is an alternative to the GUI in HEN_HOUSE/scripts/configure. You would also have to compile all the Qt GUIs yourself (egs_view, egs_gui, egs_inprz).
If that doesn’t work, you will have to switch to 64-bit! If you really can’t, it is possible that a much older version of EGSnrc might work, I could ask around…
LikeLike
I don’t remember for sure but I thought the 2015 release would work on 32 bit if run from the command line only.
LikeLike
R Townson Thank you! Seems like this actually worked! At least partly. I was able to run the configuration script and compile all the QT GUI’s. The only thing was that I got make errors 1 and 2 when trying to compile egs_configure. But I tried to run an example and it worked fine. So for the moment I am satisfied. Do you happen to know if my lack of egs_configure will come back to bite me at some point?
LikeLike
Cody Crewson I tried to use the same method with the 2015 version but I got the same error as I did for the 2018 one. But it seems like R Townson’s solution worked. Thank you though.
LikeLike
I meant for you to use the configure script and code base from 2015. I’m surprised newer versions compile on 32bit at all as we’ve made some significant changes to allow for very large history runs. I’m pretty sure The GUI installer will not run on 32 bit at all.
LikeLike
Ah I see. For now it seems to be working, but if I run into a wall of problems then I will try the configure script with the 2015 version. Thank you!
LikeLike
Yeah you won’t need egs_configure that is just the installer GUI. Glad you had success 🙂
LikeLike