hwloc:accueil

Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
hwloc:accueil [2021/06/08 10:22] – créée phswhwloc:accueil [2026/01/11 19:07] (Version actuelle) – add how to convert index from logic to phyic 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>
 +
 +
 +==== Convertir un numéro logique en numéro physique ====
 +
 +<code bash>
 +hwloc-calc --po --cpuset-output-format list pu:2
 </code> </code>
  
  • hwloc/accueil.1623140550.txt.gz
  • Dernière modification : 2021/06/08 10:22
  • de phsw