aayasin/perf-tools

use with MPIRUN

Opened this issue · 0 comments

Hi Ahmad,

Thank you for building this great tool.

I have a question about using this tool in conjunction with MPI. Is this the correct way to to invoke it at the command line:

${perf_do} profile -pm 13a -v1 -a "mpirun -np 8 ${bin} ${args}" --perf $HOME/perf-tools/linux-5.15.111/tools/perf/perf

Two questions:

  1. I think this particular invocation will sample the mpirun? Not a big deal since the majority of the time will still be spent in the binary ${bin}
  2. I am working with an MPI in single node system (one dual-sock cascade-lake). Are there any additional considerations needed in a multi-node system? Or is this not a supported use case?

Thanks,
Nick Romero