srun Command Examples

Create an interactive slurm job or connect to an existing job. More information: https://slurm.schedmd.com/srun.html.

srun --pty /bin/bash

srun --ntasks-per-node={{num_cores}} --mem-per-cpu={{memory_MB}} --pty /bin/bash

srun --jobid={{job_id}} --pty /bin/bash