<font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">Hi</font>
<div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">  </font><span class="Apple-style-span" style="font-family: &#39;trebuchet ms&#39;, sans-serif; ">I&#39;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="&#39;trebuchet ms&#39;, 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="&#39;courier new&#39;, monospace">sudo mpiexec -n 2 [program name] [parameters] -start_in_debugger</font><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, 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="&#39;courier new&#39;, monospace">/usr/bin/mpdroot: open failed for root&#39;s mpd conf filempiexec_vikram-Aspire-4820TG (__init__ 1214): forked process failed; status=255</font></div>

</div></blockquote><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">  What does this exactly mean? Is there a way to work around this?</font><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif"><br>

</font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">Thank you,</font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">Vikram Ramanathan</font></div>

<div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">Graduate Student, ECE Dept,</font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">Illinois Institute of Technology</font></div>