Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5105 Discussions

How to visualize the source location for the performance issue reported in Trace Analyzer for Python

Fleza
Employee
313 Views

Hi, I am using Trace Analyzer with Python code ,but I am not able to view the source location for the performance issue reported in the performance assistant panel:

Fleza_0-1722370463149.png

I added this to my mpiexec command to activate the tracer and exported the PCTRACE but variable, but I cannot see the line number and more details for the source location:

 

export LD_PRELOAD=libVT.so:libmpi.so:libVTfs.so:libVTim.so
export VT_PCTRACE=5
export VT_CHECK_TRACING=on
mpiexec -genv VT_LOGFILE_FORMAT=SINGLESTF -genv VT_LOGFILE_NAME=tracer_result_scatter-array.stf -n 4 -ppn 4 python scatter-array.py

 

 What other configurations do I need to add to access python code details?

Thanks.

 

0 Kudos
3 Replies
yuzhang3_intel
Moderator
276 Views

Let me check and give you an update.

0 Kudos
Jennifer_D_Intel
Moderator
203 Views

Intel Trace Analyzer and Collector (ITAC) only supports C/C++ and Fortran. Since the decision was made to discontinue ITAC, full support for Python was never added. You can use VTune to view Python code though.

More documentation is here:

https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2024-2/mpi-code-analysis.html

https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2024-2/python-code-analysis.html




0 Kudos
Fleza
Employee
182 Views
0 Kudos
Reply