- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am following the steps documented here:
I have downloaded the latest intel/oneapi-basekit (2024.1) to my RedHat 7.9 docker server, instantiated it, and run the vtune-backed --allow-remote-access --web-port 7788 --enable-server-profiling & I can then browse to the vtune GUI.
In addition, I have my image (myimage:latest) instantiated and the process in the container is running like normal Using the VTUNE GUI, I can set up for Remote SSH, see the process (confirmed with no error), and just doing the UserMode Sampling, but when I click the Start button, I get collection failed:
amplxe-perf: Using CPUID GenuineIntel-6-55-7Control descriptor is not initialized No permission to enable CPU_CLK_UNHALTED.THREAD event
I start both containers with privileged: true In the vtune image, I am root and can ssh to the myimage as root. The process in the myimage container runs as user "sean" Perf is installed on the host AND in the myimage container.
Is there an action to perform some sort of "install" in either the intel/oneapi image? I would have thought it comes ready to go??? And is there anything I need to do within my image, myimage?
Within the intel/oneapi-basekit image, I tried the vtune-self-checker.sh script and it errors as it can't find lsmod. Yes, that is installed on the host but not in the image provided by Intel, so I figured we don't need it?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you provide me with some information to better understand your problem?
1. Did you run VTune in docker to profile the workload on the host, or did you run VTune from the host to profile the workload in docker?
2. Whether the VTune is installed on the host or inside docker, did you verify if the sampling driver is ready?
3. Please use the self-check utility to check the VTune, please install dependencies when needed.
4. What is the analysis type you used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. I do NOT have the Vtune installed on the host, rather I am starting up the self-contained Docker container intel/oneapi-basekit
2/3. docker exec -it theVtuneContainer bash and then I ran the vtune-self-checker.sh The log indicated that it FAILS because it could not find "lsmod"
I would think that the docker container is "self-contained" and has everything it needs, no? There are no steps that I can find that describe what you are supposed to do with the VTune docker container except for starting the back_end process so you can web-browse to the port. That's all I can find.
And if you do have to do "work in the Vtune container", I can do that work and then commit that image so I can use it again with all the changes I made.
I was JUST trying to the User Analysis (as I want to do a hotspot analysis). I dont want to do HW sampling so I didn't think I would need the drivers described above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the error log, it looks like the VTune uses perf instead of the driver for profiling. Could you post the command line here?
amplxe-perf: Using CPUID GenuineIntel-6-55-7Control descriptor is not initialized No permission to enable CPU_CLK_UNHALTED.THREAD event

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page