Hi Steve,
I see that your cuda and nvml components are "disabled". Therefore, they shouldn't be listed as "active components" at all. That is still a pending issue we will look into.
The "-1" issue is fixed for components that are not disabled and active.
Before the fix, I was able to reproduce your reported error:
[jagode@b04 bin]$ ./papi_component_avail
....
Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
Name: cuda CUDA events and metrics via NVIDIA CuPTI interfaces
Name: nvml NVML provides the API for monitoring NVIDIA hardware (power usage, temperature, fan speed, etc)
Active components:
Name: perf_event Linux perf_event CPU counters
Native: 164, Preset: 56, Counters: 10
PMUs supported: ix86arch, perf, perf_raw, hsw_ep
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
Native: 850, Preset: 0, Counters: 112
PMUs supported: rapl, hswep_unc_cbo0, hswep_unc_cbo1, hswep_unc_cbo2, hswep_unc_cbo3
hswep_unc_cbo4, hswep_unc_cbo5, hswep_unc_cbo6, hswep_unc_cbo7, hswep_unc_cbo8
hswep_unc_cbo9, hswep_unc_ha0, hswep_unc_ha1, hswep_unc_imc0, hswep_unc_imc1
hswep_unc_imc4, hswep_unc_imc5, hswep_unc_pcu, hswep_unc_qpi0, hswep_unc_qpi1
hswep_unc_ubo, hswep_unc_r2pcie, hswep_unc_r3qpi0, hswep_unc_r3qpi1
hswep_unc_sbo0, hswep_unc_sbo1, hswep_unc_sbo2, hswep_unc_sbo3
Name: cuda CUDA events and metrics via NVIDIA CuPTI interfaces
Native: -1, Preset: 0, Counters: -1
Name: nvml NVML provides the API for monitoring NVIDIA hardware (power usage, temperature, fan speed, etc)
Native: -1, Preset: 0, Counters: -1
After the fix, I get the following:
[jagode@b04 bin]$ ./papi_component_avail
...
Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
Name: cuda CUDA events and metrics via NVIDIA CuPTI interfaces
Name: nvml NVML provides the API for monitoring NVIDIA hardware (power usage, temperature, fan speed, etc)
Active components:
Name: perf_event Linux perf_event CPU counters
Native: 164, Preset: 56, Counters: 10
PMUs supported: ix86arch, perf, perf_raw, hsw_ep
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
Native: 850, Preset: 0, Counters: 112
PMUs supported: rapl, hswep_unc_cbo0, hswep_unc_cbo1, hswep_unc_cbo2, hswep_unc_cbo3
hswep_unc_cbo4, hswep_unc_cbo5, hswep_unc_cbo6, hswep_unc_cbo7, hswep_unc_cbo8
hswep_unc_cbo9, hswep_unc_ha0, hswep_unc_ha1, hswep_unc_imc0, hswep_unc_imc1
hswep_unc_imc4, hswep_unc_imc5, hswep_unc_pcu, hswep_unc_qpi0, hswep_unc_qpi1
hswep_unc_ubo, hswep_unc_r2pcie, hswep_unc_r3qpi0, hswep_unc_r3qpi1
hswep_unc_sbo0, hswep_unc_sbo1, hswep_unc_sbo2, hswep_unc_sbo3
Name: cuda CUDA events and metrics via NVIDIA CuPTI interfaces
Native: 792, Preset: 0, Counters: 792
Name: nvml NVML provides the API for monitoring NVIDIA hardware (power usage, temperature, fan speed, etc)
Native: 72, Preset: 0, Counters: 72
Thanks,
Heike
--------------------------------------------------------------------------------