[MPICH] Tracing the mpich library with gdb and xtern

Krishna Chaitanya kris.c1986 at gmail.com
Mon Dec 31 04:07:44 CST 2007


Hi,
               I have been tracing the flow of the mpich code by executing a
simple program having MPI_Send() and MPI_Recv(),on one machine.  I have been
using gdb along with xtern to have two windows open at the same time as I
step through the code. I wish to get a better glimpse of the working of the
point to point calls, by launching the job on two machines and by tracing
the flow in a similar manner. Could you please tell me how I can go about
it? I have a feeling that this can be done by hard-coding the macros and
telling the daemons directly that one machine is rank1 and the other is
rank2. That way, i can start rank1 process first and the rank2 process a
little later and trace through the code.

Thanks,
Krishna Chaitanya,
Dept of Information Technology,
National Institute of Technology, Karnataka ( NITK )
India

-- 
In the middle of difficulty, lies opportunity
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20071231/d3fa218e/attachment.htm>


More information about the mpich-discuss mailing list