Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hiamitabha
Beginner
90 Views

Error opening trace file

Hi,

I just started using the Amplifier XE and cannot get it to work.

I tried to analyze a simple program.

cat /stuff/run.c
#include

int main()
{
int i=0,j=0,k=0;
for (i=0; i<10000;i++) {
for (j=0; j<1000000;j++) {
k++;
}
}
printf("Value is %d\\n",k);
}

When I analyze it for hotspots using the GUI I get an error after the run is completed saying "failed to finalize the result"

I tried to run using the console command.

./amplxe-cl -collect hotspots /stuff/run
Value is 1410065408
Using result path `/opt/intel/vtune_amplifier_xe_2011/bin64/r000hs'
Executing actions 8 % Loading '22981-22985.0.trace' file terminate called after throwing an instance of 'pprofiling::trace::__E271'
Aborted

The version of Linux is:
Linux 2.6.32-100.22.1.el5 #1 SMP Mon Oct 25 20:46:50 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

The processor is:
Intel Xeon CPU E7- 8870 @ 2.40GHz

Please help.

Amitab
0 Kudos
2 Replies
Peter_W_Intel
Employee
90 Views

Thanks for your example code,however it seems there is no problem on my side:


[root@NHM02 problem_report]# amplxe-cl -collect hotspots -- ./run
Value is 1410065408
Using result path `/home/peter/problem_report/r000hs'
Executing actions 74 % Generating a report

Summary
-------

Elapsed Time: 21.295
CPU Time: 21.260
Executing actions 99 % done


[root@NHM02 problem_report]# amplxe-cl -version
Intel VTune Amplifier XE 2011 Update 3 (build 150226) Command Line Tool
Copyright (C) 2009-2011 Intel Corporation. All rights reserved.

I guess it was caused by on your Cents OS version (2.6.32-100), please check supported OS is CentOS* 5.5 (2.6.18-164??) in release notes.

Regards, Peter

hiamitabha
Beginner
90 Views

Hi Peter,

I had sent you a private message on the platforms on which Amplifier is supported. Did you receive it?

/Amitab
Reply