Installing Cadence Software

March 13, 2002

At some point, I installed the Cadence software on our Windows server. It works ok there, but now it needs to be installed so that it can be run on each windows machine in our domain. Since I forgot to write down my notes from the first installation, I don't remember what the overall setup for the windows machines is supposed to be. But I do seem to recall that I couldn't find a way to just run the software on the clients without reinstalling it. So, the following notes describe the settings I changed on each windows machine to make them able to run the Cadence software that is installed on the server.

Environment Variables

CDSROOT=s:\Cadence\PSD_14.0
CDS_LIC_FILE=5280@impulse
CHDL_LIB_INST_DIR=s:\Cadence\PSD_14.0
CONCEPT_INST_DIR=s:\Cadence\PSD_14.0
Add the following to the PATH:
s:\Cadence\PSD_14.0\tools\libutil\bin
s:\Cadence\PSD_14.0\tools\specctra\bin
s:\Cadence\PSD_14.0\tools\fet\bin
s:\Cadence\PSD_14.0\tools\jre\bin
s:\Cadence\PSD_14.0\tools\bin
s:\Cadence\PSD_14.0\share\pcb\selfstudy\bin
s:\Cadence\PSD_14.0\tools\pcb\bin

Registry Settings

The two links below go to two files that were created by saving the relevant parts of the registry on the server. I simply created all of these keys and values in the registries of each machine that would be running the Cadence software. These subtrees go in the HKEY_LOCAL_MACHINE section of the registry.

Cadence Design Systems subtree
Cadence subtree

Menu Settings

To get the menu settings, I copied the section of the Start Menu from the server to each client machine. I then had to edit each link to change the drive location from f: to s:.

Misc Settings

The only other things that needed to be changed were some of the .ini files. Since the software was originally installed on the server on the f: drive, these locations needed to be changed to s:, which is the drive that all the clients see. I seem to recall that when I first installed the software on the server, I tried to install it to s:. But it wouldn't install to any mapped drive letters and I had to use f:. In the future, if the software can be installed directly to the s: drive, it will save some time in setting things up.


Unix Install

Cadence software is rather difficult to install. One because each piece of software comes on its own cd and requires its own license. And two because the software uses a goofy email message to install, which is a pain to get working properly. But here is a chronicle of my latest Cadence software installation. Read this entire document through to get a feel for what has to be done, before starting anything.

Thirteen cds were delivered for our HP system. Of these, four are labelled as QSRs, which means Quarterly Software Rollups. When you get these, be sure to install from these first. It sounds backwards, but that's how you do it.

The old installation directory was on edg:/mnt/disk4/cad_13.5 and ./cadence and Specctra was on transi in /net/transi/cadence. Since everything should now be on edg and to be able to keep track of the different installations, this installation will be to /net/edg/disk4/. Normally, I would name the directory according to the version of the software, so we have spw45 and psd136 as package names.


DSMSE5.3QSR1-Envisia Place-and-Route with Signal and Design Integrity
I can't install this one because it requires HP-UX 11.0 and we only have 10.20.


SPW4.5QSR#-Signal Process WorkSystem 4.5
-Mount the cd with: mount /dev/dsk/c1t2d0 /cdrom
-As root, create the directory above, but then change its owner to a non-root account
-As a non-root account, run /cdrom/SETUP.SH
STOP! Under no circumstances should the softload program be started from SETUP.SH. Why? This script will start the installation which is going to require all three SPW cds. If you run the script off the cd, you won't be able to change cds when you are prompted. And since the first cd is the longest (taking ~3 hours to finish), you'll have lost a lot of time when you discover this feature.

Do you want to start softload? [y/n] NO

-Need to set SPW_HOME=/net/edg/disk4/cad2000 and SPW_SYS_DB=/net/edg/disk4/cad2000
-Run $SPW_HOME/install/bin.hppa/softload
-On the SoftLoad Main Menu, check Load Products and OK
-Device: /cdrom and CD Mounted
-Now it's going to ask to installation information and for the 20 emails that have been sent. This has NEVER worked properly for me when I used my regular email reader, pine. I had to use Netscape to save the attachments from the email messages. Supposedly, then you can use cat to combine them and the install software will be able to figure out where the info for the cd being used is located. This feature did not work for me as my concatenated file was rejected because the software thought it was for the first package listed. So you have to know which file goes with which package, not easily done since they are all named 99124842.?. This part is a royal pain.
-If/When you finally get to the installation, choose Default Installation, only because I have no idea what the custom one will ask.
-Here is a list of which products will be installed:
**SoftShare License Server 0060b018fb5c
**9000: Release Information for System Administrators
**SPWB01: Cierto(TM) SPW university bundle
-Once the installation starts, it takes a few hours to finish. Most of this time is spent copying items off the first cd (QSR).
-Next, need to configure the system. I selected all items, which were:
***Softshare License Server 0060b018fb5c
SPWB01: Cierto(TM) SPW University Bundle
-Got all kinds of errors here, I'm not sure why, but the configuration stuff that they wanted to run didn't work. I don't think it worked last time either, I ended setting it all up by hand.
-Need to get the licensing going. cdslmd is the daemon that takes care of this package (and a bunch of others). It is located in /net/edg/disk4/cad2000/tools.hppa/bin/cdslmd. I edited the license file to reflect this location. Cadence is rather particular about the license and its location must be in /net/edg/disk4/cad2000/share/license. Also here is a file called configure, which should be run to set up a clients file (I'm not sure what this does). I put the license and log file here and called them cdslmd.lic and cdslmd.log.
-Restart softload and run configure again. It will work now that licensing is set up. Configuring takes a long time. I don't know what it's doing, but the messages say things like "Decrypting hds_sigs...."

I think that's it. They have a script that sets the tons of things, like aliases and path additions, in /net/edg/disk4/cad2000/site_data/config/spw.profile. All this did was put a copy of .motifbind in my home directory. It didn't change the path or any other environment variables. I'll have to look into setting those later, when everything is installed.


IC4.45QSR1-IC Design Tools
I can't install this because it requires HP-UX 11.0 and we only have 10.20


LDV3.00QSR1-Logic Design and Verification
Can't install--for HP-UX 11.0


PSD 13.6-PCB Systems Division
Since I already loaded the Softload program, I can simply run /net/edg/disk4/cad2000/install/bin.hppa/softload to start the installation process. This software has three cds that will be used. -softload
-Load Products
-/cdrom and CD Mounted
STOP, got an error that I had the wrong release. So I'll go and run /cdrom/SETUP.SH and see what happens.

OK, so I was wrong in thinking that I could install all the Cadence software in a common directory. They don't play well together and all need their own space. So the SPW software is in /net/edg/disk4/spw45 and this software I am installing here is in /net/edg/disk4/psd136. I ran /cdrom/SETUP.SH, which copies the install directory. Then I quit before starting softload and will run it from the directory just created.

-softload
-/cdrom and CD Mounted
-No to viewing readme
-email file cad/99124842.18
-Default installation
-The following list is what will be installed off these three cds:
**Softshare License Server
**9000: Release Information for System Administrators
**PX3000: Concept(R) HDL expert
**PX3100: SPECCTRAQuest(TM) SI expert
**PX3300: PCB mixed-signal expert
**PX3400: digital logic SI library
**PX3410: memory SI library
**PX3420: FPGA SI library
**PX3430: microprocessor SI library
**PX3500: PCB librarian expert
**PX3700: PCB design expert
**PX4000: advanced package engineer expert
**PX4100: advanced package designer expert

-Configure products when installation is finished.
-Top installation directory: /net/edg/disk4/psd136
-Create tools link? Y
-Edit license file? N
-Configure clients file? N
-Edit fozzie's boot script? N
-The configuring will stop at Concept-HDL Libraries, asking which libraries to configure. Choose a for all and continue. It estimates that the time required is 817 minutes.
-Next stop is at SCALD-AWB Libraries, choose all and continue.
-Next stop (which was on the next day) is at AX1100A and/or AX1200A Libraries. Choose all and continue.
-When done, that's it.


ICC 5.0-IC Craftsman
-Create directory /net/edg/disk4/icc50 and chown maryh:edg
-/cdrom/SETUP.SH
-No to Do you want to start softload
-/net/edg/disk4/icc50/install/bin.hppa/softload
-Load Products
-Email file: 99124842.9
-Default installation
-List of products to be installed:
**Softshare license server 0060b018fb5c
**3100: Virtuoso(R) custom placer
**3300: Cadence chip assembly router
**9000: Release Information for System Administrators
-Since this one was just one cd, it went pretty fast. And in the configuration, the only item listed was the license server, which could be skipped since it was configured with the SPW package.
-That's it.
Enter ic_craft to start this program. IC Craftsman is also referred to as the Cadence IC shape-based router, the Cadence chip assembly router, the Virtuoso custom router and the Virtuoso custom placer.


Ambit 3.0-Synthesis Tool
-Create directory /net/edg/disk4/ambit30 and chown maryh:edg
-Unfortunately, this program does not have a SETUP.SH script, but instead has a file called COPY_REL.SH;1. The ;1 is sure to cause problems, but I'll try it first.
-cd to /cdrom and enter ./COPY_REL.SH\;1 (I got lots of errors with running /cdrom/COPY_REL.SH\;1)
-Select items to extract, choose 1 : BuildGates HPUX10 3.0
-directory name: /net/edg/disk4/ambit30
-Amazingly, this worked fine, no problems with the ;1 names and no funny directory schemes created. It does have its own licensing which now needs to be setup.
-Copied the license file to /net/edg/disk4/ambit30/license/ambitd.lic and touched file ambitd.log
-Edited the license file and /usr/sbin/licensing/startup and shutlicensing on frodo
-Restart licensing
-That's it


CCTrans2.0-IC Craftsman and Specctra Interface Software
-Since this is just interface software, there is no install script. Just extract the tar files for the HP platform to a directory. Now it does ask that CDS_INST_DIR be set, which is definitely going to cause problems, since we don't have a single cadence install directory. But here goes...
-Create /net/edg/disk4/cctrans20 and chown maryh:edg
-Extract /cdrom/SPICE_IF/SPHPPA.TAR;1 to the directory
-Delete the acroread and SftShr files because they have been installed elsewhere
-Uncompress spiceif02.0-p001hppa.t.Z
-These files want to go to a directory tools.hppa/iccraft/spice_if/... The only location of iccraft is in icc50/tools.hppa/iccraft. So extract these files so they end up there.
-Repeat with BRDST_IF, except these go to Specctra (which isn't installed yet.)
-CADIF_IF turn, also goes to Specctra
-GDS_IF turn, goes to IC Craft
-GDT_IF turn, goes to IC Craft
-LEFDF_IF turn, goes to IC Craft
-PROTL_IF turn, for Win NT
-SDL_IF turn, goes to IC Craft
-Will be able to install the Specctra files after Specctra has been installed.
-That's it


SPT9.0-Specctra
It wasn't on its own cd, but Specctra version 9.0 was installed with the PSD136 software. However, it's in a location that is off the main path so I created a link to enable it to be in the main path for the software.
In /net/edg/disk4/psd136/tools/bin, ln -s ../specctra/bin/specctra specctra

LDV2.1-Logic Design and Verfication
Again, this is an older version that we hadn't been using, but that had already been installed. I just moved it to its new location at /net/edg/disk4/ldv21.


Environment Variables
Now for the interesting part, trying to get all this software to work. In the previous installation, the only environment variable that needed to be set was CDS_INST_DIR. However, I don't think that the software really was all working properly and I may have to set a few more.

Here is what I think I have to set for ICC50, which doesn't have a doc directory:

export CDS_INST_DIR=/net/edg/disk4/icc50--Though maybe not, I'm basing this on past experience.
export HHHOME=/net/edg/disk4/icc50/tools.hppa/iccraft/help
export XAPPLRESDIR=/net/edg/disk4/icc50/tools.hppa/iccraft/help/app-defaults
export PATH=$PATH:/net/edg/disk4/icc50/tools/iccraft/bin

For the SPW software that I finally got running, I need to set:
export SPW_HOME=/net/edg/disk4/spw45
export SPW_SYS_DB=/net/edg/disk4/spw45
. $SPW_SYS_DB/site_data/config/spw.profile--This doesn't work in the edg script, I think I'll just put it aside and tell anyone who wants to run Cadence stuff that they have to manually source this file. If Cadence becomes more popular, I'll incorporate everything into the edg script.
-This last file sets a ton of aliases that will be used to start the software. But I'm not sure their format is correct for bash, I may need to edit this file. Note that the PATH additions are also in this file. There are quite a few, so it is probably better to leave them there.

From the doc that came with the ambit software, I need to set:
export PATH=$PATH:/net/edg/disk4/ambit30/BuildGates/current/bin

To start the command line interface, ac_shell or pks_shell
To start the graphical user interface, navigates -pks or navigates -ac

From the psd136 documents, I get:
export PATH=$PATH:/net/edg/disk4/psd136/tools/bin:/net/edg/disk4/psd136/tools/dfII/bin
I'm very happy to say that I found no mention of CDS_INST_DIR

From ldv21 documents, I get:
export PATH=$PATH:/net/edg/disk4/ldv21/tools/bin:/net/edg/disk4/ldv21/tools/dfII/bin

There had been a CDS_LIC_FILE variable to set, but I haven't set it and everything seems to be working ok. If I do need to set it, it would probably be:
export CDS_LIC_FILE=/net/edg/disk4/spw45/share/license/cdslmd.lic:/net/edg/disk4/ambit30/license/ambitd.lic

Probably more things will get added to these as I install the software that could only be run in HP 11.0.