wiki:cypress/Advisor Brief Tutorial

Version 2 (modified by fuji, 9 years ago) ( diff )

Advisor Brief Tutorial

[fuji@cypress01-040 PSE]$ advixe-cl --collect survey --project-dir ./advi ./ex62s
advixe: Warning: Specifying --search-dir when collecting data is strongly recommended.
advixe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: advixe-cl -r /home/fuji/svn/workshop/PSE/advi/e000/hs000 -command stop.
Number of particle=6560
Time Step=1.602307e-04
Max Steps=1.248200e+04
Data Out at time=1.602307e-04, 1.930000e+00 (sec/step)
advixe: Collection stopped.
advixe: Opening result 24 % Resolving information for `ex62s'
advixe: Warning: Cannot locate debugging symbols for file `/home/fuji/svn/workshop/PSE/ex62s'.
advixe: Opening result 26 % Resolving information for `libc-2.12.so'
advixe: Warning: Cannot locate debugging symbols for file `/lib64/libc-2.12.so'.
advixe: Warning: Cannot locate debugging symbols for file `/lib64/libc-2.12.so'.
advixe: Opening result 99 % done
advixe: Opening result 100 % done                                              
[fuji@cypress01-040 PSE]$
[fuji@cypress01-040 PSE]$ advixe-cl --report survey --project-dir ./advi ./ex62s
advixe: Opening result 25 % done
advixe: Opening result 100 % done
Intel(R) Advisor Command Line Tool
Copyright (C) 2009-2014 Intel Corporation. All rights reserved.
Survey Data version="1.1.0"

  Function Call Sites and Loops       Total Time %   Total Time   Self Time   Source Location
_____________________________________________________________________________________________
                              Total        100.00%      1.9290s          0s
                  __libc_start_main        100.00%      1.9290s          0s
                               main        100.00%      1.9290s          0s       ex62s.c:156
                          Diffusion         99.48%      1.9190s          0s        ex62s.c:38
               __libm_error_support          0.52%      0.0100s     0.0100s
  [loop at ex62s.c:49 in Diffusion]         99.48%      1.9190s          0s        ex62s.c:49
  [loop at ex62s.c:50 in Diffusion]         99.48%      1.9190s     0.4800s        ex62s.c:50
                            DKernel         74.08%      1.4290s     0.2900s        ex62s.c:27
               __libm_error_support          0.52%      0.0100s     0.0100s
                                exp         48.16%      0.9290s     0.5390s
                            _mcount          6.22%      0.1200s     0.1200s
                                exp          4.15%      0.0800s     0.0800s
              [Import thunk mcount]          0.52%      0.0100s     0.0100s
               __libm_error_support         20.22%      0.3900s     0.3700s
 [loop at  in __libm_error_support]          1.04%      0.0200s     0.0200s



advixe: This data has been saved in `/home/fuji/svn/workshop/PSE/advi/e000/hs000/advisor-survey.txt'.
[fuji@cypress01-065 TestCodes]$ icc -g -O3 ex62s.c -I $ADVISOR_XE_2015_DIR/include
[fuji@cypress01-065 TestCodes]$ dvixe-cl --collect suitability --project-dir ./advi ./a.out
-bash: dvixe-cl: command not found
[fuji@cypress01-065 TestCodes]$ advixe-cl --collect suitability --project-dir ./advi ./a.out
advixe: Warning: Specifying --search-dir when collecting data is strongly recommended.
advixe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: advixe-cl -r /home/fuji/svn/workshop/TestCodes/advi/e000/st000 -command stop.
Number of particle=6560
Time Step=1.602307e-04
Max Steps=1.248200e+04
Data Out at time=1.602307e-04, 2.500000e+00 (sec/step)
advixe: Collection stopped.
advixe: Opening result  0 %
advixe: Loading cached program model
advixe: Cache load failed
advixe: Opening result  5 % Resolving information for `a.out'
advixe: Warning: Cannot locate debugging symbols for file `/share/apps/intel_parallel_studio_xe/2015_update1/advisor_xe_2015.1.10.380555/lib64/runtime/libittnotify.so'.
advixe: Warning: Cannot locate debugging symbols for file `/home/fuji/svn/workshop/TestCodes/a.out'.
advixe: Warning: Cannot locate debugging symbols for file `/share/apps/intel_parallel_studio_xe/2015_update1/advisor_xe_2015.1.10.380555/lib64/runtime/libittnotify.so'.
advixe: Opening result  5 % Resolving information for `libc-2.12.so'
advixe: Warning: Cannot locate debugging symbols for file `/lib64/libc-2.12.so'.
advixe: Warning: Cannot locate debugging symbols for file `/lib64/libc-2.12.so'.
advixe: Opening result 49 % Saving the result
advixe: Building program model
advixe: Opening result 49 % Building program model
advixe: Saving program model
advixe: Caching program model
advixe: Opening result 99 % done
advixe: Warning: In location Diffusion - ex62s.c:52: Instances of task 0 are too small. Suitability data may be unreliable.
advixe: Opening result 100 % done                                              [fuji@cypress01-065 TestCodes]$
[fuji@cypress01-065 TestCodes]$ advixe-cl --report suitability --project-dir ./advi ./a.out
advixe: Opening result  0 %
advixe: Loading cached program model
advixe: Opening result 50 % done
advixe: Warning: In location Diffusion - ex62s.c:52: Instances of task 0 are too small. Suitability data may be unreliable.
advixe: Opening result 100 % done
Intel(R) Advisor Command Line Tool
Copyright (C) 2009-2014 Intel Corporation. All rights reserved.
Suitability Data version="1.1.0"


Target CPU Count: 8     Threading Model: Intel(R) Threading Building Blocks (TBB)
Maximum gain for all sites: 0.249263

All Sites
                           Site      Total     Instance
Site   Source Location   Max Gain   Max Gain   Avg Time   Total Time
____________________________________________________________________
   0        ex62s.c:44      0.25x      0.25x     10.03s      2.4851s


Site Details
                                          # of      Instance    Instance    Instance
Type   Label   Site   Source Location   Instances   Max Time    Avg Time    Min Time    Total Time
__________________________________________________________________________________________________
Site       0      0        ex62s.c:44           1     2.4851s     2.4851s     2.4851s      2.4851s
Task       0      0        ex62s.c:52    43033600   < 0.0001s   < 0.0001s   < 0.0001s      2.4826s



Site Options
                                     Benefit   Loss If
Site           Option           Done?   If Done   Not Done   Recommended
________________________________________________________________________
   0     Reduce Site Overhead                                      No
   0     Reduce Task Overhead             1.73x                    No
   0     Reduce Lock Overhead                                      No
   0   Reduce Lock Contention                                      No
   0     Enable Task Chunking             7.69x                   Yes




advixe: This data has been saved in `/home/fuji/svn/workshop/TestCodes/advi/e000/st000/advisor-suitability.txt'.
Note: See TracWiki for help on using the wiki.