Skip to content

Instantly share code, notes, and snippets.

@n01r
Created May 29, 2018 07:53
Show Gist options
  • Select an option

  • Save n01r/8683189c534f07bc871f4a796bc601c8 to your computer and use it in GitHub Desktop.

Select an option

Save n01r/8683189c534f07bc871f4a796bc601c8 to your computer and use it in GitHub Desktop.
How to get an interactive SLURM job on Daint
  1. Allocate resources for the job
    salloc -C gpu -N <numberOfNodes> --ntasks-per-node 12 -J <JobName> -t <hh:mm:ss>
    
  2. Run a shell in pseudo terminal mode to really get to the compute nodes
    srun --pty --jobid <JobID> --wait=0 bash
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment