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 Interactive Job with "salloc"
Code Block |
---|
salloc --account=[account_name] --partition=debug --nodes=1 --ntasks-per-node=8 --gres=gpu:v100:1 --time=12:00:00
ssh [username]@[allocated_machine_name] |
Submit Batch Job
Code Block |
---|
sbatch [job_script] |
...
Code Block |
---|
scancel -u [job_id] |
PBS style
Some PBS commands are supported by SLURMÂ