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.
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?
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 ?
- 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.
Thank you for posting in Intel Communities.
- 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:
You can refer the below link to know more about different formats to save command line reports: