Difference between revisions of "Technology Setup"

From Vlsiwiki
Jump to: navigation, search
(Setup with csh or tcsh)
m (From Windows)
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<div align=right>[[Creating_a_New_Project|2. Creating a New Project-->]]</div>
 
<div align=right>[[Creating_a_New_Project|2. Creating a New Project-->]]</div>
 +
== Preparation ==
 +
 +
=== Create your SOE Account ===
 +
https://support.soe.ucsc.edu/accounts
 +
 +
=== Install a VPN Client ===
 +
 +
https://its.ucsc.edu/vpn/installation.html
  
 
== Connecting Remotely ==
 
== Connecting Remotely ==
Line 5: Line 13:
 
=== From Linux/Unix ===
 
=== From Linux/Unix ===
  
First of all, the tools are only set up on servers (mosis4.cse.ucsc.edu for CMPE222/223, your specific lab machine in CMPE125/CMPE126, or on any of the mada machines for the MASC and VLSI research groups).  
+
First of all, the tools are only set up on servers (waterdance.soe.ucsc.edu and riverdance.soe.ucsc.edu for CMPE222/223, your specific lab machine in CMPE125/CMPE126, or on any of the mada machines for the MASC and VLSI research groups).  
  
 
You can run them remotely on the machines by exporting your X display:
 
You can run them remotely on the machines by exporting your X display:
  
  ssh -Y mosis4.cse.ucsc.edu
+
  ssh -Y riverdance.soe.ucsc.edu
or
+
ssh -Y mosis3.cse.ucsc.edu
+
  
 
and you must have an X11 client on your computer. Suggested X11 clients are
 
and you must have an X11 client on your computer. Suggested X11 clients are
Line 21: Line 27:
 
You can do this from home if you have a fast internet connection. Otherwise, you must use the computing labs.
 
You can do this from home if you have a fast internet connection. Otherwise, you must use the computing labs.
  
=== Win32 Xming Setup===
+
=== From Windows ===
  
To display on a win32 machine (vista), you should do this:
+
To display on a Windows machine, you should do below:
  
# Install xming from http://sourceforge.net/projects/xming/files/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe/download
+
# Install Xming from https://sourceforge.net/projects/xming/
# Install Xming fonts from http://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.25/Xming-fonts-7-5-0-25-setup.exe/download
+
# Install Xming fonts from https://sourceforge.net/projects/xming/files/Xming-fonts/7.7.0.10/Xming-fonts-7-7-0-10-setup.exe/download
# Install putty from http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
+
# Install putty, an SSH client from http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
 
# Start Xming
 
# Start Xming
# start putty (an SSH client)
+
# Start putty
# in the "SSH->Tunnels" page of putty, click on "Enable X forwarding"
+
# In the "SSH->Tunnels" page of putty, click on "Enable X forwarding"
# In the Session page of putty, write the hostname (bacon.cse.ucsc.edu). You can also write your username like this username@bacon.cse.ucsc.edu. Hit "Save" to save the session for future use
+
# In the Session page of putty, write the hostname (riverdance.soe.ucsc.edu). You can also write your username like this, ''username''@riverdance.soe.ucsc.edu. Hit "Save" to save the session for future use
 
# Hit "Open" to start your session
 
# Hit "Open" to start your session
  
Any X application (e.g. xcalc) should now work by displaying to your local machine
+
Now, any X application (e.g. xcalc) works by displaying to your local machine.
  
 
== Setting up the CAD Tools ==
 
== Setting up the CAD Tools ==
  
On this machine, all of the CAD tools are set up by a single setup file called /mada/software/setup.sh. It is written for bash, so you will need to run this shell first if you do not already. You can check your shell by typing:  
+
You can check your shell by typing:  
  
  echo $SHELL
+
  echo $0
 
+
The setup for CMPE125 is /opt/setup_synopsys.sh so change the name below as appropriate.
+
  
 
=== Setup with bash ===
 
=== Setup with bash ===
  
In your .bashrc file add the following lines:
+
In your .bash_profile file, make sure you use our CAD tool setup:
  
  source /mada/software/setup.sh
+
  source /bsoe/software/set-paths.sh
  source /mada/software/setup_ciranova.sh
+
  source /projects/cmpe122/setup.sh (source /mada/software/setup.sh for VLSI-DA lab)
  
You must now log out and log back in to get the new setup.
+
If you plan on using FreePDK45, you must also add this to the .bash_profile:
  
=== Setup with csh or tcsh ===
+
export CDS_SITE=/bsoe/software/design-kits/FreePDK45/ncsu_basekit (source /mada/software/setup_freepdk45.sh for VLSI-DA lab)
  
If your default shell is cshrc (the SOE default), you can either
+
Copy .bash_profile to .bashrc.
a) request that the SOE change it via itrequest, or
+
cp .bash_profile .bashrc
b) run bash at the end of your .cshrc / .tcshrc file. To do this using SOE default account settings, create a new file named .tcshrc in your $HOME directory, type in "bash" (no quotes), save it and logout/login.
+
  
If you are adventurous, you can c) use the configuration file that is located at: /mada/software/setup.csh
+
You must now log out and log back in to get the new setup.
  
Note, however, that there may be errors in this file and you should contact SOE tech support if there are differences between it and the bash setup.sh file. THIS IS NOT THE RECOMMENDED SETUP.
+
=== Setup with csh or tcsh ===
  
As of now, there is no config file to setup Cirnova p-cells, so this won't work by itself.
+
Run bash. These shells do not work and are not supported. You can request bash from ITS as your default shell or you can manually run "bash" each time. Or, as a quick hack, you can add this to your .tcshrc configuration file:
  
You must now log out and log back in to get the new setup.
+
export SHELL=/bin/bash; exec $SHELL
  
<div align=right>[[Creating_a_New_Project|2. Creating a New Project -->]]</div>
+
The above command will run a copy of bash every time you log in. **NOTE: Can someone verify this? My default shell isn't tcsh. I'm not sure if it will source your .profile/.bashrc files or not.

Latest revision as of 18:38, 22 September 2021

Preparation

Create your SOE Account

https://support.soe.ucsc.edu/accounts

Install a VPN Client

https://its.ucsc.edu/vpn/installation.html

Connecting Remotely

From Linux/Unix

First of all, the tools are only set up on servers (waterdance.soe.ucsc.edu and riverdance.soe.ucsc.edu for CMPE222/223, your specific lab machine in CMPE125/CMPE126, or on any of the mada machines for the MASC and VLSI research groups).

You can run them remotely on the machines by exporting your X display:

ssh -Y riverdance.soe.ucsc.edu

and you must have an X11 client on your computer. Suggested X11 clients are

  1. X11.app in OSX
  2. Xorg's XFree86 in Linux
  3. Xming in Windows

You can do this from home if you have a fast internet connection. Otherwise, you must use the computing labs.

From Windows

To display on a Windows machine, you should do below:

  1. Install Xming from https://sourceforge.net/projects/xming/
  2. Install Xming fonts from https://sourceforge.net/projects/xming/files/Xming-fonts/7.7.0.10/Xming-fonts-7-7-0-10-setup.exe/download
  3. Install putty, an SSH client from http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
  4. Start Xming
  5. Start putty
  6. In the "SSH->Tunnels" page of putty, click on "Enable X forwarding"
  7. In the Session page of putty, write the hostname (riverdance.soe.ucsc.edu). You can also write your username like this, username@riverdance.soe.ucsc.edu. Hit "Save" to save the session for future use
  8. Hit "Open" to start your session

Now, any X application (e.g. xcalc) works by displaying to your local machine.

Setting up the CAD Tools

You can check your shell by typing:

echo $0

Setup with bash

In your .bash_profile file, make sure you use our CAD tool setup:

source /bsoe/software/set-paths.sh
source /projects/cmpe122/setup.sh (source /mada/software/setup.sh for VLSI-DA lab)

If you plan on using FreePDK45, you must also add this to the .bash_profile:

export CDS_SITE=/bsoe/software/design-kits/FreePDK45/ncsu_basekit (source /mada/software/setup_freepdk45.sh for VLSI-DA lab)

Copy .bash_profile to .bashrc.

cp .bash_profile .bashrc

You must now log out and log back in to get the new setup.

Setup with csh or tcsh

Run bash. These shells do not work and are not supported. You can request bash from ITS as your default shell or you can manually run "bash" each time. Or, as a quick hack, you can add this to your .tcshrc configuration file:

export SHELL=/bin/bash; exec $SHELL

The above command will run a copy of bash every time you log in. **NOTE: Can someone verify this? My default shell isn't tcsh. I'm not sure if it will source your .profile/.bashrc files or not.