Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] PTP - parallel debugging

Jacob,

There are some tutorials on using PTP that cover debugging [1]. This would be a good place to start. To  answer your questions specifically:

(1) How to use the SDM (remote,locally?) ; 

Remote: The simplest way is to create a synchronized project that points at the remote directory. Then create a debug launch configuration using the synchronized project (so that the remote connection is used), then navigate to the executable on the remote machine.

Local: If you don’t want import your program into Eclipse, just use any local project when configuring the debug launch configuration. Navigate to the executable you want to debug and use that.

(2) Should install additional packages if I work locally on a cluster ; 

Shouldn’t need to add anything extra.

(3) Which scheduler is being supported for parallel debugging (PBS/PBS Interactive, MPICH2, etc ...) ?

The interactive target configurations should work (Open MPI, MPICH, Remote). Some of the contributed configurations also support debugging. Search for submit-interactive-debug in the target configuration XML files. 

(3) Should I have build a project by Eclipse, or can I used a manually compiled executable file which I direct Eclipse to its corresponding directory 


You should be able to debug a manually compiled executable, but Eclipse will need to know how to find it. The debug launch configuration uses the project location to obtain a remote connection, so you will need to have a project synchronized with the target machine. It doesn’t need to be the same as the one you are debugging however (although it might make source lookup easier, I’m not sure).

Greg


On Apr 25, 2016, at 5:20 AM, Kobby Shpund <shpundk@xxxxxxxxx> wrote:

Hi all,

I'm a bit newbie to Eclipse PTP.

I tried to debug a parallel MPI application in eclipse and encounter some problems.
The section in the Eclipse PTP user guide is very loosely defined -- 
(1) How to use the SDM (remote,locally?) ; 
(2) Should install additional packages if I work locally on a cluster ; 
(3) Which scheduler is being supported for parallel debugging (PBS/PBS Interactive, MPICH2, etc ...) ?
(3) Should I have build a project by Eclipse, or can I used a manually compiled executable file which I direct Eclipse to its corresponding directory ?

Any other info about practical parallel debugging is highly appreciated.

Thank you,
Jacob.

--
Kobby Shpund
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user


Back to the top