Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1638 Discussions

VTune GUI on a devcloud machine

Utku
Novice
1,018 Views

Hello,

I have several profiling results, which I want to examine  by using VTune GUI (as it provides a lot of options to examine -- which threads, what functions, what source lines, etc.), but I am not able to open VTune GUI on devcloud.  When I type "vtune-gui" on the terminal, I receive the following error:

vtune-gui: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

Can I use VTune GUI on the devcloud? If so, how?

Thank you very much,

Regards,

Utku

0 Kudos
1 Solution
JananiC_Intel
Moderator
1,008 Views

Hi,


Thanks for posting in Intel forums.


For running VTune on the DevCloud, note the following:


1)VTune can’t be used with a GUI. This is by design and not a bug.

2)The Intel DevCloud is a cluster with no windows subsystem – much like any other HPC cluster out there.

3)You can also use VTune APS “aps <command>” instead of the full vtune. This gives you a performance snapshot.


Another method is Vtune Webserver Interface.


For your information the web server interface helps you quickly get started with the tool since you do not need to install VTune Profiler as a desktop application on every client system. You can use the VTune Profiler Server to configure and control analysis on arbitrary target systems and view collected results.


To run via webserver follow the below steps:


1)Start Vtune Profiler Server

<vtune-install-dir>/bin64/vtune-backend (or) vtune-backend --web-port=8080


2)After running the above command you will get a URL.If you are running it for the first time then your URL will have a one-time token like below

Serving GUI at https://127.0.0.1:64880?one-time-token=0160852eeff593e0ab0a0f90991b4efa


3)You can open the URL in browser on your local machine. In devcloud, you may need to do two-way tunneling to open the URL. 


4)For two way tunneling , open a new prompt and tunnel to login node of the Devcloud using the below command


ssh -L 8880:localhost:8880 devcloud_proxy


Then, tunnel to compute node as 


ssh -L 8880:localhost:8880 s001-n058


Where,


devcloud_proxy :- Host name


8880 :- Port in which vtune web sever is running


s001-n058:- compute node in which your vtune web server has started


5)Set a passphrase in the Set Passphrase dialog box.


For further reference you can use the below link

https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/launch/web-server-ui.html


Hope this helps!


Regards



View solution in original post

0 Kudos
2 Replies
JananiC_Intel
Moderator
1,009 Views

Hi,


Thanks for posting in Intel forums.


For running VTune on the DevCloud, note the following:


1)VTune can’t be used with a GUI. This is by design and not a bug.

2)The Intel DevCloud is a cluster with no windows subsystem – much like any other HPC cluster out there.

3)You can also use VTune APS “aps <command>” instead of the full vtune. This gives you a performance snapshot.


Another method is Vtune Webserver Interface.


For your information the web server interface helps you quickly get started with the tool since you do not need to install VTune Profiler as a desktop application on every client system. You can use the VTune Profiler Server to configure and control analysis on arbitrary target systems and view collected results.


To run via webserver follow the below steps:


1)Start Vtune Profiler Server

<vtune-install-dir>/bin64/vtune-backend (or) vtune-backend --web-port=8080


2)After running the above command you will get a URL.If you are running it for the first time then your URL will have a one-time token like below

Serving GUI at https://127.0.0.1:64880?one-time-token=0160852eeff593e0ab0a0f90991b4efa


3)You can open the URL in browser on your local machine. In devcloud, you may need to do two-way tunneling to open the URL. 


4)For two way tunneling , open a new prompt and tunnel to login node of the Devcloud using the below command


ssh -L 8880:localhost:8880 devcloud_proxy


Then, tunnel to compute node as 


ssh -L 8880:localhost:8880 s001-n058


Where,


devcloud_proxy :- Host name


8880 :- Port in which vtune web sever is running


s001-n058:- compute node in which your vtune web server has started


5)Set a passphrase in the Set Passphrase dialog box.


For further reference you can use the below link

https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/launch/web-server-ui.html


Hope this helps!


Regards



0 Kudos
JananiC_Intel
Moderator
985 Views

Hi,

Thank you for accepting the solution. If you need any additional information, please submit a new question as this thread will no longer be monitored.

Regards,

Janani Chandran

0 Kudos
Reply