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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz
Commits
46e6f638
Commit
46e6f638
authored
Jul 20, 2023
by
Roman Sliva
Browse files
Options
Downloads
Patches
Plain Diff
Update slurm-job-submission-and-execution.md
parent
0128bd83
No related branches found
No related tags found
No related merge requests found
Pipeline
#33228
passed with warnings
Jul 20, 2023
Stage: test
Stage: build
Stage: deploy
Stage: after_test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs.it4i/general/slurm-job-submission-and-execution.md
+8
-7
8 additions, 7 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
with
8 additions
and
7 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
+
8
−
7
View file @
46e6f638
...
@@ -80,7 +80,7 @@ $ squeue --me -t pending
...
@@ -80,7 +80,7 @@ $ squeue --me -t pending
Show jobs for given project:
Show jobs for given project:
```
console
```
console
squeue -A PROJECT-ID
$
squeue
-A
PROJECT-ID
```
```
## Running Interactive Jobs
## Running Interactive Jobs
...
@@ -111,6 +111,7 @@ Run interactive job, with X11 forwarding:
...
@@ -111,6 +111,7 @@ Run interactive job, with X11 forwarding:
Run batch job:
Run batch job:
```
console
```
console
$
cd
my_work_dir
# submit directory my_work_dir will be also used as working directory for submitted job
$
sbatch script.sh
$
sbatch script.sh
```
```
...
@@ -143,7 +144,7 @@ Slurm provides useful information to the job via environment variables. Environm
...
@@ -143,7 +144,7 @@ Slurm provides useful information to the job via environment variables. Environm
See all Slurm variables
See all Slurm variables
```
```
set | grep ^SLURM
$
set | grep ^SLURM
```
```
### Useful Variables
### Useful Variables
...
@@ -186,7 +187,7 @@ $ scontrol update JobId=JOBID ATTR=VALUE
...
@@ -186,7 +187,7 @@ $ scontrol update JobId=JOBID ATTR=VALUE
Modify job's time limit:
Modify job's time limit:
```
```
scontrol update job JOBID timelimit=4:00:00
$
scontrol update job JOBID timelimit=4:00:00
```
```
Set/modify job's comment:
Set/modify job's comment:
...
...
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