-
Notifications
You must be signed in to change notification settings - Fork 3
incompatible with ARE _desktop_ environment #14
Comments
Hi David Thanks for the note. Yes, I do know that this doesn't work on the virtual desktop environment. The priority was Gadi command-line/PBS jobs and ARE jupyterlab, which covers the majority of the environment's use case. The failure you're seeing is because it is detecting that its in a container and assuming that the in-container paths exist. More graceful failure would be a good thing though. I'll put a pin in this for now and think about it some more, maybe I can tell your container to mount the squashfs somehow... Dale |
Hah... I can! If I add |
argh...Was planning to use xp65 with VDI... |
I can mount the squasfs just fine. It's just the extra-step that might be annoying for the users.. |
You could always sneak it into the module file. The logic could look like:
Conversion to tcl is left as an exercise to the reader (or ChatGPT) |
OK passing the option to the VDI settings works via PBS -v works. Now modifying the module file (common_v3) with something like:
does not work |
@rbeucher thats the answer ChatGPT gave me last night, unfortunately that's not how you set an environment variable in a module file.
Probably best to use an internal module variable for the path. There is probably one already set in the module. |
Haha. I thought I would give a go at ChatGPT that time.. my bad |
Yeah no luck. I set the SINGULARITY_IMAGEOVERLAY variable and get:
Lets see on Monday when you get back. No rush |
Hmmm... The catch here is that for the setting in the module to work, the module will need to be loaded before the VDI environment launches. Given that the VDI launch page remembers your settings, I think it'll be simple enough to instruct users to add |
OK. I thought we could avoid that but I reached the same conclusion. Thanks @dsroberts |
Hi Dale,
more a note than an actual issue - this approach won't work in the ARE VDI desktop environment, because that is itself implemented as a container, and nested containers are not a thing on Gadi.
It should however work fine in the ARE jupyterlab environment.
I don't think there's anything you can do to make it work, but you can probably make it fail more gracefully that it does currently by looking for existing SINGULARITY* environment variables.
There is a kind-of workaround - you can always ssh back to localhost on the node, and run there, since that allows you to escape from the container back into the 'normal' gadi environment (but still contained in the same job).
David Monro
Linux Systems Administrator
NCI Australia
The Australian National University
56 Mills Road
Acton, ACT, 2601
The text was updated successfully, but these errors were encountered: