#################################################
################ MMSIM 13 #######################
#################################################

# 0. Install neccessary packages

su -
yum install -y gcc gcc-c++ ksh csh libXp* xorg-X11-fonts* compat-libstdc++-33.i686
yum install -y alliance-libs alliance glibc-2.12-1.107.el6.i686 glibc-devel.i686 glibc
yum install -y compat-readline5-5.2-17.1.el6.i686
yum install -y xterm-253-1

# 0.1. Created linked libraries (only with Linux 64-bit)

su -
cd /lib64
ln -s libreadline.so.6 libreadline.so.5
cd /usr/lib64
ln -s libhistory.so.6 libhistory.so.5

# 1. Untar all package files

tar -xvf Base_MMSIM13.10.066_lnx86_1of5.tar
tar -xvf Base_MMSIM13.10.066_lnx86_2of5.tar
tar -xvf Base_MMSIM13.10.066_lnx86_3of5.tar
tar -xvf Base_MMSIM13.10.066_lnx86_4of5.tar
tar -xvf Base_MMSIM13.10.066_lnx86_5of5.tar

# 2. Untar IScape04.21-s003lnx86.t.Z

cd MMSIM13.10.066_lnx86.Base/CDROM1
tar -xvzf IScape04.21-s003lnx86.t.Z
cd iscape/bin
sh iscape.sh

# 3. Run installer and install it to /usr/cadence

# 4. Extract the flexlm to /usr/cadence

tar -xvjf flexlm.tar.bz2 -C /usr/cadence

# 4. Edit the environmental variables and license file

hostname
gedit ~/.bashrc &
gedit /usr/cadence/flexlm/cadence.dat &

# Replace "home" with "your_host_name"
# e.g: 5280@home => 5280@your_host_name


