Lab Computing

Lab Computing Resources

Access

In order to access ADCL servers, follow the steps below.

  1. Download and set up CU’s VPN if you haven’t already.
  2. Connect to CU’s network via the VPN.
  3. ssh into the server, generally with the following syntax: <username>@<server_name>.colorado.edu where <username> and <server_name> are replaced with your username and the name of the server being accessed.
  4. Enter your password and use the commandline interface as you would locally.

To setup remote connections in VS Code, complete the above steps if you haven’t already set up remote access and install the Remote-SSH extension and follow the steps here. Note the VPN must be connected to use remote access in VSCode.

Session Management

Use users to see a list of currrently logged-in users.

Use htop to keep track of which system resources are being used and by whom. This is especially important to avoid running multiple resource intesive processes at once. If there are current procecsses using many resources, check with the owner before starting additional processes to avoid interfering with each other’s processes.

Likewise, before generating or downloading large files, check that there is sufficient space on the machine and move (your) old files to the storage drive as needed to free up space. ncdu is a useful utility for seeing file/folder sizes of the current directory. Run this from /home or the root directory (/) to see additional disk usage information. df (specifically df -h) is useful for viewing disk partition use.

Persisent Sessions

Tmux is useful for keeping remote processes running without requiring an active connection to the server. See this tutorial for more information. Julia in VS Code has documentation on enabling persistent sessions within VS Code with Tmux. Please update the Tmux Session Name field to include your username to avoid naming conflicts. See this forum post for details on how to end a Tmux Julia session in VSCode, as this is different from the usual terminal behavior.

Using Julia

Juliaup is a Julia version manager. Installing this in your user folder ensures control over your Julia versions and packages. You may need to edit ~/.profile to ensure the Juliaup path is at the top of the list if you have issues launching Julia with Juliaup.

Github

Follow instructions for SSH setup to enable cloning of private repositories.