Dear Ptfs team,
I ran the same code from last assignment, and now I am getting a new error. LIKWID_MARKER_CLOSE is given in the template.
I used the following commands:
icx $LIKWID_INC -O3 -xHost -fno-alias $LIKWID_LIB -DLIKWID_PERFMON source.c timing.o -llikwid
likwid-perfctr -C 0 -m -g ENERGY ./a.out
--------------------------------------------------------------------------------
CPU name: Intel(R) Xeon(R) Platinum 8360Y CPU @ 2.40GHz
CPU type: Intel Icelake SP processor
CPU clock: 2.39 GHz
--------------------------------------------------------------------------------
Usage: ./a.out <size>
--------------------------------------------------------------------------------
Marker API result file does not exist. This may happen if the application has not called LIKWID_MARKER_CLOSE.
The given template was used which has LIKWID_MARKER_CLOSE. Anyway to resolve this error?
Thanks
-Srinivas