Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HCC docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Holland Computing Center
HCC docs
Merge requests
!126
Clarify use of gres flag for GPU images.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Clarify use of gres flag for GPU images.
singularity-gpu
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Adam Caprez
requested to merge
singularity-gpu
into
master
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Resolves
#18 (closed)
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d7adad6d
1 commit,
5 years ago
1 file
+
8
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
content/guides/running_applications/using_singularity.md
+
8
−
1
Options
@@ -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.
Loading