Running Cadence Under Windows

 

The fact is that Cadence does not run on windows. It will only display its output on your windows machine, while the software itself will be running on the Solaris/Linux machine you are logged into.

 

This requires a fast connection to get anything done, the X protocol exchanges lots of packets through the network, and needs high bandwidth otherwise display will look sluggish.

 

1-    Install X server on your windows machine:

This is what the Cadence software will need to connect to in order to display its windows on your machine. There are lots of X servers for windows most of them are commercial. My own recommendation is to get the XFree86 distribution under windows, which comes with the Cygwin software. Cygwin is a set of free unix tools that have been ported to the windows platform, so that you can use many of your favorite Unix tools under Windows.

 

1-     Download the Cygwin Setup Program.

2-     Run the installer, and click Next.

3-     Choose “Install From The Internet”, and click Next.

4-     Select the installation directory which is normally C:\cygwin, and click Next.

5-     Select the Local Package Directory, which is the directory where the installer will download your packages to before installing them, it must be on a drive with enough space (at least 60MB). Click Next.

6-     Select “Direct Connection” (unless you are using a proxy), and click next.

7-     Select a mirror to download from. There is a mirror at UMBC, but any other mirror should work, if it doesn’t you can try another one. Of course you should select a mirror in the United States and leave those mirrors ending with country codes (like .it .ru .cz .au , etc ). Click Next.

8-     On the next step you’ll be presented with the package selection dialog. You can leave all the default with two exceptions:

                                                               i.      If you know how to use the VI editor you should install it because it doesn’t install by default. This is the fastest way for editing your files under the Cygwin installation.
To install it: Click the + sign on the left of “Editors” to expand the selection. Locate the entry for Vim, and on the extreme left click the word “Skip”, until it becomes “Install” (or “Keep” if it was previously installed).

                                                             ii.      You’ll need to install the X server, since it is not installed by default.
Locate the XFree86 entry at the very bottom. Click the plus sign to its left until it expands. On the very minimum you should select the first two entries which are : WindowMaker, and XFree86-base.

9-     Click Next to start the installation process. You should have a fast connection since the packages are large, especially the XFree86 package.

10- After installation finishes, run a Cygwin shell from your start menu.

11-  (UPDATE: In the latest versions this step may not be required) You should change your default window manager. By default XFree86 comes with “twm” which is quite outdated and counter intuitive. A better choice is “WindowMaker”. To do this you’ll need to edit the /etc/X11/xinit/xinitrc file. If you installed and know how to use vi or vim, all you need to do is to type:
            vi /etc/X11/xinit/xinitrc
and near the end of the file change the line “twm &” to “wmaker &”, and save the file and exit.
If you don’t know vi, you can edit the file using notepad. Locate the file under your cygwin installation. If you chose installation directory as “C:\cygwin” (the default), then the file will be at “C:\cygwin\etc\X11\xinit\xinitrc”, then change “twm” to “wmaker”.

12- Now your X installation is ready. To run your X server, type:
            startx &
at your cygwin shell prompt. You should notice the display of your X server and window manager coming on your screen.

 

2-    Enable X forwarding in you SSH client:

Assuming you are running TeraTerm Pro SSH (On the UMBC internet CD or OIT website), all you need to do is selecting “SSH Forwarding …” from the “Setup” menu, and checking “Display remote X application on local X server.  It can be useful too to change the encryption method from the default to something faster like RC4.  Change that from the “Setup/SSH” menu.

Then from the “Setup menu choose “Save Setup”.

Start a new session with the new settings.

 

3-    Login to your GL account on a GL Sun or Linux machine using SSH

4-    Run Cadence Software

Assuming all your configuration are correct, and that you can run the software on a local machine, you can now run “icfb” and it should display on your X server.