Table des matières

Hwloc

Ajouter le modèle du processeur à la légende de lstopo

lstopo --append-legend "Processor model: $(cat /proc/cpuinfo | grep "model name" | head -n 1 | cut -d : -f 2)"

Comprendre les bindings de Slurm et MPI

% 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]