I'm experimenting with Vtune Amplifier XE 2013 trial edition on Linux and I have a basic question that I can't seem to find the answer to anywhere.
My application must run as an appropriate non-root user. I installed the eval version as root (it was recommended) and now it seems that I can only run the GUI or the command-line tool as root - I can't even access the install dir as a non-root user. The problem now though is that I cannot find a way to successfully attach to my application's process - when I try to start an analysis that way I get this (in the GUI as well as CL):
# /opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl -collect hotspots --target-pid 22103
amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /opt/intel/vtune_amplifier_xe_2013/bin64/r001hs -command stop.
amplxe: Error: Data collection is interrupted because credentials of the target process and VTune Amplifier do not match. Please start both target process and VTune Amplifier with the credentials of the same user and try collecting data again.
amplxe: Internal Error
I also get this if I do "sudo <command above>".
How do I get this to work?
BTW, I can do system-wide profiling, but I'm limited in the types of analysis I can do - in particular I cannot collect stacks when doing system wide profiling which is very important to me.