Marker API result file does not exist

Marker API result file does not exist

by Laxmi Srinivas Vellala -
Number of replies: 2

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

In reply to Laxmi Srinivas Vellala

Re: Marker API result file does not exist

by Georg Hager -

Dear Srinivas,

the output says it all:

Usage: ./a.out <size>

This means that  the program terminated itself because it expects a command line argument, which was not provided.

Best,

Georg.