Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
7857afaf
Commit
7857afaf
authored
2 years ago
by
Martin Schroschk
Browse files
Options
Downloads
Patches
Plain Diff
Resolve issue
parent
8611d4e4
No related branches found
No related tags found
2 merge requests
!701
Automated merge from preview to main
,
!697
Updated "Batch System Slurm" (slurm.md)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md
+3
-2
3 additions, 2 deletions
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md
with
3 additions
and
2 deletions
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md
+
3
−
2
View file @
7857afaf
...
@@ -86,8 +86,9 @@ jobs to Slurm for later execution by using [batch jobs](#batch-jobs). For that,
...
@@ -86,8 +86,9 @@ jobs to Slurm for later execution by using [batch jobs](#batch-jobs). For that,
put the parameters in a
[
job file
](
#job-files
)
, which you can submit using
`sbatch
put the parameters in a
[
job file
](
#job-files
)
, which you can submit using
`sbatch
[options] <job file>`
.
[options] <job file>`
.
After submitting, your job gets a unique job id (stored in the environment variable
`SLURM_JOB_ID`
After submitting, your job gets a unique job ID, which is stored in the environment variable
at runtime) which you can find via
`squeue --me`
. The id allows you to
`SLURM_JOB_ID`
at job runtime. The command
`sbatch`
outputs the job ID to stderr. Furthermore, you
can find it via
`squeue --me`
. The job ID allows you to
[
manage and control
](
#manage-and-control-jobs
)
your jobs.
[
manage and control
](
#manage-and-control-jobs
)
your jobs.
!!! warning "srun vs. mpirun"
!!! warning "srun vs. mpirun"
...
...
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