Hi Pavan<br><br>Thank you very much, its working fine now, <br><br>Kind Regards, <br><br>Manal<br><br><div class="gmail_quote">2008/5/16 Pavan Balaji <<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Try this:<br>
<br>
mpiexec -n 4 ddd ./myprog<br>
<br>
-- Pavan<div><div></div><div class="Wj3C7c"><br>
<br>
On 05/15/2008 07:58 AM, Manal Helal wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
I am trying to get ddd to debug mpi jobs to speed things up, gdb takes a long time for me, and I need a free GUI debugger,<br>
<br>
I debug with gdb using:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
mpirun -gdb -np 4 ./myprog<br>
</blockquote>
<br>
I found online the ddd command to be like this:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
mpirun -dbg=ddd -np 4 ./myprog<br>
</blockquote>
<br>
and it says:<br>
invalid "local" arg: -dbg=ddd<br>
<br>
I can not find the mpirun_dbg.ddd or mpirun_dbg.gdb after the installation and don't know if I should add them, and how and what to write in them,<br>
<br>
I am having the following version information:<br>
MPICH2 Version: 1.0.7<br>
MPICH2 Release date: Unknown, built on Thu May 15 22:00:19 EST 2008<br>
MPICH2 Device: ch3:sock<br>
MPICH2 configure: -prefix=/home/mhelal/mpich2-install --enable-error-checking=all --enable-error-messages=all --enable-g=all --enable-debuginfo --enable-threads=multiple --enable-sharedlibs=gcc --with-thread-package=posix --with-namepublisher=mpd --enable-mpe<br>
MPICH2 CC: gcc -g -O2<br>
MPICH2 CXX: c++ -g -O2<br>
MPICH2 F77: f95 -g -O2<br>
MPICH2 F90: f95 -g -O2<br>
<br>
<br>
thank you very much for your help in advance,<br>
<br>
Kind Regards,<br>
<br>
Manal<br>
</blockquote>
<br></div></div><font color="#888888">
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/%7Ebalaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards, <br><br>Manal Helal