This is a guide for establishing an SSH connection to either Shannon or Aegis, two servers that we have at UVA as workstations.
Step-by-step guide
- Before Connecting
- If you're on UVA campus and connected to Eduroam, skip this step
- If you're not on UVA campus, please install and set up the UVA Anywhere VPN. Once set up, please connect to it.
- Connecting
In a terminal, type either
- ssh <user>@aegis.phys.virginia.edu
- ssh <user>@shannon.phys.virginia.edu
- <user> corresponds to which account on the computers that you would like to use. This can include "dustin, ptgroup, uvaspin, etc".
- You will be asked for a password. Please type in the standard group password.
- Success!
- Using
- To use, please create your directory in the 'documents' directory. Please copy all of your working files to this directory.
- Currently, the SLURM manager is set up for the ptgroup account. When typing up a slurm job, list the partition as ptgroup.
- Once you have your SLURM file created, alongside the script that you want to run, type:
- sbatch <slurm_script_name>.slurm <your additional arguments>
- To run a .sh file, all you need to do is:
- ./<jobscript_name>.sh <your additional arguments>
If you are having trouble understanding or writing SLURM scripts, please review this tutorial by Johns Hopkins University.
Note: the SLURM manager on Aegis is set up to allow email notifications. If you include your email in the SLURM scripts, you will receive an email notification once it is finished (or if it failed). If you are running parallel SLURM scripts, DO NOT INCLUDE IT UNLESS YOU WANT A BARRAGE OF EMAILS.
Related articles