[mpich-discuss] MPI_Comm_spawn and strace

Zhou, Hui zhouh at anl.gov
Tue Jan 18 11:38:35 CST 2022


Hi Kurt,

In this case, "strace" should be your command, and "<my_executable>" should be the first in argv​.

--
Hui
________________________________
From: Mccall, Kurt E. (MSFC-EV41) via discuss <discuss at mpich.org>
Sent: Tuesday, January 18, 2022 11:28 AM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Mccall, Kurt E. (MSFC-EV41) <kurt.e.mccall at nasa.gov>
Subject: [mpich-discuss] MPI_Comm_spawn and strace


Hi,  I need to run each of my processes created using MPI_Comm_spawn under strace, so that I can see all system calls that they make.

Is this possible?  I’ve made a few naïve attempts, like passing “strace <my_executable>” to MPI_Comm_spawn, but those attempts didn’t work.



Thanks,

Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20220118/03674e25/attachment.html>


More information about the discuss mailing list