Native SLURM style
Submit Interactive Job with "srun"
Code Block |
---|
srun --partition=debug --pty --nodes=1 \
--ntasks-per-node=8 --gres=gpu:v100:1 \
-t 01:30:00 --wait=0 \
--export=ALL /bin/bash |
Submit Batch Job
Code Block |
---|
sbatch [job_script] |
Check Job Status
Code Block |
---|
squeue -u [username] |
Cancel Running Job
Code Block |
---|
scancel -u [job_id] |
PBS style
Some PBS commands are supported by SLURM.
Check Node Status
Check Job Status
Code Block |
---|
qstat -f [job_number] |
Check Queue Status
Delete Job
Code Block |
---|
qdel [job_number] |