title: Eclipse PTP OpenMPI parallel run/debug
body: <p>Can someone give instructions on how to run/debug an OpenMPI (C/C++/Fortran) program in Eclipse PTP using the actual parallel run/debug modes on a local machine?</p>
  
  <p>I've set a local connection in the 'Remote Environments' section. If I specify the actual program executable as the executable then eclipse gets stuck with 'submit interactive' and 'Launching... Submitting the job...' in the progress window, and I'm left with the specified number of processes of the program running at full CPU indefinitely. If I specify another program, like mpirun or mpiexec, and provide the necessary arguments to get to the program executable then the only difference is that I have the same number of mpirun's running at 0 CPU. </p>
  
  <p>I should add that if I actually select "Local" under "Connection Type" then I get an error: </p>
  
  <blockquote>
    <p>Failed to execute command: ompi_info -a --parseable</p>
    
    <p>Reason: Cannot run program "ompi_info": Unknown reason</p>
  </blockquote>
  
  <p>even though that command works fine from the command line and runs successfully when connecting to local host as setup in the 'remote environments'</p>
  
  <p>I've seen the guides on the Eclipse website, but they're no help. I've checked <a href="https://stackoverflow.com/questions/12051266/eclipse-ptp-running-parallel-mpi-applications-on-the-local-machine">[1]</a> and <a href="https://stackoverflow.com/questions/329259/how-do-i-debug-an-mpi-program/10832917#10832917">[2]</a>, but I still get this working right. </p>
  
  <p>I can get a program running successfully in parallel by treating it like a normal program and setting the executable to mpiexec and providing the necessary arguments, but I want to do actual parallel debugging, so this doesn't suffice.</p>
  
  <p>EDIT:
  I should be more specific. I know there are other methods of debugging, but Eclipse PTP (parallel tools platform) should be able to handle this perfectly, so I'm looking for an explanation from someone who has setup Eclipse PTP on their local machine such that they can use a parallel run configuration and the parallel debugging tools.</p>