This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
doku:vsc3_pinning [2024/01/24 10:43] – [Compiler examples supporting OpenMP] amelic | doku:corepinning [2024/03/04 16:12] – ↷ Page name changed from doku:vsc3_pinning to doku:corepinning amelic |
---|
==== 3. Hybrid jobs ===== | ==== 3. Hybrid jobs ===== |
| |
MPI (Message Passing Interface) is also used to enable communication between processes across multiple nodes. Executing OpenMP on each respective node can be advantageous, as it reduces data exchange by decoupling resource management. Both of them combined (hybrid jobs) lead to better performances. This can be achieved through CPU binding. For example, on 3 nodes with 3 MPI processes and 3 OpenMP threads each: | MPI (Message Passing Interface) is utilized for facilitating communication between processes across multiple nodes. Executing OpenMP on each respective node can be advantageous, as it diminishes data exchange by decoupling resource management. The combination of both approaches (hybrid jobs) results in enhanced performance. For instance, threads are assigned to cores within one node, and communication between nodes is managed by processes. This can be achieved through CPU binding. In comparison, when exclusively utilizing processes across multiple nodes and within nodes, the hybrid use of MPI and OpenMP typically yields improved performance. As an illustration, a configuration might involve 3 nodes with 3 MPI processes on each node, without using OpenMP within nodes.: |
| |
<code> | <code> |