More Slurm Options

  • To request a specific amount of memory per node:
    • Ex: --mem=64G

Units are given with a suffix (K, M, G, or T). If no unit is given, megabytes is assumed.

Additional sbatch options are documented in the Slurm sbatch reference.

For more information, see the RC tutorial Using SLURM from a Terminal.

Tip: if you have a Jupyter notebook file (.ipynb) that you would like to run using a Slurm script, first convert it to a .py file using the following command (make sure you are in the directory that contains the file):

jupyter nbconvert --to python file_name.ipynb

Previous
Next
© 2026 The Rector and Visitors of the University of Virginia