Home / High-Performance Computing (HPC)
scontrol show partition [-a]sinfo [-a]sinfo -o "%20N %10A %8c %10m %25f %25G" (example)sviewsacctmgr show assoc where user=<username> format=accountsacctmgr show user <username> format=defaultaccount--gres=gpu[:<type>]:<n>.sbatch <slurm-file>srun <job options> [--pty] <bash|app>salloc <job options>
srun --jobid=<id> --pty bash to connect to it.scancel <jobid>scancel [-t <state>] [-u <user>]squeue [-u <user>] [-t <state>] [-p <partition>]scontrol show jobid -dd <jobid>#!/bin/sh
#SBATCH --partition=<partition>
#SBATCH --time=03:00:00
#SBATCH --nodes=2
# #SBATCH --nodelist=compute-2-0-[17-18],compute-5-0-[20-21]
#SBATCH --ntasks-per-node=2
# #SBATCH --exclusive
# #SBATCH --mem=64G
#SBATCH --gres=gpu:V100:2
#SBATCH --job-name="xxx"
#SBATCH --output=log.txt
## SBATCH [email protected]
# #SBATCH --mail-type=ALL
# Run some program on one processor on all nodes
srun uname -a