Skip to content

Singularity

Ammon Knaupp edited this page Feb 14, 2024 · 3 revisions

Containerization software used to run SMRT Link in an isolated, portable environment.

Installing Singularity

Linux only

Singularity is only supported on Linux. To get it on your Windows machine, first install Windows Subsystem for Linux.

Install

At the time of writing this, Singularity is not available Ubuntu's package manager. Instead:

Why Singularity?

The target machine for deploying the container is administered by BYU ORC, and BYU ORC only supports Singularity on their systems.

Which Singularity?

We used Singularity CE 4.1 from Sylabs. Maybe someday Apptainer will be a more attractive version.

Troubleshooting

cgroups error in WSL

Most features work out of the box in WSL, however anything requiring systemd will not work because WSL Ubuntu doesn't use systemd. This includes starting instances as root because, if you are root, Singularity will try to use systemd to manage resources available to the instance. You can prevent this by modifying singularity's config file (usually /etc/singularity/singularity.conf) so that "systemd cgroups = no".

Clone this wiki locally