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

Check if RAPL energy counter files can be read. #382

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cniethammer
Copy link
Contributor

In many Linux environments the RAPL energy counters can only be read by root. Therefore, check if we can access them and exit in case of problems.

Fixes #381

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • Running described scenario with Argon Input example as regular user and via sudo/root

In many Linux environments the RAPL energy counters can only be read by
root. Therefore, check if we can access them and exit in case of problems.

Signed-off-by: Christoph Niethammer <[email protected]>
@cniethammer cniethammer requested a review from rubenhorn March 10, 2025 14:15
@cniethammer cniethammer added bug Something isn't working WindHPC related to the BMBF project WindHPC labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working WindHPC related to the BMBF project WindHPC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin EnergyRAPL: Wrong output
2 participants