[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-user] Debug in PTP
|
Hi Robert,
PTP 1.1 does not provide remote debugging. This is something we're
hoping to add for the 2.0 release later this year.
However, there are enough hooks in 1.1 to run the debugger remotely,
albeit with some manual steps.
1. Open Preferences, the go to PTP->Debug->SDM. Change 'SDM client
host' to the hostname of the machine running Eclipse (your local
machine).
2. Change 'Path to backend debugger' to the location of gdb on the
remote nodes. If gdb is in your PATH on the nodes then skip this step.
3. Manually copy the application executable onto the remote nodes. If
you're mounting your local directory on the nodes then skip this step.
4. Create a debug launch configuration. If the location of the
executable in step (3) is different from the location on the local
machine then go to the 'Debugger' tab and enter the information in
'Remote executable path'. The 'Remote working directory' is the
working directory on the remote machine. If you entered an absolute
path for the executable then this shouldn't matter (I think).
You should hopefully now be able to launch a debug session.
Regards,
Greg
On Apr 23, 2007, at 5:27 AM, Robert Henschel wrote:
Hi,
I am new to PTP, so please let me know if this question has been
already answered and where to find the information.
I have installed Eclipse and PTP on my notebook and on my
workstation in the office. By modifying "/usr/local/etc/openmpi-
default-hostfile", I am able to see both "nodes" in the PTP runtime
perspective in Eclipse. I can launch an application with 4 MPI
processes, two per node, and they run. I can see them in PTP
Runtime perspective. Very good. :-)
Now I wanted to debug them. When I start them with the debugger,
all I get is a dialog saying "Operation in progress... Connecting
to proxy server...."
Debugging does work when I run the process only on the local
machine. But as soon as I include a remote machine, (by modifying
the default-hostfile) debugging does no longer work.
Any help would be appreciated, I guess I can also supply more
information if you let me know what to look for.
Regards,
Robert Henschel
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user