Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Holland Computing Center
HCC docs
Commits
b5a56c26
Commit
b5a56c26
authored
May 31, 2019
by
Adam Caprez
Committed by
Carrie A Brown
May 31, 2019
Browse files
Clarify use of gres flag for GPU images.
Resolves
#18
.
parent
e0c0f851
Changes
1
Hide whitespace changes
Inline
Side-by-side
content/guides/running_applications/using_singularity.md
View file @
b5a56c26
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment