Difference between revisions of "Technology Setup"
m (→Setup with bash) |
m (→From Linux/Unix) |
||
Line 17: | Line 17: | ||
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 riverdance.soe.ucsc.edu | ssh -Y riverdance.soe.ucsc.edu | ||
Revision as of 00:15, 16 October 2020
Contents
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
- X11.app in OSX
- Xorg's XFree86 in Linux
- 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 this:
- Install xming from https://sourceforge.net/projects/xming/
- 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
- Start Xming
- start putty (an SSH client)
- in the "SSH->Tunnels" page of putty, click on "Enable X forwarding"
- 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
Any X application (e.g. xcalc) should now work 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 .bashrc file make sure you use our CAD tool setup:
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 .bashrc:
source /projects/cmpe122/setup_freepdk45.sh (source /mada/software/setup_freepdk45.sh for VLSI-DA lab)
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.