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
3ce15903
Commit
3ce15903
authored
1 year ago
by
Roman Sliva
Browse files
Options
Downloads
Patches
Plain Diff
Update slurm-job-submission-and-execution.md
parent
6b2372e9
No related branches found
No related tags found
No related merge requests found
Pipeline
#33239
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
+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 @
3ce15903
...
@@ -115,14 +115,8 @@ To finish the interactive job, you can either use the `exit` keyword, or Ctrl+D
...
@@ -115,14 +115,8 @@ To finish the interactive job, you can either use the `exit` keyword, or Ctrl+D
## Running Batch Jobs
## Running Batch Jobs
Run
batch
job
:
Create
batch
script with following content
:
```
console
$
cd
my_work_dir
# submit directory my_work_dir will be also used as working directory for submitted job
$
sbatch script.sh
```
File script content:
```
shell
```
shell
#!/usr/bin/bash
#!/usr/bin/bash
#SBATCH --job-name MyJobName
#SBATCH --job-name MyJobName
...
@@ -145,6 +139,13 @@ Script will:
...
@@ -145,6 +139,13 @@ Script will:
*
use 36 tasks per node
*
use 36 tasks per node
*
set job time limit to 12 hours
*
set job time limit to 12 hours
Run batch job:
```
console
$
cd
my_work_dir
# submit directory my_work_dir will be also used as working directory for submitted job
$
sbatch script.sh
```
Example output of the job:
Example output of the job:
```
shell
```
shell
36 cn17.barbora.it4i.cz
36 cn17.barbora.it4i.cz
...
...
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