#! /bin/sh



CADTOOL=latest
SNPS_INST=/home/tools/synopsys/sandwork
hostName=`hostname`
if [ "$hostName" == "server10" ] ||
   [ "$hostName" == "server11" ] ||
   [ "$hostName" == "server12" ] ||
   [ "$hostName" == "linux05" ] ||
   [ "$hostName" == "linux04" ] ; then
SNPS_INST=/home/tools/Synopsys/cx
else
SNPS_INST=/home/tools/synopsys/sandwork
fi

SYNOPSYS=$SNPS_INST/$CADTOOL

#====================================
# Check out license!
hostName=`hostname`


LM_LICENSE_FILE=27000@server12
echo "Checkout license in $LICENSE_HOST!"


PATH=$SYNOPSYS/c2009.03/sx_c2009_03/bin:$SYNOPSYS/bin:$SYNOPSYS/linux/bin:/usr/dt/bin:/usr/openwin/bin:/usr/bin/X11:$PATH

export SYNOPSYS LM_LICENSE_FILE PATH


#
# 2).parsing user's command and exec PrimeTime product
#
   cmdname=`basename $0`;
   exec $cmdname $@

#
# 3).exit PrimeTime
#
   exit 0





