- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) User mode
2) Just Python internal output, no lines from my .py script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you try Aleksei_O's suggestion?Do you have any update?
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Installing the newest Vtune solved the problem. Thank you for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page