-
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
Updated Slurm + Pyxis, now entrypoint is /
instead of current location.
#119
Comments
So this is unrelated to container entrypoints. What was your previous pyxis version? I think the default behavior changed a while ago: it is now always using the workdir specified in the container. The conflict is that some containers set the But I realize I did not document this, sorry about that. I'll check if I there is something I can do to make this better, for now you can still use something like:
|
Hi flx42, |
I'm thinking that if the container workdir is just |
Sounds great, |
I did the work in https://github.com/NVIDIA/pyxis/tree/job-cwd, but I'm not sure yet if I'm going to merge it. $ cd ~
$ pwd
/home/fabecassis
$ srun --container-image ubuntu:22.04 --container-mount-home bash --norc -xc 'pwd ; ls -la .'
pyxis: importing docker image: ubuntu:22.04
pyxis: imported docker image: ubuntu:22.04
/home/fabecassis
+ pwd
+ ls -la .
total 20
drwxr-xr-x 2 root root 4096 Aug 3 19:03 .
drwxr-xr-x 3 root root 4096 Aug 17 19:15 ..
-rw-r--r-- 1 root root 220 Jan 6 2022 .bash_logout
-rw-r--r-- 1 root root 3771 Jan 6 2022 .bashrc
-rw-r--r-- 1 root root 807 Jan 6 2022 .profile I will discuss with my colleagues if we can have enroot avoid creating an empty HOME directory in this particular case. |
Hi community,
We recently (yesterday) updated
Slurm
to 23.02 andPyxis
to the latest git release 0.15, and we noted that now when running jobs with containers, the entrypoint is switched to/
. Like this:Before, running the same command would make us stay in
/home/cnavarro
, and in general whatever specific location insidehome
we where executing from., This feature was very comfortable for users (despite the warnings on doing this). Currentlyenroot
is mounting the user's home as intended, and this is our currentpyxis
configwe tried using both
execute_entrypoint=0
andexecute_entrypoint=1
but we have not yet recovered the wanted behavior.Any ideas on what are we missing?
many thanks
The text was updated successfully, but these errors were encountered: