- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am running an OpenMP code on the Intel Xeon Phi. I want to profile the code using VTune amplifier on Stampede to find out the number of loop iterations and the number of distinct array accesses for each loop. I couldn't find the related events anywhere. I want to use the command line interface of VTune so that I can use VTune GUI installed in my local system to see the results in GUI. Can you kindly help me with the appropriate command ?
Thanks in advance !!!
Regards
Jagannath
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Based your requirements , probably you need to insert Frame APIs in code, there is an old article for your references.
Also, please use online helper to check if there is any API change from 2011 version to 2015.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply Mr. Peter. I tried to insert Frame APIs in the code and followed all the steps given in the VTune Amplifier's user guide for compiling and linking with ITT APIs but I got the following errors :
undefined reference to `__itt_domain_create_ptr__3_0'
In function `L_compute_302__par_region1_2_147':
undefined reference to `__itt_frame_begin_v3_ptr__3_0'
undefined reference to `__itt_frame_end_v3_ptr__3_0'
I found the ittnotify.h library in (installation directory of VTune)/include. I even copied the file to my current directory and used #include"ittnotify.h" as well, but still I am unsuccessful in compiling.
However, by using Frame APIs I can get details like time taken by a specific part of a code. Is it possible to get the number of distinct array references by any means ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using Windows or Linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Jagannath V
It seemed that you had problem to build program with Frame APIs.
Please see my notes in this old article - just added command line to build example code which used Frame APIs.
It passed VTune test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jagannath,
I'm afraid that there is no a simple way to collect by VTune disctinct array accesses for a piece of code on Xeon Phi.
What is the end goal of the analysis? Probably we can use other methods to get the results?
Thanks & Regards, Dmitry
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page