- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I am facing problem for doing VTUNE analysis for one of my application on MIC. i have already done VTUNE analysis of this application on xeon but want to do for xeon phi also to identify what are hotspots which are taking more time for xeon phi, as the compute time for optimized application is very less on xeon as compare to xeon phi.
when i am trying to do VTUNE analysis this error comes.
" /home/opt/ICS-2013.1.039-intel64/vtune_amplifier_xe_2013/bin64/amplxe-cl: line 1: syntax error: unexpected "(" "
the commad i used in pbs is
mpirun -configfile config_file
where config_file is generated like this (here node name will be node no. which i get in queue).
-host <<nodename>>-mic0 -n 1 -env KMP_LIBRARY turnaround -env KMP_BLOCKTIME infinite -env KMP_STACKSIZE 64m amplxe-cl -collect knc-hotspots -result-dir ./vtune ./SeisXeon.Reduce.MIC.MPIC.Dump ./T16.Intel.15June.3x.TTL98.job
(Souce for amplxe-vars is done before amplxe-cl command)
without VTUNE application runs for MIC but when try to do VTUNE analysis above error comes.
so please provide any suggestions and tell if any changes are required to do in pbs file
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Since vtune does not have amplxe-cl on MIC card the collection should be launched on the host that contains the card let me check if one of the following options can help (assuming that you use VTune Amplifier XE 2013 Update X).
>amplxe-cl -collect knc-hotspots -result-dir ./vtune mpirun -host <<nodename>>-mic0 -n 1 -env KMP_LIBRARY turnaround -env KMP_BLOCKTIME infinite -env KMP_STACKSIZE 64m ./SeisXeon.Reduce.MIC.MPIC.Dump ./T16.Intel.15June.3x.TTL98.job
(assuming that the application to launch under MPI is /SeisXeon.Reduce.MIC.MPIC.Dump and ./T16.Intel.15June.3x.TTL98.job is a parameter.
Or you can run mpirun natively on the card and in this case the CL on the host will be something like:
>amplxe-cl -collect knc-hotspots -result-dir ./vtune ssh mic0 mpirun -n 1 -env KMP_LIBRARY turnaround -env KMP_BLOCKTIME infinite -env KMP_STACKSIZE 64m ./SeisXeon.Reduce.MIC.MPIC.Dump ./T16.Intel.15June.3x.TTL98.job
In VTune Amplifier XE 2015 we also have a bit changed syntax though this one will also work with deprication warning.
Thanks & Rgeards, Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Dmitry sir for your valuable reply. I run the application with changed command, now VTUNE result is collecting but another error is coming
"ERROR connecting to MIC card, make sure sep_mic_server is running on the card, retrying connection..."
so i wanted to know whether it is system side problem or any other? because without VTUNE, MPIRUN command works properly. I already mailed this query to our support team, so please guide to solve this further issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashutosh,
Intel VTune Amplifier XE requires the SEP driver in order to run the analysis on a system. This applies for the Intel Xeon Phi coprocessor as well. In your case, It seems that the SEP driver is not running on the coprocessor.
You can check if the SEP driver is load on the coprocessor by running the following command on the coprocessor:
[bash]
[snaik5@orspt-le64-87-mic0:~]
$ lsmod | grep sep
sep3_15 45337 0
[/bash]
If you do not see a SEP driver running then you can load the SEP driver by going to <Intel VTune Amplifier XE Install Dir>/bin64/k1om/ and running the following:
[bash]
-bash-4.1$ cd /opt/intel/vtune_amplifier_xe_2015/bin64/k1om/
-bash-4.1$ sudo ./micboot_install.sh
SEP configuration files have been successfully installed in the configuration directory.
Please run "service mpss restart" to start the SEP service.
itt successfully installed.
Please restart mpss service.
_amplxe_vtune_amplifier_xe_2015.1.1.380310 successfully installed.
Enabling prebuild driver installation.
vtsspp driver is ready to install.
vtsspp driver successfully installed for group "500".
Restart Intel Manycore Platform Software Stack (MPSS) to complete installation.
sudo service mpss restart[/bash]
-Sumedh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page