I tried running through the CLI mode, and had the same problems. It would be really great if you could install the required packages, as Vtune offers a lot in terms of performance analysis that can't be done any other way on the MIC. I understand the desire to keep the install bloat to a minimum, but Vtune is pretty essential to working with the MIC. I'm really in the dark as to what's going on with my application without being able to use Vtune, as even simple things like grpof don't work on there.
jtramm@lucie:~/SimpleMOC-kernel/src/cpu$ export INTEL_LICENSE_FILE=28518@ftsn2
jtramm@lucie:~/SimpleMOC-kernel/src/cpu$ source /soft/compilers/intel/vtune_amplifier_xe/amplxe-vars.sh
Copyright (C) 2009-2014 Intel Corporation. All rights reserved.
Intel(R) VTune(TM) Amplifier XE 2015 (build 380310)
jtramm@lucie:~/SimpleMOC-kernel/src/cpu$ amplxe-cl -collect advanced-hotspots -target-system=mic-native:0 -- /home/jtramm/SimpleMOC-kernel/src/cpu/SimpleMOC-kernel
amplxe: Using target: mic-native:0
amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /home/jtramm/SimpleMOC-kernel/src/cpu/r001ah -command stop.
amplxe: Collection stopped.
amplxe: Using result path `/home/jtramm/SimpleMOC-kernel/src/cpu/r001ah'
amplxe: Executing actions 16 % Resolving module symbols
amplxe: Locating file `/usr/lib/debug/lib/modules/
2.6.38.8+mpss3.4.2/vmlinux' on the remote system
amplxe: Locating file `/boot/vmlinuz-2.6.38.8+mpss3.4.2' on the remote system
amplxe: Locating file `vmlinux-2.6.38.8+mpss3.4.2' on the remote system
amplxe: Locating file `/boot/vmlinuz' on the remote system
amplxe: Executing actions 16 % Resolving information for `
ld-2.14.90.so'
amplxe: Executing actions 17 % Resolving information for `
ld-2.14.90.so'
amplxe: Locating file `intel_micveth.ko' on the remote system
amplxe: Warning: Cannot locate file `/usr/lib/debug/lib/modules/
2.6.38.8+mpss3.4.2/vmlinux'.
amplxe: Executing actions 18 % Resolving information for dangling locations
amplxe: Warning: Cannot locate file `intel_micveth.ko'.
amplxe: Executing actions 18 % Resolving information for `libgnutls.so.26.22.0'
amplxe: Warning: Cannot locate debugging symbols for file `/tmp/amplxe-tmp-jtramm/modules.mic-native_0/libgnutls.so.26.22.0/9d99eae1cacffaa3f20e5a2312f69282/libgnutls.so.26.22.0'.
amplxe: Executing actions 18 % Resolving information for `libgcrypt.so.11.7.0'
amplxe: Warning: Cannot locate debugging symbols for file `/tmp/amplxe-tmp-jtramm/modules.mic-native_0/libgcrypt.so.11.7.0/587958b33eac1b807e852f640262da62/libgcrypt.so.11.7.0'.
amplxe: Executing actions 19 % Resolving information for `sshd'
amplxe: Warning: Cannot locate debugging symbols for file `/tmp/amplxe-tmp-jtramm/modules.mic-native_0/sshd/4354ab1d5cd53de91c85d8abe4000899/sshd'.
amplxe: Executing actions 19 % Resolving information for `libcrypto.so.1.0.0'
amplxe: Warning: Cannot locate debugging symbols for file `/tmp/amplxe-tmp-jtramm/modules.mic-native_0/libcrypto.so.1.0.0/2fc14f872d9ca6c49501676046029554/libcrypto.so.1.0.0'.
amplxe: Executing actions 20 % Resolving information for `libtasn1.so.3.1.13'
amplxe: Warning: Cannot locate debugging symbols for file `/tmp/amplxe-tmp-jtramm/modules.mic-native_0/libtasn1.so.3.1.13/0ba82903ca399644d103aed874e3ba7c/libtasn1.so.3.1.13'.
amplxe: Executing actions 50 % Generating a report
General Exploration Metrics
---------------------------
Parameter r001ah
-------------------- ---------
CPU Time 0.300
Clockticks 372000558
Instructions Retired 95333238
CPI Rate 3.902
Cache Usage 0.0
Vectorization Usage 0.0
TLB Usage 0.0
Collection and Platform Info
----------------------------
Parameter r001ah
------------------------ -----------------------------------------------------------------
Application Command Line /home/jtramm/SimpleMOC-kernel/src/cpu/SimpleMOC-kernel
User Name jtramm
Operating System Intel MIC Platform Software Stack (Built by Poky 7.0) 3.4.2 \n \l
Result Size 2272316
CPU
---
Parameter r001ah
----------------- --------------------------
Name Intel Xeon Phi coprocessor
Frequency 1238000000
Logical CPU Count 244
Summary
-------
Elapsed Time: 0.392
CPU Time: 0.300
Average CPU Usage: 0.548
CPI Rate: 3.902
Event summary
-------------
Hardware Event Type Hardware Event Count:Self Hardware Event Sample Count:Self Events Per Sample
--------------------- ------------------------- -------------------------------- -----------------
CPU_CLK_UNHALTED 372000558 186 2000003
INSTRUCTIONS_EXECUTED 95333238 77 1238094
amplxe: Executing actions 100 % done