PTU - Cannot import results into Eclipse

PTU - Cannot import results into Eclipse

We get an assertion trying to import results from a small test run into Eclipse. This is PTU 2.0 on Intel 64.

Can anybody look at what's going on? Is it something with our binaries that we can correct?

Error: assertion failed:

com.intel.ptu.core.PtuCore.toCoreException(PtuCore.java:313)
com.intel.ptu.ui.internal.wizards.ImportExperimentWizard.runOperation(ImportExperimentWizard.java:226)
com.intel.ptu.ui.internal.wizards.ImportExperimentWizard.performFinish(ImportExperimentWizard.java:201)
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)

publicaciones de 12 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Could you switch over to the Intel PTU 3.0 version that was published a few weeks ago on whatif.intel.com? Please inform us if the problem occurs again.

Now running with 3.0 build 860 -- still the same thing.

How did you generate the data that you are trying to import?

What exactly are you trying to import?

When you say you are trying to import it to eclipse, is this the version of eclipse with the ptu installation or another eclipse installation.

What OS was the data generated on?

What OS are you running where you are running eclipse and trying to import into?

please offer any more details so we can understand what is happening...

thanks

d

The results were generated by running

vtssrun /s/scratch/nmw/ptu/run2 -- our_exe.exe

We got .tb5 files in that directory. EclipseI am starting is the onethat comeswith the PTU distribution.

From Eclipse, I go "Import" -> "PTU Experiment" -> Browse -> /s/scratch/nmw/ptu/run2. It starts importing, then "Assertion" appears.

All this is done on the very same machine, which is a linux box with vanillaSUSE Linux Enterprise Server 10 (x86_64).

When we run some other tests (small ones), it imports without problems. But it is this test run that we really need to analyse. And it refuses to import.

I can packege up the results directory, if you like. I just do now know to how attach it to this thread.

Thank you,

-- Nick

Try collecting the data you need using the gui..it is easier

:-)

but if you ran vtssrun..you should not get a tb5 file..you get a *.vtss file

so something you wrote doesn't quite make sense..vtssrun is the statistical call graph

Look at the intel PTU installation and usage pdf file..it is a sequence of screen captures...among them is how to use the gui to create command line scripts that actually work..

http://software.intel.com/file/1953

in the gui you have to make a project and then import the experiment into the project..thus you end up with a directory structure that looks like

/workspace/myproj1/experiment..

you have to import the experiment into the project..

but if your going to do that..just use the gui from the start and waste a lot less time

d

Running experiments from the GUI is not really an option for us. When we begin, a driver runs first. It probes the architecture of the machine, decides what topology and whatparallel mode we will be using (mpi, threads, hybrid), and a few other things. Then itcreates separatedirectories for the run, sets up a lot of things in the environment, then emits the complete command-line. This linetypically has dozens of arguments. Even the executables it decides tocalldifferdepending on a particular problem at hand. In short, we just cannot do that in the GUI. Command-line invocation is perfect for us.

We do, however, prefer the GUI for looking at the results.

I will check thesection about using the GUI for generating the scripts. Thank youfor that suggestion.

But as far as actual running, GUI is not saving us any time. In fact, it makes everything much more complicated.

try again..

How large are the files you generate on the app you really care about?

How big is the binary and the run time?

If the binary is statically linked on linux then the statistical CG will not work as it needs to dynamically link in the stack unwinding SW.

I assume you have a vtune support account on premier.intel.com. Please zip up the experiment directory you are trying to import (assuming that using the gui generated commands does not fix the issue), open a problem report under vtune in premier and explain that this is an IntelPTU issue that should be sent to David L. and I'll deal with it.

thanks

d

Nick

The rob directory imported into ptu eclipse gui on win 32 XP without problem..of course all functions were unknown..I will see if I can locate a suse 10 vanilla install

d

In PTU 3.0 when this assertion occurs you should get a dialog box which has "Expand Stack" or somethign like this button and also a "Copy to clipboard" button. Could you copy-paste the exception stack from there here?

Here it is:

Error: assertion failed:
at
com.intel.ptu.core.PtuCore.toCoreException(PtuCore.java:313)
com.intel.ptu.ui.internal.wizards.ImportExperimentWizard.runOperation(ImportExperimentWizard.java:226)
com.intel.ptu.ui.internal.wizards.ImportExperimentWizard.performFinish(ImportExperimentWizard.java:201)
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
org.eclipse.jface.window.Window.open(Window.java:796)
org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:159)
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
org.eclipse.core.launcher.Main.basicRun(Main.java:280)
org.eclipse.core.launcher.Main.run(Main.java:977)
org.eclipse.core.launcher.Main.main(Main.java:952)

Thanks,
-- Nick

Nick

another way to import experiments is

open the gui and create a PTU project in your workspace to create a diretory structure like: /home/myuser/workspace_mine/myproject

select any convenient binary during the project creation..you won't actually run it in the gui...

after the project is created, shutdown the gui

copy your experiment directory into the project directory..

if the experiment directory you made with the command line tools is called rob

mkdir /home/myuser/workspace_mins/myproject/rob

cp rob/* /home/myuser/workspace_mins/myproject/rob

then reopen the gui

it may take a few seconds for eclipse to figure out the experiment is there and update its tables...

d

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya