Skip to content

Instantly share code, notes, and snippets.

@mrdrozdov
Last active September 8, 2018 17:37
Show Gist options
  • Save mrdrozdov/7c6ff4de3a8243a30526ad438f41bbc0 to your computer and use it in GitHub Desktop.
Save mrdrozdov/7c6ff4de3a8243a30526ad438f41bbc0 to your computer and use it in GitHub Desktop.
Andrew's Slurm Cheat Sheet

Request a gpu for interactive use.

srun --gres=gpu:1 --partition=gpu --pty /bin/bash

Request a node exclusively.

srun --partition=gpu --node=1 --exclusive --pty /bin/bash

List partitions and nodes.

sinfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment