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

How to profile miniconda python?

agko
Novice
511 Views

Profiling a test script test.py with /usr/bin/python works fine, however if I want to profile the same script with /home/myname/miniconda/envs/myenv/bin/python, the test script is not executed and thus not profiled.

I would be thankful for any ideas to make this work!

Labels (1)
0 Kudos
9 Replies
Aleksei_O
Employee
498 Views

Hello agko,

Thanks for your question.

What python version did you use in both cases?

What analysis did you run?

What are symptoms in case when script is not exuceted? Any warning, error in the output?

 

Regards,

Aleksei.

agko
Novice
483 Views

Thanks for the reply, @Aleksei_O .

usr: python3.6

miniconda3: python3.8

Hotspots Analysis

No, errors. In "Top-Down Tree" the miniconda python Versions, does not get past the _start function.

agko
Novice
479 Views

I just tried with usr python3.8 and the analysis does not get past the _start function. I guess you were asking for the python version, because 3.8 might be problematic...?

Aleksei_O
Employee
436 Views

Let me ask you more details

1) Have you ran User-Mode or HW Event based Hotspots analysis?

2) If you switch to Bottom-up tab, can you see the python code from your workload?

agko
Novice
428 Views

1) User mode

2) Just Python internal output, no lines from my .py script.

Aleksei_O
Employee
409 Views

Thanks for your reply.

Let me know which version of VTune did you use?

Please try using the newest VTune and let me know about results.

JananiC_Intel
Moderator
376 Views

Hi,


Did you try Aleksei_O's suggestion?Do you have any update?


Regards,

Janani Chandran



agko
Novice
367 Views

Installing the newest Vtune solved the problem. Thank you for the help!

JananiC_Intel
Moderator
341 Views

Hi,


Glad to know that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored.


Regards,

Janani Chandran


Reply