Commit Graph

3 Commits

Author SHA1 Message Date
Jonathan R. Madsen 7ce9595564 Improved the determination of MPI rank (#61)
* Improved the determination of MPI rank

* C-style cast of MPI_Comm

[ROCm/rocprofiler-systems commit: dfda902092]
2022-06-21 00:27:52 -05:00
Jonathan R. Madsen 536a0bf9d4 Remove reliance on MPI_Comm_rank (#56)
* Remove reliance on MPI_Comm_rank

- read /proc/<PID>/tasks/<PID>/children of parent process to deduce the rank
- Old format relied on user calling MPI_Comm_rank(MPI_COMM_WORLD, ...)
- if MPI_Comm_rank called with subcommunicators only, multiple ranks would write to same file

* Tweak mpi example

[ROCm/rocprofiler-systems commit: 8eff363ed3]
2022-06-20 00:50:49 -05:00
Jonathan R. Madsen b3c5a6f048 perfetto mpi + mpi example (#49)
[ROCm/rocprofiler-systems commit: 6b7b6e46cf]
2022-04-27 16:58:45 -05:00