Commit a39c8eb2 authored by Carrie A Brown's avatar Carrie A Brown
Browse files

Merge branch 'singularity-gpu' into 'master'

Clarify use of gres flag for GPU images.

Closes #18

See merge request !126
parents e0c0f851 b5a56c26
...@@ -142,10 +142,17 @@ the `tensorflow-gpu` image and need the packages `nibabel` and `tables`. ...@@ -142,10 +142,17 @@ the `tensorflow-gpu` image and need the packages `nibabel` and `tables`.
{{% panel theme="info" header="Run an interactive SLURM job" %}} {{% panel theme="info" header="Run an interactive SLURM job" %}}
{{< highlight bash >}} {{< highlight bash >}}
srun --pty --mem=4gb --qos=short $SHELL srun --pty --mem=4gb --qos=short --gres=gpu --partition=gpu $SHELL
{{< /highlight >}} {{< /highlight >}}
{{% /panel %}} {{% /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 After the job starts, the prompt will change to indicate you're on a
worker node.  Next, start an interactive session in the container. worker node.  Next, start an interactive session in the container.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment