Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] PTP debug launch hangs: Waiting for job information...

When you create a new resource manager, you are able to select a number of different types (Open MPI, PBS, etc.) One of these types is "Generic Remote Launch". This resource manager will simply run an executable on a remote machine using ssh. Using this resource manager will verify the basic ssh functionality is working correctly.

The problem you're seeing is most likely related to your server ssh configuration. When the debugger launches on the remote system, it attempts to make a connection back to your local machine running Eclipse. If you have the "SSH Tunneling" option enabled on the resource manager, then this connection will be made over the main ssh connection using an ssh tunnel. For this to work, your server ssh configuration needs to enable the "GatewayPorts" option. See the sshd_config(5) for more information on this option.

If you are not able to change the sshd configuration on the remote target, the only option is to not use tunneling. This requires direct access from the remote target to your local Eclipse client machine (i.e. you from the remote target system, you should be able to use "ping <local_client_host>".) Also, you'll need to disable the firewall on the local client machine so that the incoming connection is permitted.

Regards,
Greg

On Nov 5, 2010, at 5:04 PM, Chris Genly wrote:

I'm not sure what you mean by a generic remote resource manager.

If I try to launch a simple C program with the existing resource manager nothing appears in the console.  A dialog appears and hangs at partial progress.  The dialog says:

Progress information
Operation in progress
Upload file.

An exception appears in the error log when I cancel the dialog.

org.eclipse.core.runtime.CoreException: Cannot connect to debugger
at org.eclipse.ptp.debug.internal.core.PSession.connectToDebugger(PSession.java:132)
at org.eclipse.ptp.launch.ParallelLaunchConfigurationDelegate$1$1.run(ParallelLaunchConfigurationDelegate.java:216)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


--
Chris,

Can you try creating a generic remote launch resource manger, the try debugging a simple non-MPI program using that? I'd like to verify that this works first.

Thanks,
Greg

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


Back to the top