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

using enroot instead of lmod #829

Open
commonism opened this issue Mar 27, 2024 · 4 comments
Open

using enroot instead of lmod #829

commonism opened this issue Mar 27, 2024 · 4 comments

Comments

@commonism
Copy link

Hi,

enroot is a container environment by nvidia to use with slurm to allow using rootless containers.

https://slurm.schedmd.com/SLUG19/NVIDIA_Containers.pdf
https://github.com/NVIDIA/enroot
https://github.com/NVIDIA/pyxis

As having the runtime environment of a job in a container allows running the job on different sites with the same environment, enroot basically superseedes lmod.

Any plans to allow using enroot instead of lmod in ood?

@johrstrom
Copy link
Contributor

I'd never heard of enroot, but this sounds like maybe like an extension to vnc_container like vnc_enroot?

@treydock
Copy link
Contributor

How does a container runtime replace a modules environment tool? They serve different purposes. It may be true that if you use enroot you may not need to load modules with Lmod but that's not necessarily always going to be the case.

Also OnDemand does not directly require Lmod. There is a way for a cluster to define a script wrapper that could be used to load modules but it's by no means required. The existing vnc_container logic already allows changing the container command so you could set container_command: enroot and also override the flags used to start.

How exactly do you wish to use enroot with OnDemand? It's most likely that what you want to do is already supported just requires some configurations to use enroot. As mentioned, using enroot to launch VNC via a container image is already supported just requires extra configurations.

@commonism
Copy link
Author

I'm just looking into using ood and failed to spot the foundation for containers was set already.
Thanks for pointing me towards this.
I'll share my experience.

@treydock
Copy link
Contributor

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

3 participants