- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have gone through the roofline example. It is simple code. I have a number of processes running on Ubuntu. Some of these processes are C/C+ code with Python wrapper. I have tries setting the target to a PID. On running Survey Target the GUI shows a spinning circle indefinitely - does not stop even after hours. What is the correct way ? Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, sg
If you attach the tool to the process (which runs infinitely), then the tool will run infinitely as well. To finish profiling you have to either detach from process or to stop the process itself. To "detach" the process in GUI - you could use "stop" button on Advisor Workflow, see attached screenshot with explanation.
Note also that if you use attach-to-process mode, then you have to use Survey+TripCounts profiling steps as opposed to simply "Run Roofline" button/command. Those methods to run Roofline anlaysis are described at : https://software.intel.com/en-us/articles/intel-advisor-roofline
And so if using GUI you'll have to (1) attach for Survey, (2) Stop for Survey, (3) attach to for TripCounts/FLOPS step, (4) Stop TripCounts/Flops and you should ideally make sure that Survey and Tripcounts were running against the same execution phase of your code.
If you can use "launch application" mode, then it is simpler - you just do "Run Roofline" and that's it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be great to see an example of how to do this with the command line interface.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page