View all jobs in the queue¶
squeueView all partitions¶
sinfo -aView partitions user can access (SLURM accounting)¶
sacctmgr show associations where user=$USERYou may also want see a list of all of the partitions if the none show up in the previous command.
sinfo -a(RCC partitions: https://
Launch an interactive CPU job (example)¶
RCC
srun --account=<PI_ACCOUNT> --partition=caslake --nodes=1 --ntasks=1 --cpus-per-task=2 --mem=4G --time=01:00:00 --pty bash -iDSI
srun --partition general --nodes=1 --ntasks=1 --cpus-per-task=2 --mem=4GB --time=01:00:00 --pty bash -iLaunch an interactive GPU job (example)¶
srun -p general --gres=gpu:a100:1 --mem=32G -t 01:30:00 --pty /bin/bashNote: You may have to locate how to reference available GPUs: View node and GPU information
View your jobs¶
squeue -u $USERCancel a job¶
scancel <job_id>Show job details¶
scontrol show job $SLURM_JOB_IDView node and GPU information¶
sinfo -o "%50N %10c %20m %30G" NODELIST CPUS MEMORY GRESAttach to a running job¶
srun --jobid=<JOBID> --pty /bin/bashCheck GPU status (NVIDIA GPUs)¶
nvidia-smi