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
!194
On the interactive job page, add notes on default job runtime, and how to increase it
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
On the interactive job page, add notes on default job runtime, and how to increase it
sruntime
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
John Thiltges
requested to merge
sruntime
into
master
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
24035e09
1 commit,
5 years ago
1 file
+
5
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
content/submitting_jobs/creating_an_interactive_job.md
+
5
−
4
Options
@@ -15,19 +15,20 @@ Submitting an interactive job is done with the command `srun`.
$ srun --pty $SHELL
{{
<
/
highlight
>
}}
or to allocate 4 cores per node:
or to allocate 4 cores per node
for 3 hours
:
{{
<
highlight
bash
>
}}
$ srun --nodes=1 --ntasks-per-node=4 --mem-per-cpu=1024 --pty $SHELL
$ srun --nodes=1 --ntasks-per-node=4 --mem-per-cpu=1024
--time=3:00:00
--pty $SHELL
{{
<
/
highlight
>
}}
Submitting an interactive job is useful if you require extra resources
to run some processing by hand. It is also very useful to debug your
processing.
An
d
interactive job is scheduled onto a worker node just like a regular
An interactive job is scheduled onto a worker node just like a regular
job. You can provide options to the interactive job just as you would a
regular SLURM job.
regular SLURM job. The default job runtime is 1 hour, and can be
increased by including the
`--time`
argument.
### Priority for short jobs
Loading