Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4994 Discussions

Win 7, Vtune 2017 update 3 ... cannot do first hot spot ... "serious problem"

CSlat2
Beginner
3,710 Views

I have created a simple C++ app called timeWaster. Built it using MSVC  19. This app runs fine in a command window created by Parallel Studio. (compiled using cl -EHsc -Zi timeWaster.cpp)

Sample run:

D:\Users\...\VTune\timeWaster>timeWaster64.exe

a=3.21061e+006

primeCnt=348844

11.2066  seconds

Done

Launch Vtune with admin rights.

Go to configure, select “Launch Application”, browse to the timeWaster64.exe, set working dir to same.

Toggle over to the run screen, “Basic Hotspots” selected, everything set to default. Hit start …

Up pops a command window … that stays empty (this window sticks around till killed with task master, timeWaster process still running 0% cpu).

Then within seconds of hitting start:

Intel VTune Amplifier XE 2017 has faced a serious problem

1/11/2018 6:21:45 AM  Cannot open data: Intel VTune Amplifier XE 2017 has faced a serious problem.

Error 0x40000024 (No data) -- No data is collected. Possible reasons:

 - Workload is too small. No samples are collected.

 - The application environment is not specified correctly.

 See the Troubleshooting help topic for more details. 

Trouble shooting area of of no help so I am here.

So where do I start tracking this down? I have already considered dll dependencies and pruned that list down to a minimum.

 

0 Kudos
46 Replies
Vladimir_R_Intel
Employee
1,596 Views

Hi Carl,

could you please do few tests?

first of all try to launch your application from windows command line (not VS), just open cmd.exe, go to the directory of your application and launch it.

If it works ok please try the following collections from the same command line:

1. <vtune_install_dir>\bin64\amplxe-cl -c hotspots timeWaster64.exe

2. <vtune_install_dir>\bin64\amplxe-cl -c advanced-hotspots timeWaster64.exe

3. <vtune_install_dir>\bin64\pin.exe --timeWaster64.exe

BR,

Vladimir

0 Kudos
siddappa__venkatesh
1,596 Views

Am also facing same issue..

 

Any solution ?

 

Thanks,

venkatesh,

0 Kudos
siddappa__venkatesh
1,596 Views

Hi We are facing serious problems with Vtune

Please help.

 

 

0 Kudos
siddappa__venkatesh
1,596 Views

Hi..

Can you hep us, we are not able to solve the issue..

Thanks,

Venkatesh.

0 Kudos
Vladimir_R_Intel
Employee
1,596 Views

Hi Venkatesh,

please describe the issue you faced with.

If it looks exactly like Carl's issue I'll ask you to perform the same checks as I wrote above.

BR,

Vladimir

0 Kudos
siddappa__venkatesh
1,596 Views

Hi,

Thanks VLADIMIR for your suggestion.

 

i tried

for basic hotspot and advanced hotspot it is working as below from both cli and vtune gui:

===================================================================

working elaspsed time is like => 0.001 ms.

Not sure why elaspsed time is so less, am running application and it continues to run,

vtune also continues to run(Say for 2-3 minutes) , but once it stopped elapsed time is too less.

 

But for hardware events earlier error is coming.

 

Please help what am missing.

 

Thanks,

Venkatesh.

 

0 Kudos
Vladimir_R_Intel
Employee
1,596 Views

Hi,

could you please provide collected results and a reproducer if it is possible?

BR,

Vladimir

0 Kudos
siddappa__venkatesh
1,596 Views

Hi,

Updated with folder of results observed.

Thanks,

venkatesh.

0 Kudos
Vladimir_R_Intel
Employee
1,596 Views

Hi,

based on the result I see that you try to use remote collection with attach to some process.

First of all I recommend to check VTune directly on the target machine without remote flow. I think the same hotposts and advanced-hotspots analyses will be enough for this. 

Also please try the latest and greatest VTune version.

BR,

Vladimir

0 Kudos
siddappa__venkatesh
1,596 Views

Hi..

i observed during installation below things, will that affect.

--------------------------------------------------------------------------------

Missing optional prerequisites
-- The system is running in the virtual environment. Sampling drivers will not
be installed.
-- Driver build options are incomplete. Drivers cannot be built.

We are try to run vtune in ubuntu VM Linux host.

 

Thanks,

Venkatesh.

 

0 Kudos
Alexander_T_Intel1
1,596 Views

Hi Venkatesh,

If you want to run "Basic hotspots" analysis inside of VM, you don't need no drivers, so please continue the installation despite this error message.

 

Regards,

Alexander

0 Kudos
bsv__venki
Beginner
1,596 Views

Hi,

Basic hotspots working as expected, only "advanced hostpots " and "hardware vents" have issue..

What could be the problem ?

Thanks,

Venkatesh.

0 Kudos
bsv__venki
Beginner
1,596 Views

Hi,

could someone help me, what is real problem.. ?

 

Thanks,

Venkatesh.

0 Kudos
bsv__venki
Beginner
1,596 Views

Hi ,

We are blocked from 15 days...could some one help us to find the real problem..

Thanks,

Venkatesh.

0 Kudos
bsv__venki
Beginner
1,596 Views

Hi,

Any one from intel can suggest something..

We are waiting..

Thanks,

Venkatesh.

0 Kudos
PAVEL_G_Intel
Employee
1,596 Views

Hi,

Could you describe your problem and usecase. Unfortunately I don't understand anything from the thread.

1) What OS do you use?
2) Do you run host-target analysis?
3) What type of VM do you use?
4) What error do you have?
5) What VTune Amplifier version do you use?

- Pavel

0 Kudos
bsv__venki
Beginner
1,596 Views

 

Hi,

Could you describe your problem and usecase. Unfortunately I don't understand anything from the thread.

1) What OS do you use?

   ubuntu 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

2) Do you run host-target analysis?
   
   PATH=$PATH:/opt/intel/vtune_amplifier_xe_2017.4.0.518798/bin64/
   VTUNE_AMPLIFIER_XE_2017_DIR="/opt/intel/vtune_amplifier_xe_2017.4.0.518798"
   source /opt/intel/vtune_amplifier_xe_2017.4.0.518798/amplxe-vars.sh
   export DISPLAY=Windows-ip:0
   amplxe-gui &

   We are running in gui in target and that gui appears on windows x server , and their by collecting logs.

   another  method:
   ==================
  1. Windows machine has Xserver run on.
     Remoute descktop:
  2.Vtune is installed on it2-17 gateway
    export DISPLAY=windows_ip:0
    source /opt/intel/vtune_amplifier_xe_2017/amplxe-vars.sh
    run amplxe-gui&
    You shall see gui started on Windows Machine 

 3.Configure target
   Configure Analisys Type
   Run profile
      
   in both methods we tried.

3) What type of VM do you use?
  
  ubuntu virtual VM for analysis.

4) What error do you have?

 1. when we run on host ->target i am not seeing any hardware events anlayisi option in vtune gui.
 2. when i try second method method below wrror comes.
       
    intel VTune Amplifier XE 2017 has faced a serious problem

    1/11/2018 6:21:45 AM  Cannot open data: Intel VTune Amplifier XE 2017 has faced a serious problem.

   Error 0x40000024 (No data) -- No data is collected. Possible reasons:

    - Workload is too small. No samples are collected.

    - The application environment is not specified correctly.

   See the Troubleshooting help topic for more details. 

3. elspsed time is interms of milli seconds , say(0.001 ms). something is stopping the vtune application collecting info.

4. statistsics not collecting properly.


5. for basic hotspot working properly, no error displayed and elapsed time almost same as running time, so data displayed correctly.

 
        

5) What VTune Amplifier version do you use?

 we are using this version : vtune_amplifier_xe_2017.4.0.518798

6) We installed manually the sep drivers from built locally.

  ./insmod-sep -r
 

Problem is that not able to collect hardware events and advanced hotspots.

 

Please help....


Thanks,
venkatesh.

0 Kudos
PAVEL_G_Intel
Employee
1,596 Views

Could you collect information from your VM?

1) dmesg | grep -i pmu
I interesting in boot time dmesg. So check that dmesg head timestamps starts from 0.
2) cat /proc/cpuinfo
for one core
3) perf -list
4) cat /proc/cmdline
5) vtune_amplifier_path/bin64/sep -event-list

Some output may be large enough please attach them as files.

Am I right that you run VTune Amplifier in VM? Did you try to establish ssh connection type in VTune Amplifier? (This connection type better for performance measurement comparing with x-forwarding)

- Pavel

0 Kudos
bsv__venki
Beginner
1,596 Views

Hi..

Yes via ssh am connecting to device from vtune gui and  trying to check analysis.

 

Thanks,

Venkatesh. 

0 Kudos
bsv__venki
Beginner
1,564 Views

Hi,

Please find also missed one in attachment.

 

root@it2-17-sfcgw-ubuntu:~/target_drivers/sepdk/src# dmesg | grep pmu
[  630.609491] socperf2_0: SocPerf Driver: detected 6 CPUs in lwpmudrv_Load
[  728.159799]  lwpmudrv_Read_MSR+0x2c/0x40 [sep4_1]
[  728.407064]  lwpmudrv_Write_Op+0x3c/0x60 [sep4_1]
[  728.407067]  lwpmudrv_Write_Op+0x3c/0x60 [sep4_1]
[16973.551232] socperf2_0: SocPerf Driver: detected 6 CPUs in lwpmudrv_Load
[18870.067548] socperf2_0: SocPerf Driver: detected 6 CPUs in lwpmudrv_Load
root@it2-17-sfcgw-ubuntu:~/target_drivers/sepdk/src#

 

Thanks,

venkatesh.

 

0 Kudos
Reply