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
Merge requests
!1061
Spring clean: Remove partition; use cluster
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Spring clean: Remove partition; use cluster
issue-583
into
preview
Overview
4
Commits
4
Pipelines
0
Changes
1
Merged
Martin Schroschk
requested to merge
issue-583
into
preview
11 months ago
Overview
4
Commits
4
Pipelines
0
Changes
1
Expand
Remove jobname from job file, since it provides no additional value here
0
0
Merge request reports
Compare
preview
version 3
a50b4b89
11 months ago
version 2
0431fdc3
11 months ago
version 1
a507ec74
11 months ago
preview (base)
and
version 1
latest version
40076fea
4 commits,
11 months ago
version 3
a50b4b89
3 commits,
11 months ago
version 2
0431fdc3
2 commits,
11 months ago
version 1
a507ec74
1 commit,
11 months ago
1 file
+
3
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md
+
3
−
4
Options
@@ -8,8 +8,8 @@ depend on the type of parallelization and architecture.
### OpenMP Jobs
An SMP-parallel job can only run within a node, so it is necessary to include the options
`--node=1`
and
`--ntasks=1`
. The maximum number of processors for an SMP-parallel program is 896 on
partition
`taurussmp8`
,
as described in the
and
`--ntasks=1`
. The maximum number of processors for an SMP-parallel program is 896 on
the cluster
[
`Julia`
](
julia.md
)
as described in the
[
section on memory limits
](
slurm_limits.md#slurm-resource-limits-table
)
. Using the option
`--cpus-per-task=<N>`
Slurm will start one task and you will have
`N`
CPUs available for your job.
An example job file would look like:
@@ -22,8 +22,7 @@ An example job file would look like:
#SBATCH --tasks-per-node=1
#SBATCH --cpus-per-task=8
#SBATCH --time=08:00:00
#SBATCH --job-name=Science1
#SBATCH --mail-type=end
#SBATCH --mail-type=start,end
#SBATCH --mail-user=<your.email>@tu-dresden.de
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
Loading