You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling fails when PAPI 6.0+ is used with the following errors:
[ 255s] In file included from /home/abuild/rpmbuild/BUILD/blitz-1.0.2/src/globals.cpp:15:
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h: In constructor 'blitz::Timer::Timer()':
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h:132:10: error: 'PAPI_start_counters' was not declared in this scope
[ 255s] 132 | if(PAPI_start_counters((int*)Events, nevents)!=PAPI_OK) {
[ 255s] | ^~~~~~~~~~~~~~~~~~~
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h: In destructor 'blitz::Timer::~Timer()':
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h:139:7: error: 'PAPI_stop_counters' was not declared in this scope
[ 255s] 139 | PAPI_stop_counters(counters_.data(), nevents);
[ 255s] | ^~~~~~~~~~~~~~~~~~
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h: In member function 'void blitz::Timer::start()':
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h:146:9: error: 'PAPI_read_counters' was not declared in this scope; did you mean 'PAPI_read_ts'?
[ 255s] 146 | PAPI_read_counters(counters_.data(), nevents);
[ 255s] | ^~~~~~~~~~~~~~~~~~
[ 255s] | PAPI_read_ts
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h: In member function 'void blitz::Timer::stop()':
[ 255s] /home/abuild/rpmbuild/BUILD/blitz-1.0.2/blitz/timer.h:151:9: error: 'PAPI_read_counters' was not declared in this scope; did you mean 'PAPI_read_ts'?
[ 255s] 151 | PAPI_read_counters(counters_.data(), nevents);
[ 255s] | ^~~~~~~~~~~~~~~~~~
[ 255s] | PAPI_read_ts
The text was updated successfully, but these errors were encountered:
I am interested as a packager of blitz for openSUSE. It isn't possible in this case to compile with a lower version of papi since the distro (Tumbleweed) has already moved on to papi 6. We will have to drop the package from the distro instead.
Compiling fails when PAPI 6.0+ is used with the following errors:
The text was updated successfully, but these errors were encountered: