Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] View execution time, communication time and idle time

The database is stored in a ppk file.
Thanks !

wspear <wspear@xxxxxxxxxxxxxx> wrote:
Greetings,

Can you confirm that the profile data is being created and stored in
your workspace? When the database is unavailable it should be stored
as a .ppk file in a new directory in your project's workspace like
//Profiles/mpi-pdt/. You may need to
refresh your workspace to see the new directory in Eclipse. If it is
present you should be able to view it in ParaProf from the command
line by entering
paraprof


Regards,

Wyatt


On 7/16/07, Thành Trung Nguyễn wrote:
> Thanks for your help !
> I've tried TAU, but it alway failed when adding data to perfdmf database.
> Here the error messages from Performance Data Manager view :
>
> java.lang.NoSuchMethodError:
> edu.uoregon.tau.perfdmf.DatabaseAPI.initialize(Ljava/lang/Object;Z)V
> at
> org.eclipse.ptp.tau.perfdmf.views.PerfDMFView$ViewContentProvider.initialize(PerfDMFView.java:323)
> at
> org.eclipse.ptp.tau.perfdmf.views.PerfDMFView$ViewContentProvider.getElements(PerfDMFView.java:273)
> at
> org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:927)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1144)
> at
> org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:574)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:543)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:728)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705)
> at
> org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1288)
> at
> org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1323)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1277)
> at
> org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250)
> at
> org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1542)
> at
> org.eclipse.ptp.tau.perfdmf.views.PerfDMFView.createPartControl(PerfDMFView.java:391)
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332)
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
> at
> org.eclipse.ui.internal.Perspective.showView(Perspective.java:1675)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:987)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:968)
> at
> org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3514)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at
> org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3511)
> at
> org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3487)
> at
> org.eclipse.ptp.tau.perfdmf.PerfDMFUIPlugin.addPerformanceData(PerfDMFUIPlugin.java:91)
> at
> org.eclipse.ptp.tau.core.internal.TAULaunchManage$2.run(TAULaunchManage.java:736)
> at
> org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3143)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2845)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:158)
> at
> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:326)
> at
> org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
> at
> org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:265)
> at
> org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:894)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at
> org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:929)
> at
> org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:904)
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin.launchInForeground(DebugUIPlugin.java:834)
> at
> org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:526)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchPressed(LaunchConfigurationsDialog.java:955)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.buttonPressed(LaunchConfigurationsDialog.java:304)
> at
> org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
> at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
> at
> org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
> at
> org.eclipse.jface.window.Window.open(Window.java:796)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
> at
> org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:383)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:387)
> at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:329)
> at
> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
> at
> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:99)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
> at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
> at
> org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at
> org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
>
> wspear wrote:
> Greetings,
>
> The TAU project
> (http://www.cs.uoregon.edu/research/tau/home.php) adds
> performance analysis functionality to the PTP. I'll give you a quick
> overview of how to install and use it here. The web site and the
> documentation included with TAU provide more detailed information.
>
> First obtain the TAU and PDT tarballs from
> http://www.cs.uoregon.edu/research/tau/downloads.php and
> http://www.cs.uoregon.edu/research/pdt/downloads.php
> respectively.
>
> Extract the archives to the directory where you want them installed.
> Within their respective directories:
>
> Configure and make the PDT. This is typically done via:
> ./configure
> make install
>
> Configure and install TAU with the following minimal set of options, to
> start:
> ./configure -pdt= -mpilib=
> lib directory> -mpiinc=
> make install
>
> TAU has numerous options for collecting and representing different
> types of performance data (memory profiling, hardware counter data
> collection, callpath profiling, the creation of program traces, etc).
> The above configuration will allow you to produce a basic performance
> profile of your MPI program, but you may want to create a more
> advanced configuration later.
>
> You may want to add the //bin path to
> your system's PATH variable and the
> //lib path to your LD_LIBRARY_PATH
> variable. The arch-directory's name will depend on your system. It
> is called 'i386_linux' on 32-bit linux systems, for example.
>
> You may want to run perfdmf_configure (located in the //bin
> directory) as well at this point. This is not necessary to generate
> performance data, but it will allow TAU to store generated performance
> data in a database accessible from within Eclipse rather than directly
> on the file system. Just use the default options it offers (including
> a blank password).
>
> Now you can install the TAU Eclipse plugins. To do this, go to your
> /tools/src/eclipse directory. Run the
> install_plugins.sh script with the directory of your targeted eclipse
> installation as an argument (For example: ./install_plugins.sh
> /opt/eclipse). The next time you start eclipse you should see a
> 'profile' button next to the usual run and debug buttons.
>
> The TAU launch configuration accessible from the profile button is
> similar to the standard parallel launch and debug configuration
> windows. The tau-specific tab allows you to specify several
> performance data collection options. The defaults should be
> sufficient to start. When you launch your application from the TAU
> launch configuration it should execute normally and finally produce
> profile data. If you configured perfdmf the profile data will show up
> in a database browser view which you can use to launch the ParaProf
> profile analysis tool directly from eclipse. Otherwise you should see
> a new performance data directory created in your workspace. You can
> navigate to that directory and run paraprof (also located in the
> // directory) from the command line.
>
> Please don't hesitate to let me know if you have any questions or
> require assistance with TAU or the TAU plug-ins.
>
> Regards,
>
> Wyatt Spear
>
> On 7/14/07, Thành Trung Nguyễn wrote:
> > Hi !
> > I'm new here !
> > I'm using eclipse and PTP plugin to write MPI program. But I need a
> graphic
> > tool to show execution, communication and ilde time in each process like
> > XMPI. Does PTP has any tool can do that ?
> > Thanks !!!
> >
> >
> > ________________________________
> > Park yourself in front of a world of choices in alternative vehicles.
> > Visit the Yahoo! Auto Green Center.
> >
> >
> > _______________________________________________
> > 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
>
>
>
> ________________________________
> Building a website is a piece of cake.
> Yahoo! Small Business gives you all the tools to get online.
>
>
> _______________________________________________
> 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


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

Back to the top