I’ve got accounts on many HPC clusters. The machines have a minimal install, and the admins won’t add much else. I need to install lots of typical software. Normally I’d do this with apt, but of course I don’t have root on these machines. Some alternatives:
- The admin recommended
spack
. Then they told me privately everyone hates spack and avoids it. It failed badly for me. - Download source, compile+install myself. This is annoying, it’s difficult to update, and not all packages are easy to move their install location.
- Nix. Appears to do (2) automatically. Some say it’s hard to install without root. Don’t know…
- OverlayFS? Is there a way to trick the system into believing I have root permissions everywhere?
- Rootless Docker. Ultimately the software I produce needs to run on a cluster. It can’t be in a container. And I’m using zillions of GPUs, which is trickier with docker.
This should be a common problem. Most companies won’t give root access to everyone. What’s the best way to install software without any root privileges?