Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] PTP extension points for job launch/completion


I'm working on other Eclipse plugins that are not part of PTP. I want to allow users to use the PTP launch configuration dialog to run their parallel applications. One of the things I need on order for that to be useful to my plugins is notification that the job was started and that the job completed, with completion status.

I was thinking that this might be implemented as one or more extension points in PTP that my plugin could register with and then add itself as a listener for the events it needed.

I think the only notifications I would need are that the application was started, along with the path name of the application, so I could know that my application has started, and a notification that the application completed, along with the same pathname and completion status.

Other sorts of information that might be more generally useful would be notification that the job was submitted and maybe a task to node mapping. This mapping might be useful to me in the case where the application ran in  a filesystem that was not globally shared in the cluster, where I might have to retrieve data off individual nodes. This isn't of great importance to me since there would be other problems related to accessing those nodes to solve as well.

The other thing I think I need is a way to create a new launch configuration that the user would see in the launch configuration dialog when he opened the launch configuration dialog. Currently, my plugin is not aware of the Eclipse project concept. All it has is the pathname of an executable that it wants to run. I've found that if I open the launch configuration dialog, that I can select an arbitrary project and then specify an executable, even if that executable has nothing to do with the project, so if I had the ability to create a launch configuration, I think that would be helpful.

I haven't completely thought through the details of creating a launch configuration, or if dynamically creating a launch configuration  is even the right way to hook into the PTP launch configuration dialog in the first place. I'm interested in suggestions that would be a good match with PTP.
Dave

Back to the top