Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)

User Tasks with VTune & MPI

bflynt1
Beginner
504 Views

I've got a complex MPI application which I've added ITT Notify user tasks into.  Everything compiles and executes through the user defined task regions (__itt_task_begin & __itt_task_end) but they do not display within the GUI.

In an effort to diagnose the issue, I created a simple application using MPI and everything works as expected and displays within the GUI.  So now I'm left trying to get it to work on this complex code. Hopefully you can answer some questions in my effort to figure out the cause.

 

1.

The application currently complains during shutdown because an external library I'm linking with tries an MPI_Type_free() after MPI_Finalize.  This is well after all matching user defined __itt_task_begin/end calls and does not impact the collection/display of standard VTune data.  Is there something special about user defined tasks that would prohibit them from collection & display if MPI terminates badly? 

 

2.

Is there a way to generate a text report on user defined tasks without using the GUI to see if the issue is collection or the GUI ?

 

System:

- Linux

- GCC 11.1.0

- OpenMPI 4.1.1

- VTune 2021.5.0

 

I do compile and link using the "-gdwarf-4" flag as previously discussed here.

https://community.intel.com/t5/Analyzers/VTune-does-not-show-source-file-even-with-debugging-info-en...

 

Thanks

 

0 Kudos
3 Replies
AthiraM_Intel
Moderator
461 Views

Hi,


Thank you for posting in Intel Communities.


  1. Regarding the first question: To understand more about the issue that you are facing , can you share the sample reproducer and the exact steps to reproduce the issue.


2. Question: Is there a way to generate a text report on user defined tasks without using the GUI to see if the issue is collection or the GUI ?


Answer: You can use command line to generate reports.


Use the following syntax to generate a report from the command line:


vtune report <report_type> -result-dir <result_path> [report_options]


You could refer the below documentation for more details:


https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/...



You can refer the below link to know more about different formats to save command line reports:


https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/...



Thanks.



AthiraM_Intel
Moderator
393 Views

Hi,


I have not heard back from you. Could you please give us an update?



Thanks.


AthiraM_Intel
Moderator
362 Views

Hi,


I have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question. 



Thanks.


Reply