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
7d53aca3
Commit
7d53aca3
authored
1 year ago
by
Jan Siwiec
Browse files
Options
Downloads
Patches
Plain Diff
Update slurm-job-submission-and-execution.md
parent
cec5bed7
No related branches found
No related tags found
No related merge requests found
Pipeline
#36098
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
+4
-4
4 additions, 4 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
with
4 additions
and
4 deletions
docs.it4i/general/slurm-job-submission-and-execution.md
+
4
−
4
View file @
7d53aca3
# Job Submission and Execution
# Job Submission and Execution
!!! warning
!!! warning
Don't use the
`#SBATCH --
exclusive`
parameter as it is already included in the SLURM configuration.
<br><br>
Don't use the
`#SBATCH --exclusive`
parameter as it is already included in the SLURM configuration.
<br><br>
Use the
`#SBATCH --mem=`
parameter
**on `qfat` only**
. On
`cpu_`
queues, whole nodes are allocated.
Use the
`#SBATCH --mem=`
parameter
**on `qfat` only**
. On
`cpu_`
queues, whole nodes are allocated.
Accelerated nodes (
`gpu_`
queues) are divided each into eight parts with corresponding memory.
Accelerated nodes (
`gpu_`
queues) are divided each into eight parts with corresponding memory.
...
@@ -81,7 +81,7 @@ Run interactive job, with X11 forwarding:
...
@@ -81,7 +81,7 @@ Run interactive job, with X11 forwarding:
$
salloc
-A
PROJECT-ID
-p
qcpu_exp
--x11
$
salloc
-A
PROJECT-ID
-p
qcpu_exp
--x11
```
```
To finish the interactive job,
you can either use the
`exit`
keyword, or
Ctrl+D (
`^D`
) control sequence.
To finish the interactive job,
use the
Ctrl+D (
`^D`
) control sequence.
!!! warning
!!! warning
Do not use
`srun`
for initiating interactive jobs, subsequent
`srun`
,
`mpirun`
invocations would block forever.
Do not use
`srun`
for initiating interactive jobs, subsequent
`srun`
,
`mpirun`
invocations would block forever.
...
@@ -153,7 +153,7 @@ Example output of the job:
...
@@ -153,7 +153,7 @@ Example output of the job:
### Job Environment Variables
### Job Environment Variables
Slurm provides useful information to the job via environment variables.
Slurm provides useful information to the job via environment variables.
Environment variables are available on all nodes allocated to job when accessed via Slurm supported means (srun, compatible mpirun).
Environment variables are available on all nodes allocated to job when accessed via Slurm supported means (
`
srun
`
, compatible
`
mpirun
`
).
See all Slurm variables
See all Slurm variables
...
@@ -321,7 +321,7 @@ Delete all my pending jobs for a project PROJECT-ID:
...
@@ -321,7 +321,7 @@ Delete all my pending jobs for a project PROJECT-ID:
$ scancel --me -t pending -A PROJECT-ID
$ scancel --me -t pending -A PROJECT-ID
```
```
##
Faq
##
Troubleshooting
### Invalid Account
### Invalid Account
...
...
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