Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Question about performance tools framework in PTP


Wyatt
I tried this tonight with PTP 2.1.1 installed on an Eclipse 3.4.1 installation and can't seem to make it work. I have a simple plugin I'm experimenting with which implements a single new view. That plugin loads successfully since I can see the new view.
I copied the extension point usage into my plugin.xml file directly from the example on your wiki page

<extension point="org.eclipse.ptp.perf.workflows">
     <workflowDefinitionXML
           XMLFile="data/toolxml/tf.xml">
     </workflowDefinitionXML>
  </extension>

Then I created the data/toolxml/tf.xml file as a new file in my plugin project and pasted the full contents from the tf.xml example just below the extension point example into that file.

After that, I started a 2nd Eclipse instance as Eclipse application and could see my plugin view. I opened teh run configuration dialog and picked a parallel application run configuration and a C run configuration. I expected to see a new tab in the launch configuration dialog with the title Performance Analysis, but I don't see it. I don't see any errors logged in the error log views or to the console views. I do see the org.eclipse.ptp.perf plugin which I think implements your extension point, in the list of plugins in the Help->About Eclipse SDK dialog so I think I have teh right plugins loading.

I also tried using the PTP preferences panel to select the path to the tf.xml file then open the launch configuration, and still didn't see the new tab.

Am I doing something wrong?
Dave


Wyatt Spear <wspear@xxxxxxxxxxxxxx>
Sent by: ptp-dev-bounces@xxxxxxxxxxx

04/06/2009 02:26 PM

Please respond to
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>

To
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
cc
Subject
Re: [ptp-dev] Question about performance tools framework in PTP





The most through documentation available at the moment can be found here:  http://wiki.eclipse.org/PTP/ETFw/PTP_External_Tools_Framework
There have been a few additions to the XML definition capabilities since this was written and it doesn't cover the internal API as much as the external XML tool definitions system.  It sounds like what you want will be something like what we did for TAU integration, using your plugin to wrap the components provided by the external tools.  I can pull together some more information on that for you.

So far, most of our test cases have dealt with generating command line arguments, so we don't have a complete general purpose environment variable system in place.  However it shouldn't take long to get that up and running.  Setting environment variables in the local eclipse launch environment is fairly straightforward, but if a different method is needed to send them to the remote system I can provide a 'getter' for environment variables specified in the tool's UI.


-Wyatt


On Mon, Apr 6, 2009 at 11:02 AM, Dave Wootton <dwootton@xxxxxxxxxx> wrote:
Wyatt
I was hoping that if I chose this approach that it would cover CDT as
well. So that's good news. In order for this to be useful to me, I do need
to be able to add to the list of environment variables passed to the
remote process. Can you give me a reference to current documentation on
how to use this? I will look at the IProgessMonitor. I just need to find
time to do it.
Dave



Wyatt Spear <
wspear@xxxxxxxxxxxxxx>
Sent by:
ptp-dev-bounces@xxxxxxxxxxx
04/06/2009 12:11 PM
Please respond to
Parallel Tools Platform general developers <
ptp-dev@xxxxxxxxxxx>


To
Parallel Tools Platform general developers <
ptp-dev@xxxxxxxxxxx>
cc

Subject
Re: [ptp-dev] Question about performance tools framework in PTP







Greetings Dave,

The ExternalTools provide a distinct launch configuration system for both
the PTP and CDT.  Presently the system covers status with the standard
IProgressMonitor used to display job status in the UI.  It may be possible
for you to hook in to that, but if not I can probably add a listener
hook.  I'll also need to take a look and make sure environment variable
control is up and running.  Please let me know if you have any questions
or if I can help out with anything.

-Wyatt

On Mon, Apr 6, 2009 at 7:11 AM, Dave Wootton <
dwootton@xxxxxxxxxx> wrote:
Wyatt
I have a performance analysis tool that has an Eclipse plugin. I'd like to
extend the Eclipse launch configuration dialog to add a new panel with
execution options specific to this tool. These options result in setting
environment variables that the tool recognizes. The tool itself runs as a
remote process on a different node than the Eclipse node. Greg suggested
that your framework might be helpful for this.

I need to use this for parallel execution, where I'm thinking of this as a
logical extension of the PTP launch configuration, as well as for serial
applications which would not use the PTP launch configuration and do not
run under control of any PTP resource manager. Does your tool framework
work only with PTP launch configurations, or would it work with the CDT
launch dialogs as well.

Also, does your framework provide any notifications of job start and
finish, such that a listener could register to be notified of those state
changes?

Thanks
Dave
_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev

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


Back to the top