-
Notifications
You must be signed in to change notification settings - Fork 94
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
run via slurm: permission denied #13
Comments
The enroot defaults rely on XDG. In this case, this is related to My guess is that this directory doesn't exist because on Linux, it is usually created by systemd-logind which requires PAM and a login shell. SLURM ( To fix it you can use Somewhat related since you're using SLURM, you might want to look at https://github.com/NVIDIA/pyxis |
@3XX0 Thanks for the pointers. I set |
I installed enroot version
enroot-hardened+caps_2.0.1-1
on bothfrontend
node and compute noden1
.I opened an interactive shell:
ADuser@frontend:~/salloc --nodelist=n1 --ntasks=1 -c 2 --gres=gpu:1 srun --pty bash -l
and then ran this command:
enroot list
And got this error:
mkdir: cannot create directory ‘/run/user/140196’: Permission denied
If I login with a local user to
n1
and runenroot list
it works. It also works if I run the same command onfrontend
node withADuser
:ADuser@frontend:~/ enroot list
.The text was updated successfully, but these errors were encountered: