Skip to content

Setting Up & Developing on Toucan

Christopher Liu edited this page Sep 24, 2021 · 1 revision

About Toucan

Toucan is Tyler's development server that's currently powered by an Intel i7-9700K and a NVIDIA Quadro RTX 4000. It currently resides by Tyler's desk so he'll know when you're working hard :)

Requesting Access

Tyler's students all have access to Toucan. If you don't have access, contact him.

Logging In

Log in to Toucan with

ssh <your username>@toucan.soe.ucsc.edu

School VPN is not required to access Toucan.

Setting up CUDA

Using your favorite editor, modify .bashrc by appending the following lines.

PATH=$PATH:/usr/local/cuda-11.2/bin
export LD_LIBRARY_PATH=/usr/local/lib

If you don't know how to use an editor, run this command.

cd ~ && touch ./bashrc && echo 'PATH=$PATH:/usr/local/cuda-11.2/bin' >> ./bashrc && echo 'export LD_LIBRARY_PATH=/usr/local/lib' >> ./bashrc

Remote Development

Since Toucan is a remote machine, we need to SSH into it. There are a couple of options for editing code on Toucan.

1. Editing through your favorite editor on Toucan

You may simply SSH into Toucan and edit through an editor available on Toucan.

2. Visual Studio Code

Visual Studio Code is a popular IDE that has the Remote Development plugin. Microsoft has this tutorial that goes into further detail.

3. Mounting a Toucan directory as a remote filesystem

SSHFS allows a directory in Toucan to be mounted as a remote filesystem on your local machine. The SSHFS GitHub provides detailed instructions.

For example, you could run

sshfs <your username>@toucan.soe.ucsc.edu:path/to/your/directory path/to/local/directory

Toucan's directory will now be in path/to/local/directory. Unmount this remote filesystem calling

fusermount -u path/to/local/directory

or for MacOS or BSD systems

umount path/to/local/directory

Clone this wiki locally