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
437a86c7
Commit
437a86c7
authored
1 year ago
by
Roman Sliva
Browse files
Options
Downloads
Patches
Plain Diff
Update slurm-job-submission-and-execution.md
parent
ee018061
No related branches found
No related tags found
No related merge requests found
Pipeline
#33223
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
+11
-4
11 additions, 4 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
with
11 additions
and
4 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
+
11
−
4
View file @
437a86c7
...
@@ -51,16 +51,22 @@ $ scontrol -d show job $SLURM_JOBID
...
@@ -51,16 +51,22 @@ $ scontrol -d show job $SLURM_JOBID
## Running Interactive Jobs
## Running Interactive Jobs
Run interactive job
Run interactive job
- queue qcpu_exp, one node by default, one task by default
```
console
```
console
$
salloc
-A
PROJECT-ID
-p
qcpu
$
salloc
-A
PROJECT-ID
-p
qcpu_exp
```
Run interactive job on four nodes, 36 tasks per node (Barbora cluster, cpu partition recommended value based on core count), two hours time limit
```
console
$
salloc
-A
PROJECT-ID
-p
qcpu
-N
4
--ntasks-per-node
36
-t
2:00:00
```
```
Run interactive job, with X11 forwarding
Run interactive job, with X11 forwarding
```
console
```
console
$
salloc
-A
PROJECT-ID
-p
qcpu
--x11
$
salloc
-A
PROJECT-ID
-p
qcpu
_exp
--x11
```
```
!!! warning
!!! warning
...
@@ -71,9 +77,10 @@ Run interactive job, with X11 forwarding
...
@@ -71,9 +77,10 @@ Run interactive job, with X11 forwarding
Run batch job
Run batch job
```
console
```
console
$
sbatch
./
script.sh
$
sbatch script.sh
```
```
File script content:
```
shell
```
shell
#!/usr/bin/bash
#!/usr/bin/bash
#SBATCH -J MyJobName
#SBATCH -J MyJobName
...
...
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