hwloc:accueil

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

hwloc:accueil [2021/06/08 10:22] – créée phswhwloc:accueil [2022/12/09 11:53] (Version actuelle) – add how to debug binding phsw
Ligne 6: Ligne 6:
 <code bash> <code bash>
 lstopo --append-legend "Processor model: $(cat /proc/cpuinfo | grep "model name" | head -n 1 | cut -d : -f 2)" lstopo --append-legend "Processor model: $(cat /proc/cpuinfo | grep "model name" | head -n 1 | cut -d : -f 2)"
 +</code>
 +
 +
 +==== Comprendre les bindings de Slurm et MPI ====
 +
 +<code bash>
 +% mpirun -npernode 2 hwloc-bind --get  # dans le job
 +0xffffffff,0xffffffff,,,0xffffffff,0xffffffff
 +0xffffffff,0xffffffff,,,0xffffffff,0xffffffff,,0x0
 +% hwloc-calc -i lstopo-amd-in-job.xml --largest 0xffffffff,0xffffffff,,,0xffffffff,0xffffffff,,0x0
 +Package:1
 +% hwloc-calc -i lstopo-amd-in-job.xml --largest 0xffffffff,0xffffffff,,,0xffffffff,0xffffffff     
 +Package:0
 +% lstopo --ps --no-io [--of ascii]
 </code> </code>
  
  • hwloc/accueil.1623140550.txt.gz
  • Dernière modification : 2021/06/08 10:22
  • de phsw