Hello
How to strace all processes of mpi parallel job, started with mpiexec (mpich2, linux)?
-o will mess outputs from different processes
Hello
How to strace all processes of mpi parallel job, started with mpiexec (mpich2, linux)?
-o will mess outputs from different processes
You may want to try STAT (Stack Trace Analysis Tool). Check out the STAT Homepage. It will give you a high level overview of your process behavior, and works especially well in the case of a hung process.
Create a wrapper around your program, which will be launched by mpiexec
. Something like:
#!/bin/sh
LOGFILE="strace-$(hostname).$$"
exec strace -o"$LOGFILE" my_mpi_program