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

Using Vtune-Amplifier as "non-root" user on linux?

Sanath_Jayasena
Beginner
552 Views
I installed as root (using sudo) Amplifier XE2011 update 7 on Ubuntu 11.10 successfully. I couldn't find in docs on whether it is recommended to use the software as root (e.g., to launch "amplxe-gui" as "root")?

I indeed tried as a normal user and it seems to start, but just want to make sure before I go into a project.

I prefer to run as a non-root user.

Hope this can be clarified.
0 Kudos
3 Replies
Peter_W_Intel
Employee
552 Views
You can launch "sudo amplxe-gui" or "amplxe-gui" directly. If you use second case, my opinion is to add user-name into "vtune" group first.

Regards, Peter
0 Kudos
Sanath_Jayasena
Beginner
552 Views
Hi Peter,

There is no "vtune" group on my system. Is it created during the installation automatically? What do you suggest that I do about it now?
0 Kudos
Peter_W_Intel
Employee
552 Views
"vtune" group will be automatically created during installation, I don't know whyyou can't see this.

You can do this after installing the product: (under sudo)
1.cd /opt/intel/vtune_amplifier_xe_2011/sepdk/src/
2. ./rmmod_sep3
3. ./rmmod pax
4. groupadd sep_vtune
5. ./build_driver
6. ./insmod-sep3 -g sep_vtune (if don't do step 4, without "-g" option to create "vtune" group default)
7. add /append your user account to"/etc/group"
sep_vtune:x:510:peter

Now log on your account on other console,

login as: peter
password:
Last login: Sun Mar 18 03:07:12 2012 from zwang14-mobl2.ccr.corp.intel.com
[peter@snb01 ~]$ source /opt/intel/vtune_amplifier_xe_2011/amplxe-vars.sh
Copyright (C) 2009-2011 Intel Corporation. All rights reserved.
Intel VTune Amplifier XE 2011 (build 206420)
[peter@snb01 ~]$ amplxe-cl -collect lightweight-hotspots -duration 5
Using result path `/home/peter/r000lh'
Executing actions 75 % Generating a report
Summary
-------

Elapsed Time: 4.996
Executing actions 100 % done
[peter@snb01 ~]$

Regards, Peter

0 Kudos
Reply