diff --git a/content/guides/running_applications/using_singularity.md b/content/guides/running_applications/using_singularity.md index 7ab416eeb5d07e2713841522dec99f4ddcb2358d..b04b7d1f413d29738d59840133c804d055477a14 100644 --- a/content/guides/running_applications/using_singularity.md +++ b/content/guides/running_applications/using_singularity.md @@ -142,10 +142,17 @@ the `tensorflow-gpu` image and need the packages `nibabel` and `tables`. {{% panel theme="info" header="Run an interactive SLURM job" %}} {{< highlight bash >}} -srun --pty --mem=4gb --qos=short $SHELL +srun --pty --mem=4gb --qos=short --gres=gpu --partition=gpu $SHELL {{< /highlight >}} {{% /panel %}} +{{% notice info %}} +The `--gres=gpu --partition=gpu` options are used here as the `tensorflow-gpu` image is +GPU enabled. If you are using a non-GPU image, you may omit those options. See the page +on [submitting GPU jobs]({{< relref "/guides/submitting_jobs/submitting_cuda_or_openacc_jobs/_index.md" >}}) +for more information. +{{% /notice %}} + After the job starts, the prompt will change to indicate you're on a worker node. Next, start an interactive session in the container.