- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
Lien copié
5 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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 ?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Are you using Windows or Linux?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
@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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable