Skip to content

Commit

Permalink
Fix wrong environment variable in libnvctr
Browse files Browse the repository at this point in the history
Probably a leftover of a previous environment variable change.
With the old name likwid-perfctr always failed to find the results of an
NVMON run.
  • Loading branch information
ipatix committed Nov 15, 2024
1 parent 2fe8ec2 commit 86d41f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libnvctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void nvmon_markerClose(void) {
return;
}
nvmon_stopCounters();
markerfile = getenv("LIKWID_GPUFILEPATH");
markerfile = getenv("LIKWID_NVMON_FILEPATH");
if (markerfile == NULL) {
fprintf(stderr, "Is the application executed with LIKWID wrapper? No file "
"path for the GPU Marker API output defined.\n");
Expand Down

0 comments on commit 86d41f6

Please sign in to comment.