srun

Create an interactive slurm job or connect to an existing job.

TLDR

Submit a basic interactive job

$ srun --pty /bin/bash
copy

Submit an interactive job with different attributes

$ srun --ntasks-per-node=[num_cores] --mem-per-cpu=[memory_MB] --pty /bin/bash
copy

Connect to a worker node with a job running

$ srun --jobid=[job_id] --pty /bin/bash
copy

Copied to clipboard
free 100$ digital ocean credit