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

How to profile miniconda python?

agko
Novice
1,552 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
1,539 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.

0 Kudos
agko
Novice
1,524 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.

0 Kudos
agko
Novice
1,520 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...?

0 Kudos
Aleksei_O
Employee
1,477 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?

0 Kudos
agko
Novice
1,469 Views

1) User mode

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

0 Kudos
Aleksei_O
Employee
1,450 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.

0 Kudos
JananiC_Intel
Moderator
1,417 Views

Hi,


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


Regards,

Janani Chandran



0 Kudos
agko
Novice
1,408 Views

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

0 Kudos
JananiC_Intel
Moderator
1,382 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


0 Kudos
Reply