From 35a68b524cd9ab33aab1269d364952976493fef1 Mon Sep 17 00:00:00 2001 From: mattph Date: Wed, 21 Jan 2026 10:07:56 -0500 Subject: [PATCH] Update GPU access commands from salloc to srun --pty bash --- source/gpu.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/gpu.rst b/source/gpu.rst index 966b76a..543e021 100644 --- a/source/gpu.rst +++ b/source/gpu.rst @@ -8,22 +8,22 @@ SubMIT provides access to several GPUs. This section outlines how to utilize the Slurm with GPUs ~~~~~~~~~~~~~~~ -Interactive access (salloc) +Interactive access ........................... -SubMIT allows interactive login access to GPUs through the ``salloc`` command. This allows users to interactively test their GPU applications. +SubMIT allows interactive login access to GPUs through the ``srun`` command. This allows users to interactively test their GPU applications. Accessing the ``submit-gpu`` partition: .. code-block:: sh - salloc --partition=submit-gpu --cpus-per-gpu=1 --gres=gpu:1 + srun --partition=submit-gpu --cpus-per-gpu=1 --gres=gpu:1 --pty bash To request more than one GPU, adjust the ``--gres=gpu:`` option. .. code-block:: sh - salloc --partition=submit-gpu --cpus-per-gpu=1 --gres=gpu:4 + srun --partition=submit-gpu --cpus-per-gpu=1 --gres=gpu:4 --pty bash Batch jobs and script execution ............................... @@ -119,7 +119,7 @@ Once you source your bashrc file, you should be able to use CUDA. source ~/.bashrc -In order to check which CUDA version is installed you can use the command below; note that this command will not work if you are not on a GPU (e.g. access a GPU through `salloc `_). Make sure this version fits your workflow. +In order to check which CUDA version is installed you can use the command below; note that this command will not work if you are not on a GPU (e.g. access a GPU through `srun `_). Make sure this version fits your workflow. .. code-block:: sh