Skip to main content

Singularity

About

Singularity enables users to have full control of their environment. Singularity containers can be used to package entire scientific workflows, software and libraries, and even data. This means that you don’t have to ask your cluster admin to install anything for you - you can put it in a Singularity container and run.

Usage on Opuntia

You should build your Singularity images on a system where you have root previlages. Singularity is directly available on the command line on Opuntia:

$ singularity

The current Singularity version installed in Opuntia is 2.4.

Example of using OpenFOAM docker container on Opuntia,

Get the docker image and convert it to singularity image,

$ singularity pull docker://openfoam/openfoam5-paraview54

To open an interactive shell inside the container,

$ singularity shell openfoam5-paraview54.img

Note: The project directory by default mounts to /mnt instead of /project

To directly execute a command inside your container environment,

$ singularity exec shub://singularityhub/ubuntu cat /etc/os-release

Further Information

Visit Singularity’s website and contact HPE DSI Support.