Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Errors while using Intel PCM

Gargi_A_
Beginner
145 Views

We have built a library which uses IntelPCM for predicting power consumed by CUDA kernels. This library was functioning on Centos 6 with CUDA 7. We have upgraded the system and now have Centos 7 with CUDA 7.5. While using our power library which uses components of Intel PCM on this new configuration, we get the following errors while compiling the CUDA code. Kindly suggest solution. 

nvcc -c -w gaussian.cu -L/usr/local/UPPAPI -lUPPAPI -I/usr/local/UPPAPI/include -L/usr/lib64/nvidia -lnvidia-ml -L/usr/lib64 -lcuda -I/usr/include -I/usr/local/IntelPCM
/opt/apps/shared_local/include/msr.h(67): error: qualified name is not allowed

/opt/apps/shared_local/include/msr.h(67): error: expected a ";"

/opt/apps/shared_local/include/msr.h(76): error: "pHandle" is not a nonstatic data member or base class of class "SafeMsrHandle"

/opt/apps/shared_local/include/msr.h(81): error: identifier "pHandle" is undefined

/opt/apps/shared_local/include/msr.h(91): error: identifier "pHandle" is undefined

/opt/apps/shared_local/include/msr.h(98): error: identifier "pHandle" is undefined

/opt/apps/shared_local/include/width_extender.h(53): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(53): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(55): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(55): error: expected a ")"

/opt/apps/shared_local/include/width_extender.h(55): error: incomplete type is not allowed

/opt/apps/shared_local/include/width_extender.h(55): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(66): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(66): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(67): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(67): error: expected a ")"

/opt/apps/shared_local/include/width_extender.h(67): error: identifier "clientBW" is undefined

/opt/apps/shared_local/include/width_extender.h(67): error: function call is not allowed in a constant expression

/opt/apps/shared_local/include/width_extender.h(67): error: identifier "clientBW_" is undefined

/opt/apps/shared_local/include/width_extender.h(67): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(73): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(73): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(74): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(74): error: expected a ")"

/opt/apps/shared_local/include/width_extender.h(74): error: identifier "clientBW" is undefined

/opt/apps/shared_local/include/width_extender.h(74): error: function call is not allowed in a constant expression

/opt/apps/shared_local/include/width_extender.h(74): error: identifier "clientBW_" is undefined

/opt/apps/shared_local/include/width_extender.h(74): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(80): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(80): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(81): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(81): error: expected a ")"

/opt/apps/shared_local/include/width_extender.h(81): error: identifier "clientBW" is undefined

/opt/apps/shared_local/include/width_extender.h(81): error: function call is not allowed in a constant expression

/opt/apps/shared_local/include/width_extender.h(81): error: identifier "clientBW_" is undefined

/opt/apps/shared_local/include/width_extender.h(81): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(87): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(87): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(88): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(88): error: expected a ")"

/opt/apps/shared_local/include/width_extender.h(88): error: identifier "msr" is undefined

/opt/apps/shared_local/include/width_extender.h(88): error: function call is not allowed in a constant expression

/opt/apps/shared_local/include/width_extender.h(88): error: identifier "msr_" is undefined

/opt/apps/shared_local/include/width_extender.h(88): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(110): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(110): error: expected a ";"

/opt/apps/shared_local/include/width_extender.h(111): error: qualified name is not allowed

/opt/apps/shared_local/include/width_extender.h(111): error: expected a ")"

/opt/apps/shared_local/include/width_extender.h(111): error: identifier "msr" is undefined

/opt/apps/shared_local/include/width_extender.h(111): error: function call is not allowed in a constant expression

/opt/apps/shared_local/include/width_extender.h(111): error: identifier "msr_" is undefined

/opt/apps/shared_local/include/width_extender.h(111): error: expected a ";"

/opt/apps/shared_local/include/cpucounters.h(91): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(91): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(91): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(92): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(92): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(92): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(174): error: identifier "qpiLLHandles" is undefined

/opt/apps/shared_local/include/cpucounters.h(195): error: identifier "imcHandles" is undefined

/opt/apps/shared_local/include/cpucounters.h(264): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(264): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(264): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(265): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(265): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(265): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(268): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(268): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(268): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(269): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(269): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(269): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(271): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(271): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(271): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(272): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(272): error: expected a ">"

/opt/apps/shared_local/include/cpucounters.h(272): error: expected an identifier

/opt/apps/shared_local/include/cpucounters.h(274): error: qualified name is not allowed

/opt/apps/shared_local/include/cpucounters.h(274): error: expected a ";"

/opt/apps/shared_local/include/cpucounters.h(275): error: qualified name is not allowed

/opt/apps/shared_local/include/cpucounters.h(275): error: expected a ";"

/opt/apps/shared_local/include/cpucounters.h(276): error: qualified name is not allowed

/opt/apps/shared_local/include/cpucounters.h(276): error: expected a ";"

/opt/apps/shared_local/include/cpucounters.h(277): error: qualified name is not allowed

/opt/apps/shared_local/include/cpucounters.h(277): error: expected a ";"

/opt/apps/shared_local/include/cpucounters.h(469): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(469): error: expected a ")"

/opt/apps/shared_local/include/cpucounters.h(479): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(479): error: expected a ")"

/opt/apps/shared_local/include/cpucounters.h(782): error: identifier "server_pcicfg_uncore" is undefined

/opt/apps/shared_local/include/cpucounters.h(804): error: identifier "server_pcicfg_uncore" is undefined

/opt/apps/shared_local/include/cpucounters.h(826): error: identifier "server_pcicfg_uncore" is undefined

/opt/apps/shared_local/include/cpucounters.h(892): error: identifier "server_pcicfg_uncore" is undefined

/opt/apps/shared_local/include/cpucounters.h(1163): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(1163): error: expected a ")"

/opt/apps/shared_local/include/cpucounters.h(1164): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(1164): error: expected a ")"

/opt/apps/shared_local/include/cpucounters.h(1408): error: namespace "std" has no member "shared_ptr"

/opt/apps/shared_local/include/cpucounters.h(1408): error: expected a ")"

Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_00001f3b_00000000-7_gaussian.cpp1.ii".
Compilation terminated.
make: *** [gaussian.o] Error 4

 

0 Kudos
0 Replies
Reply