Skip to content
Snippets Groups Projects
Commit a507ec74 authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Spring clean: Remove partition; use cluster

- Remove jobname from job file, since it provides no additional value
  here
parent 11dce1e8
No related branches found
No related tags found
2 merge requests!1071Automated merge from preview to main,!1061Spring clean: Remove partition; use cluster
...@@ -8,8 +8,8 @@ depend on the type of parallelization and architecture. ...@@ -8,8 +8,8 @@ depend on the type of parallelization and architecture.
### OpenMP Jobs ### OpenMP Jobs
An SMP-parallel job can only run within a node, so it is necessary to include the options `--node=1` 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 and `--ntasks=1`. The maximum number of processors for an SMP-parallel program is 896 on the cluster
partition `taurussmp8`, as described in the [`Julia`](julia.md) as described in the
[section on memory limits](slurm_limits.md#slurm-resource-limits-table). Using the option [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. `--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: An example job file would look like:
...@@ -22,8 +22,7 @@ An example job file would look like: ...@@ -22,8 +22,7 @@ An example job file would look like:
#SBATCH --tasks-per-node=1 #SBATCH --tasks-per-node=1
#SBATCH --cpus-per-task=8 #SBATCH --cpus-per-task=8
#SBATCH --time=08:00:00 #SBATCH --time=08:00:00
#SBATCH --job-name=Science1 #SBATCH --mail-type=start,end
#SBATCH --mail-type=end
#SBATCH --mail-user=<your.email>@tu-dresden.de #SBATCH --mail-user=<your.email>@tu-dresden.de
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment