Error when using LIKWID: "Access to performance monitoring registers locked"

Error when using LIKWID: "Access to performance monitoring registers locked"

by Joshua Utley -
Number of replies: 1

Hello! 

I've been trying to use LIKWID to profile some of the code for the project. I have attempted, for instance, the following command line argument: 

likwid-perfctr -C 0 -g FLOPS_DP -m  ./perf 100 100

and I get the error 

"Access to performance monitoring registers locked"

I'm pretty new to anything with LIKWID, so it's probably something simple, but why exactly am I getting this error? 

In reply to Joshua Utley

Re: Error when using LIKWID: "Access to performance monitoring registers locked"

by Ayesha Afzal -
Dear Joshua,

Please add '-C hwperf' to your salloc command.

Best regards,
Ayesha