Access to performance monitoring registers locked

Access to performance monitoring registers locked

by Md Muztaba Ahbab -
Number of replies: 2
Dear PTfS-team,
In assignment 6, question no. 2 whenever I tried to compile and run my file I am facing the following error:
"

ptfs138h@f0966:~/GettingStarted$ likwid-perfctr -C 0 -m -g MEM_DP ./a.out

--------------------------------------------------------------------------------

CPU name: Intel(R) Xeon(R) Platinum 8360Y CPU @ 2.40GHz

CPU type: Intel Icelake SP processor

CPU clock: 2.39 GHz

ERROR - [./src/perfmon.c:perfmon_init:1887] Access to performance monitoring registers locked

"

In that case how can I get rid off this ERROR?
In reply to Md Muztaba Ahbab

Re: Access to performance monitoring registers locked

by Thomas Gruber -
Hi,

request your job with '-C hwperf' to get access to the performance monitoring registers.

Best,
Thomas