Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling perf_events.c #1

Open
alansill opened this issue Aug 10, 2018 · 3 comments
Open

Error compiling perf_events.c #1

alansill opened this issue Aug 10, 2018 · 3 comments

Comments

@alansill
Copy link

perf_events.c: In function ‘_papi_pe_dispatch_timer’:
perf_events.c:1712:35: error: dereferencing pointer to incomplete type
int found_evt_idx = -1, fd = info->si_fd;
^
make[1]: *** [libpapi.so.4] Error 1
make[1]: Leaving directory `/root/perf/papi-rapl/src'
make: *** [/root/perf/papi-rapl/src/libpfm4/lib/libpfm.a] Error 2

@tpatki
Copy link
Owner

tpatki commented Aug 10, 2018

Hello Alan,
This is a 6 year old version of PAPI that is not maintained anymore. Since then, the PAPI team itslef has added monitoring through RAPL MSRs and supports multiple intel microarchitectures. Can you let me know what you're looking for? If you're looking at capping power through RAPL (i.e. control, not monitoring), I can help you port things to a newer version of PAPI or point you to other tools (libmsr/msr-safe).

@alansill
Copy link
Author

Just looking for a simpel set of tools I can use to build a plugin to expose the package and memory power utilization on nodes in an HPC cluster. I've installed the papi-devel and papa-testsuite RPMs via yum on my CentOS 7.4 machine, so maybe you could just point me to the right place to look in the components installed by those packages, or other general usage information.

@alansill
Copy link
Author

Specifically, issung the "papa_componetn_avail" command after insalling these packages yields the following (in part):

Name: rapl Linux SandyBridge RAPL energy measurements
-> Disabled: CPU model not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants