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
a39c8eb2
Commit
a39c8eb2
authored
May 31, 2019
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
content/guides/running_applications/using_singularity.md
View file @
a39c8eb2
...
...
@@ -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