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

Advisor gets stuck while running map

preeth
Novice
1,267 Views

I am trying to run Memory access pattern in Advisor, previously I have used advisor to run roofline and it was fine.

 

I ran Advisor using this command to collect map:

./Advisor --collect map --project-dir ../../../map -- /path_to_my_executable

 

My executable ran fine all test cases passed but advisor gets stuck at loading result.

preeth_0-1724131274809.png

I tried with different advisor version 2023.2.0 and the latest 2024 one both get stuck at the same point.

 

I'd really appreciate it if you could help me. Thank you

 

Labels (1)
0 Kudos
5 Replies
preeth
Novice
1,232 Views

Hi,

 

It took some time nearly an hour, but I got the results. The results turned out to be empty. Then I ran survey first then map, this time the results made sense. One thing I noticed is memory access information was not available for all loops. Does it only record if the loop runs for more than n times?

 

Best Regards

preeth

0 Kudos
yuzhang3_intel
Moderator
1,207 Views

Could you try with one simple example first? like matrix sample.

$ advisor -collect map -- /home/xxx/intel/vtune/samples/matrix/matrix

I use Advisor 2024.2.1, it can work fine.

 

0 Kudos
preeth
Novice
1,203 Views

Thanks for the response.

Map works fine, but if only ran map I am unable to see anything in gui.

If I run survey+map I am able to see memory access patterns for certain loops, so is this the case generally? i.e, we need to run survey first then map.

0 Kudos
yuzhang3_intel
Moderator
1,190 Views

The user needs to choose the correct analysis perspective depending on the workload type, such as vectorization, roofline, threading, etc. The advisor tool will give steps per perspective. For example, if you want to profile threading below, you can get recommended steps.

yuzhang3_intel_0-1724151448059.png

For your case, survey + map is necessary; I think the map should rely on the survey report.

0 Kudos
preeth
Novice
1,185 Views
0 Kudos
Reply