Anda di halaman 1dari 17

Clean install of Ubuntu 10.

04 386 Desktop

Setting up pre-requisites
1. Install additional packages necessary for Cadence. Maybe some of these packages are already installed on your system, but to be sure try to install all of them (of course, all of these could be installed in one go):
sudo apt-get sudo apt-get sudo apt-get sudo apt-get sudo apt-get sudo apt-get sudo apt-get lib32stdc++6 install libelf1 install ksh install nscd install policykit install ureadahead install csh install libc6-i386 lib32gcc1 lib32z1 ia32-libs

2. Install libstdc++2.10-glibc2.2 package. Unfortunately, this package is absent in recent Ubuntu versions, so download it from Ubuntu Dapper repository: http://packages.ubuntu.com/dapper/libstdc++2.10-glibc2.2 (Or on the bottom of this page) and install it:
sudo dpkg -i libstdc++2.10-glibc2.2_2.95.4-24_i386.deb

3. Make some necessary links


sudo ln -s /usr/bin/awk /bin/awk sudo ln -s /usr/bin/firefox /usr/bin/netscape sudo ln -s /usr/lib/libstdc++-3-libc6.2-22.10.0.so /usr/lib/libstdc++-libc6.1-1.so.2

4. Install en_US locale (Ubuntu uses UTF8 by default):


sudo locale-gen en_US

Installing Cadence
1. Browse to your installation directory, and start installscape
$ cd ~/CADENCE_INSTALL $ ls

ASSURA3.2 EDI9.1 IC6.1 check_config ETS9.1 InstallScape $ cd InstallScape/iscape/bin $ ./iscape.sh

MMSIM7.1 SOC8.1

TSI6.1

2. Click on Install from a Local Directory/Media in the InstallScape window 3. When asked for a location, choose ~/CADENCE_INSTALL/IC6.1/Hotfix/IC06.13.508613_lnx86.Hotfix/CDROM1. If you dont have the hotfix directory, simply choose the CDROM1 location in the base directory for IC6.1 4. Click Next. When asked what products to install, I checked the very top option IC610_lnx86 5. If using the hotfix cdrom directory, once the installation gets to ~99% InstallScape will ask you for the Base IC610 directory. Simply point it to the CDROM1 folder in base folder (~/CADENCE_INSTALL/IC6.1/Base/IC610_lnx86.Base/CDROM1) from your installation sources.

6. Once done, an installation Report will show you the results of your installation.

7. Click Close. You will be prompted to configure the installed products. Click Yes

8. An automated configuration script will now start and will configure 6 items. Screenshots below of each:

9. IC6.1 Should now be installed. 10. Configure licence: (accepted most defaults)
daglitch@daglitch-powerlaptop:~/IC61/share/license$ ls clients license.sample clients.2010-08-21.17.clients mkclients clients.sample options.sample configure products.dfII flexlm_enduser.pdf rc.add lic_config rclic.sample license.dat rcout.sample license.dat.2010-08-21.16.license.dat test_inst daglitch@daglitch-powerlaptop:~/IC61/share/license$ ./configure

#Go through configuration for licence


Enter the top installation directory <q to quit> [/home/daglitch/IC61] -> #just pressed enter Edit the license file or the startup script now? <y/n/q> [y] -> #enter Override the defaults? <y/n/q> [n] -> #enter Configure license file license.dat? <y/n/q> [y] -> #enter Configuring license.dat... Verifying FEATURE lines for daemon cdslmd........ Verifying FEATURE lines for daemon verisityd. Verifying FEATURE lines for daemon verplex....... Existing license.dat unchanged. --------------------------------------------------------------Configure the clients file <y/n/q> [y] -> #enter Override the default? <y/n/q> [n] -> #enter Enter the path to the license file from all workstations <q to quit> -> #path here Edit daglitch-powerlaptops boot script? <y/n/q> [y] > #enter

11. Edit your bashrc file to include needed locations (gedit ~/.bashrc) and put in the following. Please take note that CDS_ROOT is the directory that you chose to install IC6.1 in.
# Cadence stuff cadence () { CDS_ROOT=/home/daglitch/IC61 export DD_DONT_DO_OS_LOCKS=SET export CDS_LIC_FILE=$CDS_ROOT/share/license/license.dat export LM_LICENSE_FILE=$CDS_ROOT/share/license/license.dat export SPECTRE_DEFAULTS=-E export CDS_Netlisting_Mode=Analog export OA_HOME=/home/daglitch/IC61/oa_v22.04.038

export export export export export export export export

PATH=$CDS_ROOT/tools/bin:$PATH PATH=$CDS_ROOT/tools/dfII/bin:$PATH PATH=$CDS_ROOT/tools/spectre/bin:$PATH PATH=$CDS_ROOT/share/bin:$PATH PATH=$CDS_ROOT/share/cdsdoc/bin:$PATH PATH=$CDS_ROOT/MMSIM71/tools.lnx86/bin:$PATH PATH=$CDS_ROOT/ETS91/tools.lnx86/bin:$PATH CDS_TEST_LIBPATH=/usr/lib:/lib

#NCSU export CDK_DIR=/home/daglitch/IC61/NCSU/ncsu-cdk1.6.0.beta export CDS_SITE=/home/daglitch/IC61/NCSU/ncsu-cdk1.6.0.beta export OSUcells=/home/daglitch/cadence/OSU_TechLib_tsmc02 }

12. After all of the above is done, you can open a new terminal and type cadence or if you named the above function differently. Then, you can run virtuoso and cadence virtuoso should run. 13. A screenshot showing proper functionality:

Install MMSIM
1. Launch Installscape as described above. Click on Install from a Local Directory/Media

2. When prompted for a location choose /home/daglitch/CADENCE_INSTALL/MMSIM7.1/Hotfix/MMSIM07.10.103_l nx86.Hotfix/CDROM1 3. Click Select Products manually 4. Set the installation directory to ~/IC61/MMSIM71 5. Place a checkmark next to MMSIM71_lnx86 in the Select Products dialog box, so that you install everything 6. Click Next and the installation should begin. 7. If prompted for the Base location, browse to the CDROM1 folder in the base directory 8. Click Close and MMSIM7.1 should now be installed.

Install Encounter (ETS 9.1)


1. Launch InstallScape as described above. 2. Click Select Products manually 3. When prompted for directory, point it to your local copy of installation files (in my case /home/daglitch/CADENCE_INSTALL/ETS9.1 4. Place a checkmark next to ETS91_lnx86, so it installs everything and click next

5. Click Close 6. Click Yes when prompted to run configuration

7. Place a checkmark next to ETS91_lnx86 to make sure it configures everything 8. Type y to configure licensing in the pop up dialog box 9. Point it to your ..IC61/share/licence directory 10. Accept all defaults and installation of encounter should be complete

Helpful Files:
libstdc++2.10-glibc2.2_2.95.4-24_i386.deb For 64bit use this libelf-0.141.so

64bit Ubuntu

To get Virtuoso working and to get around the error /home/daglitch/IC61/tools/dfII/bin/32bit/virtuoso: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory, you must create a symbolic link to the libelf-0.141.so. This was takin from a 32bit version of ubuntu.
cd /home/daglitch/IC61/tools/lib sudo ln -s /usr/lib/libelf-0.141.so libelf.so.1

Some more hacks to get mmsim tools working on a 64bit machine if you were receiving the error error while loading shared libraries libMrm.so.3 wrong ELF class: ELFCLASS64. This isnt the prettiest hack, but gets the job done
cd /usr/lib64 sudo mv libMrm.so.3 oldlibMrm.so.3 sudo ln -s /usr/lib32/libMrm.so.2.0.1 libMrm.so.3 sudo mv libXm.so.3 oldlibXm.so.3 sudo ln -s /usr/lib32/libXm.so.2.0.1 libXm.so.3

Another fix for the error error while loading shared libraries: libelf.so.1: wrong ELF class: ELFCLASS64 when launching spectre:
cd ~/IC61/MMSIM71/tools.lnx86/lib/SuSE mv libelf.so.1 oldlibelf.so.1 ln -s /usr/lib/libelf-0.141.so libelf.so.1

you can get the libelf-0.141.so from here

Troubleshooting

If you receive the error


*Error* eval: undefined function prependNCSUCDKInstallPath *Error* load: error while loading file "/usr/local/NCSU/ncsu-cdk1.6.0.beta/lib/NCSU_TechLib_tsmc02/divaDRC.rul" *Error* load: error while loading file - "*loadstring*"

This is because you are missing a few files that you need to put into the directory that you are launching virtuoso from. This directory should also include your cds.lib and lib.defs file. The files you need to put in this location are .cdsinit and .cdsenv

Ubuntu 9.10 and below

The following was removed from the above instructions because updates have the following fix no longer necessary. You will need to make some changes in your xorg configuration: Add following strings into /etc/X11/xorg.conf

Section "Extensions" Option "Composite" "Disable" EndSection

(if you do not have /etc/X11/xorg.conf either it is not necessary for your graphics card, or just create this file and add above lines to it) Reconfigure your xserver:
sudo dpkg-reconfigure -phigh xserver-xorg

and restart session (NOTE: it will restart your current session!):


sudo /etc/init.d/gdm restart

169 Responses to Install Cadence 6.1 on Ubuntu 10.04


Older Comments 1. Pingback: Installed ICFB6033 ; How do I launch it now

Anda mungkin juga menyukai