Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4821 Discussions

How to profile miniconda python?

agko
Novice
1,006 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
993 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
978 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
974 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
931 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
923 Views

1) User mode

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

Aleksei_O
Employee
904 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
871 Views

Hi,


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


Regards,

Janani Chandran



agko
Novice
862 Views

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

JananiC_Intel
Moderator
836 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