<font class="Apple-style-span" face="'trebuchet ms', sans-serif">Hi</font>
<div><font class="Apple-style-span" face="'trebuchet ms', sans-serif"> </font><span class="Apple-style-span" style="font-family: 'trebuchet ms', sans-serif; ">I'm using petsc-dev on a Linux (Ubuntu 10.10 64-bit) machine with 2 processors. I was hoping to debug some code when running it on two processors. </span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><font face="'trebuchet ms', sans-serif"> The problem is that gdb needs root permissions to run. I can use/run mpiexec fine by itself, but when I do something like </font><font class="Apple-style-span" face="'courier new', monospace">sudo mpiexec -n 2 [program name] [parameters] -start_in_debugger</font><font class="Apple-style-span" face="'trebuchet ms', sans-serif">, I get the following error:</font></div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font class="Apple-style-span" face="'courier new', monospace">/usr/bin/mpdroot: open failed for root's mpd conf filempiexec_vikram-Aspire-4820TG (__init__ 1214): forked process failed; status=255</font></div>
</div></blockquote><font class="Apple-style-span" face="'trebuchet ms', sans-serif"> What does this exactly mean? Is there a way to work around this?</font><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">Thank you,</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">Vikram Ramanathan</font></div>
<div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">Graduate Student, ECE Dept,</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">Illinois Institute of Technology</font></div>