Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
OpenMP on CPU CLX

OpenMP on CPU CLX

Okt. 11, 2024

Code execution

Per default our hardware supports hyperthreading, allowing you start 192 processes on Cascade Lake machines (*96 partitions) and 80 on Skylake machines.

Hyperthreading active, 80/192 Processes per Node will be started Quelle erweitern
#!/bin/bash
#SBATCH -N 4

cpus_per_node=${SLURM_JOB_CPUS_PER_NODE%\(*}
export OMP_NUM_THREADS=$(($cpus_per_node*$SLURM_JOB_NUM_NODES)) 

# Run multi-threaded application ./yourexe

Note that more than one node, as in the example set with `-N 4` can only be used with a hybrid MPI-OpenMP job. For pure OpenMP programs, one '-N 1' is meaningful.

Hyperthreading disabled, 96 processes per node are started. Quelle erweitern
#!/bin/bash
#SBATCH -N 4
#SBATCH --tasks-per-node 96

tasks_per_node=${SLURM_TASKS_PER_NODE%\(*}
export OMP_NUM_THREADS=$(($tasks_per_node*$SLURM_JOB_NUM_NODES))

# Run multi-threaded application ./yourexe
, multiple selections available, Use left or right arrow keys to navigate selected items
kb-how-to-article
User Manual

User Manual
Results will update as you type.
  • Application Guide
  • Status of System
  • Usage Guide
  • Compute partitions
    • CPU CLX partition
      • Workflow CPU CLX
      • Slurm partition CPU CLX
      • Examples and Recipes
        • Compilation on CPU CLX
        • OpenMPI on CPU CLX
        • Intel MPI on CPU CLX
        • OpenMP on CPU CLX
        • Hybrid Jobs
        • Linking the MKL version of fftw3
        • Multiple programs multiple data
      • Fat Tree OPA network of CLX partition
      • Operating system migration from CentOS to Rocky Linux
    • CPU Genoa partition
    • GPU A100 partition
    • GPU PVC partition
    • Next-Gen Technology Pool
  • Software
  • FAQ
  • NHR Community
  • Contact

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 10, "requestCorrelationId": "e429e78464b84fb8a67e85e56cb2c5f8"}