-
Notifications
You must be signed in to change notification settings - Fork 31
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
PermissionError #55
Comments
I get the same error message.... |
@dimitarsh1 Were you able to solve the problem? I have the same error. |
Hi @vgaraujov I didn't solve the problem. It seems that these files are not readable. Cheers, |
Hi all, apologies for the delay in following up on this. Currently, we assume that you have permissions to access CPU power readings. We were hesitant about adding automating fallbacks to GPU-only metrics since it might mislead into thinking something is more energy efficient than it is. If there is no way to get permissions for powercap and this is a common problem, we will work on adding an option to omit CPU readings like dimitarsh1 suggests and add warnings the outputs accordingly. If anyone has already done this and wants to submit a pull request, please feel free to do so. |
Thanks for your answer @dimitarsh1 . It would really help me if you share the code you used with me. I'm also only interested in GPU measurements. Do you have a repository or can you email me at [email protected]? Best, |
If you have access to a sudo user, you can do chmod +r to all energy_uj files in powercap |
Hi all,
I am trying to run some experiments but am getting the following error:
PermissionError: [Errno 13] Permission denied: '/sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj'
I am using a remote server that I cannot change the permissions of the /sys/class/powercap/ and the energy_uj is readable only by root.
Any ideas?
The text was updated successfully, but these errors were encountered: