Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz
Commits
b3c89e42
Commit
b3c89e42
authored
2 years ago
by
Jan Siwiec
Browse files
Options
Downloads
Patches
Plain Diff
Update job-scheduling.md
parent
a763f269
No related branches found
No related tags found
No related merge requests found
Pipeline
#28712
failed
2 years ago
Stage: test
Stage: build
Stage: deploy
Stage: after_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs.it4i/cs/job-scheduling.md
+13
-6
13 additions, 6 deletions
docs.it4i/cs/job-scheduling.md
with
13 additions
and
6 deletions
docs.it4i/cs/job-scheduling.md
+
13
−
6
View file @
b3c89e42
# Complementary System Job Scheduling
# Complementary System Job Scheduling
## Introduction
## Introduction
[
Slurm
][
1
]
workload manager is used to allocate and access Complementary systems resources.
[
Slurm
][
1
]
workload manager is used to allocate and access Complementary systems resources.
Display partitions/queues
Display partitions/queues
```
```
console
$
sinfo
$
sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
p00-arm up 1-00:00:00 1 idle p00-arm01
p00-arm up 1-00:00:00 1 idle p00-arm01
...
@@ -16,29 +18,34 @@ p05-synt up 1-00:00:00 1 idle p05-synt01
...
@@ -16,29 +18,34 @@ p05-synt up 1-00:00:00 1 idle p05-synt01
```
```
Show jobs
Show jobs
```
```
console
$
squeue
--me
$
squeue
--me
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
104 p01-arm interact user R 1:48 2 p01-arm[01-02]
104 p01-arm interact user R 1:48 2 p01-arm[01-02]
```
```
Show job details
Show job details
```
```
console
$
scontrol show job 104
$
scontrol show job 104
```
```
Run interactive job
Run interactive job
```
```
console
$
srun
-A
PROJECT-ID
-p
p01-arm
--pty
bash
-i
$
srun
-A
PROJECT-ID
-p
p01-arm
--pty
bash
-i
```
```
Run interactive job, with X11 forwarding
Run interactive job, with X11 forwarding
```
```
console
$
srun
-A
PROJECT-ID
-p
p01-arm
--pty
--x11
bash
-i
$
srun
-A
PROJECT-ID
-p
p01-arm
--pty
--x11
bash
-i
```
```
Run batch job
Run batch job
```
```
console
$
sbatch
-A
PROJECT-ID
-p
p01-arm ../script.sh
$
sbatch
-A
PROJECT-ID
-p
p01-arm ../script.sh
```
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment