Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] ppe.hpct plugin - PTP 4.0/PTP 5.0 API changes

Christoph
I don't think there's anything basic to the design of either the HPC Toolkit plugin or synchronized projects that prevents them from working together. IBM PE Developer Edition (AIX only at this time) includes a version of this plugin which does work with both remote and synchronized projects.

I think the issue you are encountering is related to some API changes in PTP 3.7 that broke the copy of the plugin you have.

That version of the plugin relies on the PTP service configuration model which requires you to set the PTP connection protocol in the HPCT preferences page, restart Eclipse, then set up the service configuration for the synchronized project in the properties page for the project and finally to set an active service configuration.

I tried that this morning, and when I tried to enable the HPCT service provider as a profiling service for the synchronized project, I got an AbstractMethodError exception (traceback below) that I think is related to the API changes.

That version of the HPCT plugin was tested with Eclipse 3.6, and PTP 4.0, and needs to continue to work with those levels. I'm not sure how feasible it is to make it work as well with PTP 5.0 or ow feasible it is to modify PTP 5.0 so this plugin works.

java.lang.AbstractMethodError
        at org.eclipse.ptp.services.ui.widgets.ServiceProviderConfigurationWidget.selectProvider(ServiceProviderConfigurationWidget.java:509)
        at org.eclipse.ptp.services.ui.widgets.ServiceProviderConfigurationWidget.displayService(ServiceProviderConfigurationWidget.java:431)
        at org.eclipse.ptp.services.ui.widgets.ServiceProviderConfigurationWidget.changeServiceState(ServiceProviderConfigurationWidget.java:547)
        at org.eclipse.ptp.services.ui.widgets.ServiceProviderConfigurationWidget$5.widgetSelected(ServiceProviderConfigurationWidget.java:182)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Dave



From:        Christoph Pospiech <Christoph.Pospiech@xxxxxxxxxx>
To:        ptp-user@xxxxxxxxxxx
Cc:        Achim Boemelburg <BOEMELB@xxxxxxxxxx>, Holger Holthoff <HOLTHOFF@xxxxxxxxxx>, Dave Wootton/Poughkeepsie/IBM@IBMUS
Date:        12/04/2011 11:50 AM
Subject:        ppe.hpct plugin




Hi,

am I correct that the ppe.hpct plugin com.ibm.research.hpct_5.2.201.zip, taken
from supzero.lrz.de (==LRZ Migration system) is not really designed to work
with eclipse synchronized projects ?

I had a synchronized project nicely set up, local host Linux x86 32-bit,
remote host  Linux x86_64 64-bit with ppe.poe 5.2 installed. The eclipse GUI
ran on the local host.

I could install the above *.zip file and change to the HPCT perspective without
any problem. But then I couldn't tell the tool, not to look locally for the
executable (which is of the wrong format elf 32-bit anyway), but to search for
the binary and perform the instrumentation on the remote host. Am I correct
that this is not implemented yet ?

Suppose I manage to run the instrumenter via command line on the remote host
(or use peekperf on the remote host) and generate *.viz files (on the remote
host) that way. Am I correct to expect that the git machinery of the  
synchronized project will replicate them to the local host and I can open them
on with the HPCT perspective ?
--

Mit freundlichen Grüßen / Kind regards

Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: christoph.pospiech@xxxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter
Scholz, Gregor Pillen, Joachim Heel, Christian Noll
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB
14562 / WEEE-Reg.-Nr. DE 99369940


Back to the top