- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run vtune on host, and there are warnings "amplxe: Warning: Cannot locate debugging symbols for file `/lib64/libc-2.12.so' " and ".amplxe: Warning: Cannot locate debugging symbols for file `/usr/bin/ssh' "
The program run on xeon phi mic.
Does the warnnings have infulence to the result? why this happen as the xxx.so is just there?
[root@amax inputs]# amplxe-cl -collect hotspots -- ssh mic1 ' cd /home/wang/ && export LD_LIBRARY_PATH=/home/wang/lib && ./blackscholes 240 '
amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /home/wang/r006hs -command stop.
PARSEC Benchmark Suite
Num of Options: 10000000
Num of Runs: 100
Size of data: 400000000
amplxe: Collection stopped.
amplxe: Using result path `/home/kwang/parsecMIC/blackscholes/inputs/r006hs'
amplxe: Executing actions 17 % Resolving information for `ssh'
amplxe: Warning: Cannot locate debugging symbols for file `/usr/bin/ssh'.
amplxe: Executing actions 17 % Resolving information for `libc-2.12.so'
amplxe: Warning: Cannot locate debugging symbols for file `/lib64/libc-2.12.so'.
amplxe: Executing actions 50 % Generating a report
Collection and Platform Info
----------------------------
Parameter r006hs
------------------------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
Application Command Line ssh "mic1" " cd /home/wang/ && export LD_LIBRARY_PATH=/home/wang/lib && ./blackscholes 240 "
Operating System 2.6.32-358.23.2.el6.x86_64 CentOS release 6.4 (Final)
Computer Name amax
Result Size 1877228
Collection start time 02:58:23 23/04/2015 UTC
Collection stop time 03:01:39 23/04/2015 UTC
CPU
---
Parameter r006hs
----------------- -----------------------------
Name Intel(R) Xeon(R) E5 processor
Frequency 2400001403
Logical CPU Count 8
Summary
-------
Elapsed Time: 196.416
CPU Time: 0.020
Average CPU Usage: 0.000
amplxe: Executing actions 100 % done
[root@amax inputs]# locate libc-2.12.so
/lib/libc-2.12.so
/lib/i686/nosegneg/libc-2.12.so
/lib64/libc-2.12.so
[root@amax inputs]#
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. You need to specify search path that VTune will re-solve the symbol for result, based on path (on host side)
2. Basic hotspots is not available on MIC, please use advanced-hotspots instead.(Now your result wass for Intel(R) Xeon(R) E5 processor)
3. Please use latest VTune Amplifier XE 2015 U3.
For example:
amplxe-cl -c advanced-hotspots -target-system=mic-native:1 -search-dir=$dir -- path-program args
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can ignore warning info that the tool cannot locate symbol info on some modules, like glibc.
Using above CLI, you don't need to specify "ssh" - although that was workable in 2013 version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter Wang (Intel) wrote:
1. You need to specify search path that VTune will re-solve the symbol for result, based on path (on host side)
2. Basic hotspots is not available on MIC, please use advanced-hotspots instead.(Now your result wass for Intel(R) Xeon(R) E5 processor)
3. Please use latest VTune Amplifier XE 2015 U3.
For example:
amplxe-cl -c advanced-hotspots -target-system=mic-native:1 -search-dir=$dir -- path-program args
Thanks for your allert! I didn't notice the basic hotspots not workable.
I use advanced-hotspots instead, and can see event summary when finished:
Event summary
-------------
Hardware Event Type Hardware Event Count:Self Hardware Event Sample Count:Self Events Per Sample
------------------------ ------------------------- -------------------------------- -----------------
CPU_CLK_UNHALTED.THREAD 40800000 17 2400000
CPU_CLK_UNHALTED.REF_TSC 76800000 32 2400000
INST_RETIRED.ANY 38400000 16 2400000
amplxe: Executing actions 100 % done
-----------------------
(Now your result wass for Intel(R) Xeon(R) E5 processor)
what does this mean? It's host. I'm sure the program runs on MIC with 240 threads.
--------
where do I find more information about using amplxe-cl to test a program on MIC?
-------
[root@amax inputs]# amplxe-cl -collect advanced-hotspots -target-system=mic-native:1 -search-dir=/home/wang/blackscholes -- ' cd /home/kwang/blackscholes && export LD_LIBRARY_PATH=/home/wang/lib && ./blackscholes 240 ../inputs/in_10M.txt ../ouput'
amplxe: Using target: mic-native:1
amplxe: Error: Amplifier cannot detect Intel Xeon Phi coprocessor configuration.
amplxe: Error: Amplifier cannot detect Intel Xeon Phi coprocessor configuration.
amplxe: Fatal error: Cannot create analysis type. Check input parameters or reinstall the product.
I used vtune_amplifier_xe_2015.2.0.393444, the command without ssh is failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, my opinion is to write a script for - ' cd /home/kwang/blackscholes && export LD_LIBRARY_PATH=/home/wang/lib && ./blackscholes 240 ../inputs/in_10M.txt ../ouput'
Second, ensure if VTune works on MIC without target application:
#amplxe-cl -collect advanced-hotspots -target-system=mic-native -d 5 ; are you sure that you use mic1?
If failed, need to check if vtune driver is loaded on MIC:
ssh mic1 lsmod | grep sep
If vtune driver is not loaded, please run:
vtune_amplifier_xe_2015/bin64/k1om/sep_micboot_install.sh
If it failed, check MPSS status
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>amplxe: Using target: mic-native:1
>amplxe: Error: Amplifier cannot detect Intel Xeon Phi coprocessor configuration.
>amplxe: Error: Amplifier cannot detect Intel Xeon Phi coprocessor configuration.
>amplxe: Fatal error: Cannot create analysis type. Check input parameters or reinstall the product.
You also need to check if app can run on MIC, without VTune.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter Wang (Intel) wrote:
>amplxe: Using target: mic-native:1
>amplxe: Error: Amplifier cannot detect Intel Xeon Phi coprocessor configuration.
>amplxe: Error: Amplifier cannot detect Intel Xeon Phi coprocessor configuration.
>amplxe: Fatal error: Cannot create analysis type. Check input parameters or reinstall the product.You also need to check if app can run on MIC, without VTune.
As you can see, using "ssh mic1" works. I'm sure it run on MIC, as I saw it running with 240 threads using Micsmc command on MIC.
#amplxe-cl -collect hotspots -- ssh mic1 ' cd /home/wang/ && export LD_LIBRARY_PATH=/home/wang/lib && ./blackscholes 240 '
Without Vtune,
#ssh mic1
#./blackscholes 240 input/in_10M.txt ouput
app can run on MIC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter Wang (Intel) wrote:
First, my opinion is to write a script for - ' cd /home/kwang/blackscholes && export LD_LIBRARY_PATH=/home/wang/lib && ./blackscholes 240 ../inputs/in_10M.txt ../ouput'
Second, ensure if VTune works on MIC without target application:
#amplxe-cl -collect advanced-hotspots -target-system=mic-native -d 5 ; are you sure that you use mic1?
If failed, need to check if vtune driver is loaded on MIC:
ssh mic1 lsmod | grep sep
If vtune driver is not loaded, please run:
vtune_amplifier_xe_2015/bin64/k1om/sep_micboot_install.sh
If it failed, check MPSS status
Good luck!
#ssh mic1 lsmod | grep sep; displays nothing. The vtune driver seems didn't installed on MIC.
It seems that using "amplxe-cl" with "ssh mic1" can get a result. Do I have to install vtune driver on MIC or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You won't get any data collection from code running in MIC without engaging the VTune driver there. Profiling what happens on host during a MIC native run isn't interesting.
With current VTune, you should be able to collect using both the MIC and the host sep drivers in the same run (although it didn't work for me, on my hardware which may no longer be supported).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim Prince wrote:
You won't get any data collection from code running in MIC without engaging the VTune driver there. Profiling what happens on host during a MIC native run isn't interesting.
With current VTune, you should be able to collect using both the MIC and the host sep drivers in the same run (although it didn't work for me, on my hardware which may no longer be supported).
Thanks.
I realised how foolish I am. What I got is something that happened on host.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page