Quick Start

This page gives the shortest path to start using the workstation.

1 1. Connect to the workstation

Replace username with your own username.

ssh username@mod-linux-ws01

If you are using Windows, you can connect using PuTTY, MobaXterm, Windows Terminal, or VS Code Remote SSH.

2 2. Check where you are

hostname
whoami
pwd

3 3. Check the workstation status

sinfo

This shows whether the Slurm compute partition is available.

4 4. Check your files

ls
ls -lh

5 5. Activate a software environment

Example for R:

conda activate R-4.4

Example for Python:

conda activate py311

The exact environment names may change. To see available conda environments:

conda env list

or:

mamba env list

6 6. Submit a job

Create a file called job.sh:

nano job.sh

Example Slurm job:

#!/bin/bash
#SBATCH --job-name=test-job
#SBATCH --cpus-per-task=1
#SBATCH --mem=2G
#SBATCH --output=test-job.out

hostname
date

Submit it:

sbatch job.sh

Check the queue:

squeue

Check the output:

cat test-job.out

7 7. Log out

exit