Install EGSnrc and BeamNRC:
- Install required software via Synaptic Package Manager;
- Install QT3.3.3; (Note GUI of EGSnrc was written under QT3, so it is incompatible with QT4) [add QTDIR=/usr/local/qt; MANPATH=$QTDIR/doc/man:$MANPATH; LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH; into /etc/bash.bashrc]
- Install EGSnrc and then BeamNRC using the method1 (the easiest method); [add HEN_HOUSE=/usr/local/EGSnrc; EGS_HOME=/usr/local/EGS_HOME; EGS_CONFIG="/usr/local/EGSnrc/specs/i686-pc-linux-gnu-g77.conf"; PATH=${HEN_HOUSE}/bin/i686-pc-linux-gnu-g77:${QTDIR}/bin:${PATH}; export QTDIR HEN_HOUSE EGS_HOME PATH MANPATH LD_LIBRARY_PATH EGS_CONFIG; into /etc/bash.bashrc before installation]
- Modify configure and find freetype and switch it off;
- Add qt.conf under /etc/ld.so.conf.d with contents “/usr/local/qt/lib“;
- Use ldconfig to reload;
and add
EGS_HOME=/home/userhome/egsnrc/
EGS_CONFIG=/usr/local/EGSnrc/specs/i686-pc-linux-gnu-g77.conf
export EGS_HOME EGS_CONFIG
export OMEGA_HOME=/usr/local/EGSnrc/omega
. /usr/local/EGSnrc/scripts/egsnrc_bashrc_additions
. /usr/local/EGSnrc/scripts/beamnrc_bashrc_additions
into ~/.bashrc
Now installation is finished.
4 comments:
Many thanks for the example. Is it possible to get in contact with you? Did you also install egsnrc on Ubuntu Hardy?
Best regards, Marcus (kontakt(at)marcus-fischer.com).
Ditto. Can you give us any advice for installing egsnrc on Ubuntu 9?
Thanks
I'm having trouble to install the EGSnrc on Scientific Linux 6.1, can you tell how to make the script that configures the EGSnrc environment please!
hey i am trying VARMLC CM.....but problem is by default the tongue is at left side...if i wanted to do them in right side them what is way??? pl. do it fast....
Post a Comment