[MPICH] Tracing the mpich library with gdb and xtern
Rajeev Thakur
thakur at mcs.anl.gov
Mon Dec 31 09:02:55 CST 2007
You could use the "mpiexec -gdb" option as described in the section on
Debugging in the Users Guide.
Rajeev
_____
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Krishna Chaitanya
Sent: Monday, December 31, 2007 4:08 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] Tracing the mpich library with gdb and xtern
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/e6b1813e/attachment.htm>
More information about the mpich-discuss
mailing list