I am trying to use likwid 5.2.1 (commit: 233ab943543480cd46058b34616c174198ba0459) with a Tesla P100-PCIE-16GB without success.
I have a simple test program (attached) that runs fine without activating the markers, otherwise I get the following error.
likwid-perfctr -G 0 -W FLOPS_DP -m ./daxpy.x
--------------------------------------------------------------------------------
CPU name: Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz
CPU type: Intel Xeon Haswell EN/EP/EX processor
CPU clock: 2.60 GHz
--------------------------------------------------------------------------------
Error: function (*cudaFreePtr)(NULL) failed with error 46.
ERROR - [./src/nvmon.c:nvmon_addEventSet:468] Bad address.
Failed to add event set for GPU 0
Error setting up GPU Marker API.
Error starting up GPU Marker API.
terminate called after throwing an instance of 'std::runtime_error'
what(): cudaAssert: all CUDA-capable devices are busy or unavailable:
daxpy.cu:49--------------------------------------------------------------------------------
GPU Marker API result file does not exist. This may happen if the application has not called LIKWID_GPUMARKER_CLOSE.
Any clue about what is going wrong?
Thank you in advance for your help, let me know if you need additional info.
Cheers,
Giacomo