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
50568cf4
Commit
50568cf4
authored
1 year ago
by
Roman Sliva
Browse files
Options
Downloads
Patches
Plain Diff
Update slurm-job-submission-and-execution.md
parent
6054376e
No related branches found
No related tags found
No related merge requests found
Pipeline
#33266
passed with warnings
1 year 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/general/slurm-job-submission-and-execution.md
+58
-55
58 additions, 55 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
with
58 additions
and
55 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
+
58
−
55
View file @
50568cf4
...
...
@@ -36,58 +36,6 @@ On Barbora cluster all queues/partitions provide full node allocation, whole nod
On Complementary systems only some queues/partitions provide full node allocation, see
[
Complementary systems documentation
][
2
]
for details.
## Getting Job Information
Show all jobs on system:
```
console
$
squeue
```
Show my jobs:
```
console
$
squeue
--me
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
104 qcpu interact user R 1:48 2 cn[101-102]
```
Show job details for specific job:
```
console
$
scontrol show job JOBID
```
Show job details for executing job from job session:
```
console
$
scontrol show job
$SLURM_JOBID
```
Show my jobs using long output format which includes time limit:
```
console
$
squeue
--me
-l
```
Show my jobs in running state:
```
console
$
squeue
--me
-t
running
```
Show my jobs in pending state:
```
console
$
squeue
--me
-t
pending
```
Show jobs for given project:
```
console
$
squeue
-A
PROJECT-ID
```
## Running Interactive Jobs
Run interactive job - queue qcpu_exp, one node by default, one task by default:
...
...
@@ -203,7 +151,62 @@ cn101
cn102
```
## Job States
## Job Management
### Getting Job Information
Show all jobs on system:
```
console
$
squeue
```
Show my jobs:
```
console
$
squeue
--me
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
104 qcpu interact user R 1:48 2 cn[101-102]
```
Show job details for specific job:
```
console
$
scontrol show job JOBID
```
Show job details for executing job from job session:
```
console
$
scontrol show job
$SLURM_JOBID
```
Show my jobs using long output format which includes time limit:
```
console
$
squeue
--me
-l
```
Show my jobs in running state:
```
console
$
squeue
--me
-t
running
```
Show my jobs in pending state:
```
console
$
squeue
--me
-t
pending
```
Show jobs for given project:
```
console
$
squeue
-A
PROJECT-ID
```
### Job States
The most common job states are (in alphabetical order):
...
...
@@ -222,7 +225,7 @@ The most common job states are (in alphabetical order):
| SI | SIGNALING | Job is being signaled. |
| TO | TIMEOUT | Job terminated upon reaching its time limit. |
## Modifying Jobs
##
#
Modifying Jobs
In general:
...
...
@@ -242,7 +245,7 @@ Set/modify job's comment:
$ scontrol update JobId=JOBID Comment='The best job ever'
```
## Deleting Jobs
##
#
Deleting Jobs
Delete job by job id:
...
...
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