Apptainer/Singularity at LRZ (Test Operation)

What is Apptainer/Singularity

Container solution in user space. (Singularity, Apptainer)

Getting started ...

We drive that currently in test operation.

> module use /lrz/sys/share/modules/extfiles

> module av singularity
----------------------- /lrz/sys/share/modules/extfiles ---------------------------
singularity/3.8.3  singularity/4.0.1_sylabs

> module av apptainer
---------------------- /lrz/sys/share/modules/extfiles ----------------------------
apptainer/1.3.1  

SquashFS files cannot be mounted currently on our systems. Please use unsquashfs from the squashfs module:

> module use /lrz/sys/share/modules/extfiles
----------------------- /lrz/sys/share/modules/extfiles ---------------------------
squashfs/4.4

Currently, there does not exist any direct singularity-support in Slurm, generally!

Usage

That's a "hello world" equivalent. If you want to provide a more intelligent example, we would appreciate.

> singularity build --sandbox lolcow/ library://sylabs-jms/testing/lolcow
INFO:    Starting build...
INFO:    Downloading library image
87.9MiB / 87.9MiB [=======================================================================================================================] 100 % 3.6 MiB/s 0s
INFO:    Verifying bootstrap image /dss/dsshome1/☐☐/☐☐☐☐☐☐☐/.singularity/cache/library/sha256.5022b5e7c7249c40119a875c1ace0700ced4099e077acc75d0132190254563a4
WARNING: integrity: signature not found for object group 1
WARNING: Bootstrap image could not be verified, but build will continue.
INFO:    Creating sandbox directory...
INFO:    Build complete: lolcow/

> ls
lolcow

> singularity run lolcow/
 _________________________________________
/ You may be infinitely smaller than some \
| things, but you're infinitely larger    |
\ than others.                            /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Documentation

Sylabs Singularity docu

Apptainer docu