How do I debug an MPI program?
Posted
by Jay Conrod
on Stack Overflow
See other posts from Stack Overflow
or by Jay Conrod
Published on 2008-11-30T20:02:21Z
Indexed on
2010/03/09
7:06 UTC
Read the original article
Hit count: 480
I have an MPI program which compiles and runs, but I would like to step through it to make sure nothing bizarre is happening. Ideally, I would like a simple way to attach GDB to any particular process, but I'm not really sure whether that's possible or how to do it. An alternative would be having each process write debug output to a separate log file, but this doesn't really give the same freedom as a debugger.
Are there better approaches? How do you debug MPI programs?
© Stack Overflow or respective owner