- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the following problems:
1) There is no amplxe-gui executable in the bin32 directory (there is in the bin64)
2) Most of the analysis types have a error message:
" Problem accessing the sampling driver. The driver may need to be (re)started. Please refer to the help pages for more information." However I can't find anything in the help pages that describe what to do.
Thanks for any help,
mark
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am running on CentOS5, which is equivelant to RHEL5. During the first step of installation. It told me it could not recongize my OS. I ignored the message and install anyway. But after installation, I had the same problem with yours.
In the release note, they say they support RHEL 4,5,6. For others, if you are not using a default kernel on the supported Linux* distributions listed above, use the SEP Driver Kit in VTune Amplifier XE to compile drivers for your kernel. The SEP Driver Kit software can also be obtained via Intel Premier Support.
I create an ISSUE for this problem at my primer support account. And hopfully, someone will help. I suggest you also open an issue for your case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After installing the product, please check if there is driver loaded,
lsmod | grep sep ; vtune amplifier XE driver name is sep3_1
If you can't find it, or driver is incorrect, go /opt/intel/vtune_amplifier_xe_2011/sepdk/src:
1)rmmod-sep3; optional, if found the driver, want to unload it
2)build-driver
3)insmod-sep3
4)boot-script --install
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mark et al,
The error message you are seeing is a clearindication that VTune Amplifier XE GUI (Lightweight hotspot or any event based sampling analysis type) can't access the sampling driver.
In addition to sep3_1 driver, we load another driver called PAX. Could you please check if you pax driver is also loaded. (lsmod | grep pax)?
If it is loaded and if things are still not working then please try Peter's step and then
- make sure you are part of the "vtune" user group
- and have permission to access to the devices (/dev/sep3_1 and per_cpu devices under /dev/sep3_1) that are created by the driver. By default the permissions are 660.
By default /opt/intel/vtune_amplifier_xe_2011/sepdk/src/insmod-sep3 script performs the following:
Checking for PMU arbitration service (PAX) ... detected.
PAX service is accessible to users in group "vtune".
Executing: insmod ./sep3_1-x32_64-2.6.27.19-5-defaultsmp.ko
Creating /dev/sep3_1 base devices with major number 247 ... done.
Creating /dev/sep3_1 percpu devices with major number 246 ... done.
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The sep3_1 driver has been successfully loaded.
If you are not part of the vtune group then you can add yourself to vtune group or use insmod-sep3 g option to give access to your group while loading the driver.
Please see the insmod-sep3 options:
Usage: ./insmod-sep3 [ options ]
where "options" are the following:
-g | --group group : restricts access to the sep3_1 driver to users in the specified group; if this option is not provided, the group "vtune" will be used
-p | --perms : fileperms restricts access to the sep3_1 driver based on the specified file permissions; if this option is not provided, then file permissions "660" (or equivalently, "ug+rw") will be used
-q | --query : returns 0 if driver is already loaded, non-zero otherwise; if driver is loaded, information on group ownership and file permissions on driver device will be displayed
-r | --reload: attempt to reload all relevant drivers; note that drivers will not unload if they are still in use
Can you also check if you are able to use Hotspot, Concurrencyand Locks&Waits analyses? These analysis types do not use the sampling driver so it should help us understand the problem more.
Regards,
-Levent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have checked the PAX driver is also running. After unloading and reloading the sep3_1 driver, I got the same error.'Sampling driver should be (re)started.' Other services like HotSpot, Concurrency and Lock&Waits Analyses are fine.
Also, You mentioned the script /vtune_amplifier_xe_2011/sepdk/src/insmod-sep3 and the vtune group. But how could I add my account into the vtune group ? Do I need to change the script or just use commands?
In addition, I install the kernal source RPM on my CENTOS 5 platform. But it seems not helpful.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[root@NHM02 src]# ./insmod-sep3 -g vtune
Checking for PMU arbitration service (PAX) ... not detected.
Attempting to start PAX service ...
Executing: insmod ./pax-x32_64-2.6.18-128.el5smp.ko
Creating /dev/pax device with major number 252 ... done.
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The pax driver has been successfully loaded.
PAX service has been started.
PAX service is accessible to users in group "vtune".
Executing: insmod ./sep3_1-x32_64-2.6.18-128.el5smp.ko
Creating /dev/sep3_1 base devices with major number 251 ... done.
Creating /dev/sep3_1 percpu devices with major number 250 ... done.
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The sep3_1 driver has been successfully loaded.
You should have no problem to run Event-based data collectors under common user (vi /etc/group to check/add user name in "vtune" group).
[peter@NHM02 src]$ cd /home/peter
[peter@NHM02 ~]$ /opt/intel/vtune_amplifier_xe_2011/bin64/amplxe-cl -collect lightweight-hotspots -duration 5
Using result path `/home/peter/r000lh'
Executing actions 75 % Generating a report
Summary
-------
Elapsed Time: 5.053
Executing actions 100 % done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote a knowledge base article on this error message and how to fix the problem. It is posted at: http://software.intel.com/en-us/articles/problem-accessing-the-sampling-driver/ . We will also update the documentation accordingly.
Thanks
-Levent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In particular, I've noticed that I have no amplxe-gui (or inspxe-gui) in my bin32 directory, but I do in bin64.
If I install on a 32-bit machine, I get the 32-bit gui, but then there's no 64-bit install.
What's going on here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Note there is no 32bit GUI support from 64bit machine
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the response. I realize you wouldn't want to run the 32-bit gui on a 64-bit machine, but we have both 32-bit systems and 64-bit systems that we'd like to be able to run these on. For the C++ Composer, when I use the installer, it installs copies of all binaries in 32-bit and 64-bit directories (icpc, idbc, even idb).
If I install vtune on a 32-bit machine, I get the 32-bit amplxe-cl as well as the amplxe-gui. When I install vtune on a 64-bit machine, I get 64-bit amplxe-cl and amplxe-gui, but only the 32-bit amplxe-cl (i.e. no 32-bit amplxe-gui). Why not? It's clearly in the installer, and I want to be able to run it from a 32-bit machine.
I can't install a second copy on top, from a 32-bit machine, because the installer tells me it's already there. The best I've come up with is to just copy the binary in, but there are also a number libraries and things that aren't getting installed, either. I guess I just don't understand why the installer does things differently for vtune than for the compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess that GUI components for VTune are implemented by 64bit code & library, that is why only 64bit amplxe-gui under bin64.
If you have 32bit applications to be profiled in 64bit machine, 64bit amplxe-gui still can be used to analyze your 32bit applications.
VTune doesn't support over-installing the product - both for 32bit machine and 64 bit machine. AndVTune doesn't supportto profile64bit applications in 32bit application.
Regards, peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I already mentioned, I'm not trying to profile any applications across different architectures. However, I do want to be able to profile 32-bit applications (on 32-bit machines) and 64-bit applicationes (from 64-bit machines) using the same install of vtune (on NFS), so that we don't have to mainain two separate installs.
When I install vtune from a 32-bit machine, I get the 32-bit version of the gui, command-line tools, and libraries. When I install vtune from a 64-bit machine, I get the 64-bit version of the gui, command-line tools, and libraries, but only the 32-bit version of the command-line tools, and a subset of the libraries. Some of the 32-bit libraries are missing, and the 32-bit gui is nowhere to be found. Clearly the installer has the 32-bit version of the gui and libraries, as they get instaled when on a 32-bit machine, but I don't understand why they don't get installed on a 64-bit install.
Compare this to the compiler toolchain installer, where the installer installs both copies of everything (libraries, gui binaries and command-line binaries) when installed from a 64-bit system. It might even install everything when run from a 32-bit system, but I don't feel like uninstalling so that I can test reinstalling right now.
So I'll ask my question again - why do the installers work so differently, and how can I get both copies of the binaries using an approved method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The temp workaround is to use command line (32bit), then display resultsin 64bit machine.
I will send this feature request to engineering team, and post any progress later.
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One final question on a related note - is there some similar flag I can use to get side-by-side installs of different versions (tagged with numbers, and symlinked to the most recent), similar to how the Compiler installer does it?
Thanks again.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page